diff options
author | esmeyi <esme.yi@ibm.com> | 2023-06-15 01:28:45 -0400 |
---|---|---|
committer | esmeyi <esme.yi@ibm.com> | 2023-06-15 01:28:45 -0400 |
commit | 028a261350baf734db20a65b413ee07d7d4f7b1b (patch) | |
tree | 088d8b672fe4db756e5863d76fbd82b105ba6710 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 03d92501f385bac5d0b25742b9f368a90e103621 (diff) | |
download | llvm-028a261350baf734db20a65b413ee07d7d4f7b1b.zip llvm-028a261350baf734db20a65b413ee07d7d4f7b1b.tar.gz llvm-028a261350baf734db20a65b413ee07d7d4f7b1b.tar.bz2 |
[XCOFF] FixupOffsetInCsect should be 0 for R_REF relocation.
Summary: The FixupOffsetInCsect should be 0 for R_REF relocation since it specifies a nonrelocating reference. Otherwise liker would try to relocate the symbol through its address and an error like following occurred.
```
ld: 0711-547 SEVERE ERROR: Object /tmp/1-2a7ea1.o cannot be processed.
RLD address 0x65 for section 2 (.data) is
not contained in the section.
```
Reviewed By: shchenz
Differential Revision: https://reviews.llvm.org/D152777
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions