[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
parent
03d92501
Please register or sign in to comment