]> granicus.if.org Git - llvm/commit
[AIX][XCOFF] Output XCOFF object text section header and symbol entry for program...
authorDigger Lin <digger.llvm@gmail.com>
Tue, 15 Oct 2019 17:09:54 +0000 (17:09 +0000)
committerDigger Lin <digger.llvm@gmail.com>
Tue, 15 Oct 2019 17:09:54 +0000 (17:09 +0000)
commit8227f4717622a295a402d71775117fb61c60c0c2
treea0e0e33e4b22432450d983b17245e80a4079e6d6
parente7c9c5bebdaa6dbf81ea02ca9ebac6763641d1cb
[AIX][XCOFF] Output XCOFF object text section header and symbol entry for program code.

SUMMARY
Original form of this patch is provided by Stefan Pintillie.

The patch try to output program code section header , symbol entry for program code (PR) and Instruction into the raw text section.
The patch include how to alignment and layout the CSection in the text section.
The patch also reorganize the code , put some codes into a function(XCOFFObjectWriter::writeSymbolTableEntryForControlSection)
Additional: We can not add raw data of text section test in the patch, If want to output raw text section data,it need a function description patch first.

Reviewers: hubert.reinterpretcast, sfertile, jasonliu, xingxue.
Subscribers: wuzish, nemanjai, hiraditya, MaskRay, jsjji.

Differential Revision: https://reviews.llvm.org/D66969

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374914 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/PowerPC/aix-return55.ll [new file with mode: 0644]