This is an archive of the discontinued LLVM Phabricator instance.

[AIX][LTO] Properly respect LDR_CNTRL and set MAXDATA32 to 0xA0000000@DSA

Authored by w2yehia on Nov 29 2022, 12:48 PM.



0xA0000000@DSA is the safest maximum we can set MAXDATA32 to before calling the system assembler.
Also fix the logic for appending any user defined value of the LDR_CNTRL variable (in the current logic the shell variable expansion does not occur, so the value of LDR_CNTRL ends up being MAXDATA32=0x80000000@${LDR_CNTRL})

Diff Detail

Event Timeline

w2yehia created this revision.Nov 29 2022, 12:48 PM
w2yehia requested review of this revision.Nov 29 2022, 12:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 29 2022, 12:48 PM
rzurob accepted this revision.Nov 29 2022, 1:03 PM


This revision is now accepted and ready to land.Nov 29 2022, 1:03 PM
This revision was landed with ongoing or failed builds.Nov 29 2022, 2:16 PM
This revision was automatically updated to reflect the committed changes.