[PATCH] D144872: [AIX] Align the content of an xcoff object file which has auxiliary header in big archive.

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 06:51:57 PST 2023


DiggerLin created this revision.
DiggerLin added reviewers: jhenderson, stephenpeckham, hubert.reinterpretcast, daltenty, MaskRay.
Herald added a subscriber: hiraditya.
Herald added a project: All.
DiggerLin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

if the member file is XCOFF object file and  has auxiliary header, the content of the member file need to be aligned at the
 MAX(maximum alignment of .text , maximum alignment of .data).  The "maximum alignment of .text" and "maximum alignment of .data" are two
field of auxiliary header of XCOFF object file.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144872

Files:
  llvm/lib/Object/ArchiveWriter.cpp
  llvm/test/tools/llvm-ar/big-archive-xcoff-auxi-head-align.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144872.500774.patch
Type: text/x-patch
Size: 10027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230227/d8fbeaf9/attachment.bin>


More information about the llvm-commits mailing list