Add a more helpful warning message to explain why some AArch64 relocations can overflow.
authorNick Clifton <nickc@redhat.com>
Tue, 9 Feb 2016 09:56:21 +0000 (09:56 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 9 Feb 2016 10:47:54 +0000 (10:47 +0000)
commit027e9c750c20fe8031a2b6d6272cd57bbf445df5
tree4239dc30b45ff76536a55578194b080124302ec1
parentc23bbc1cdae6149de4175a75aa9bf9bcbc936fa4
Add a more helpful warning message to explain why some AArch64 relocations can overflow.

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

ld * 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.
bfd/ChangeLog
bfd/elfnn-aarch64.c
ld/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/reloc-overflow-1.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/reloc-overflow-2.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/reloc-overflow-bad.d [new file with mode: 0644]
This page took 0.043194 seconds and 4 git commands to generate.