This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, The problem here is that if we have a negative value due to the difference of a symbol and a constant value. This is produced by variable tracking inside gcc; producing: .4byte .LANCHOR0-380 in the debugging info. This patch fixes the problem by changing the complain on overflow for ILP32 for the 32bit reloc to be signed based rather than unsigned. OK? Build and tested on aarch64-elf and aarch64-linux-gnu with no regressions. Thanks, Andrew Pinski bfd/ChangeLog: * elfnn-aarch64.c (elfNN_aarch64_howto_table): Change AARCH64_R (ABS32)'s complain_on_overflow for ILP32 to be complain_overflow_signed.
Attachment:
fix_32reloc_ilp32.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |