Only effects code where the ABI is "ilp32"
Patch by Joel Jones
Differential D29192
[AArch64] Fix incorrect relocation encodings for ILP32 joelkevinjones on Jan 26 2017, 11:11 AM. Authored by
Details
Diff Detail
Event TimelineComment Actions I've checked that the relocation name is correct. I'm a bit suspicious of allowing the fixup_aarch64_ldst_imm12_scale8 in LP32, with a 32-bit sized GOT I think that this is likely to be a programming mistake that we should probably error on. I'm not hugely familiar with lp32 programming so there may be a case for it that I'm missing?
Comment Actions I haven't abandoned this patch. In working on this one, I've found several issues that I am going to deal with first. Comment Actions This revision is included in an omnibus ILP32 relocation change: https://reviews.llvm.org/D32072 |
I think it is more a bad fixup rather than Bad LP64 relocation. The other error messages are of the form "invalid fixup for ..."
Possible suggestion "invalid fixup for got relative load/store instruction on LP64".
I don't have a particularly strong opinion here though.