[AIX][XCOFF][NFC] Change the SectionLen field name of CSect Auxiliary entry to Sectio...
authorJason Liu <jasonliu.development@gmail.com>
Wed, 9 Oct 2019 16:19:39 +0000 (16:19 +0000)
committerJason Liu <jasonliu.development@gmail.com>
Wed, 9 Oct 2019 16:19:39 +0000 (16:19 +0000)
commit6453f700f29a93ceb17ac43d6e8b802f9898fa6a
treebd81f29148377ef97aee9d34c06581890e51da19
parente7affcdbd2ee57a7e132f23a46b4ba8fe7808ead
[AIX][XCOFF][NFC] Change the SectionLen field name of CSect Auxiliary entry to SectionOrLength.

Summary:
According the the XCOFF document,
If
Then
XTY_SD
x_scnlen contains the csect length.
XTY_LD
x_scnlen contains the symbol table index of the containing csect.
XTY_CM
x_scnlen contains the csect length.
XTY_ER
x_scnlen contains 0.

Change the SectionLen member name to SectionOrLength is more reasonable.

Authored By: DiggerLin

Reviewed By: hubert.reinterpretcast

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

llvm-svn: 374179
llvm/D68650.diff [new file with mode: 0644]
llvm/include/llvm/Object/XCOFFObjectFile.h
llvm/tools/llvm-readobj/XCOFFDumper.cpp