RFC: Should AArch64 *_NC relocs complain on overflow ?

Nick Clifton nickc@redhat.com
Tue Feb 9 09:58:00 GMT 2016


Hi Jiong,

> I'd suggest add "LD_PREL_LO19" to the check list, then we will give this
> particular unalignment warning for all normal data access load/sotre
> relocation types which are particularly useful to external users.

OK - this is the patch that I have now checked in.

Cheers
  Nick

bfd/ChangeLog
2016-02-09  Nick Clifton  <nickc@redhat.com>

	* elfnn-aarch64.c (elfNN_aarch64_relocate_section): Add a more
	helpful warning message to explain why certain AArch64 relocs
	might overflow.

ld/ChangeLog
2016-02-09  Nick Clifton  <nickc@redhat.com>

	* testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
	* testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
	* testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
	* testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-reloc-overflow.patch
Type: text/x-patch
Size: 4322 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160209/a9d6c52d/attachment.bin>


More information about the Binutils mailing list