Generate build attributes:
- Tag_ABI_PCS_RW_data
- Tag_ABI_PCS_RO_data
- Tag_ABI_PCS_GOT_use
Based on the selected relocation model.
Paths
| Differential D3918
[ARM] Emit correct build attributes for the different relocation models ClosedPublic Authored by rmaprath on May 27 2014, 1:58 AM.
Details
Summary Generate build attributes:
Based on the selected relocation model.
Diff Detail Event TimelineComment Actions Hi Asiri, The code looks correct to me, from what I understand of the ABI. I've just got one issue with the comments Cheers. Tim.
This revision is now accepted and ready to land.May 27 2014, 6:41 AM
Revision Contents
Diff 9825 include/llvm/Support/ARMBuildAttributes.hlib/Target/ARM/ARMAsmPrinter.cpp
test/CodeGen/ARM/build-attributes.ll
|
I think the comments are misleading: the point is that compatible objects *must* use PCRel or SBRel addressing, not that they can if they want to.
I was confused until I looked at the actual ABI addendum.