[all-commits] [llvm/llvm-project] 4cc7c7: [AIX] Align the content of an xcoff object file wh...
diggerlin via All-commits
all-commits at lists.llvm.org
Wed Sep 6 08:35:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4cc7c749c31e59459b585f8c69f7fa6a9ccb3440
https://github.com/llvm/llvm-project/commit/4cc7c749c31e59459b585f8c69f7fa6a9ccb3440
Author: zhijian <zhijian at ca.ibm.com>
Date: 2023-09-06 (Wed, 06 Sep 2023)
Changed paths:
M llvm/lib/Object/ArchiveWriter.cpp
M llvm/test/Object/archive-malformed-object.test
A llvm/test/tools/llvm-ar/big-archive-xcoff-align.test
Log Message:
-----------
[AIX] Align the content of an xcoff object file which has auxiliary header in big archive.
Summary:
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.
Reviewers: James Henderson, Stephen Peckham
Differential Revision: https://reviews.llvm.org/D144872
More information about the All-commits
mailing list