diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-10 20:46:34 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-10 20:46:34 +0000 |
commit | 6f2c9068edbe878242f511eb13f03f1a6945f96c (patch) | |
tree | 869d00e1dab70bb53720caacba9a8d1b69b3bb70 /ld | |
parent | 95554aad6c78f459750b8edda9e1832063083132 (diff) | |
download | binutils-gdb-6f2c9068edbe878242f511eb13f03f1a6945f96c.tar.gz |
Display signed hex number in x32 addend overflow check
bfd/
* elf64-x86-64.c (elf_x86_64_relocate_section): Display signed
hex number in x32 addend overflow check.
gas/
* config/tc-i386.c (tc_gen_reloc): Display signed hex number in
x32 addend overflow check.
ld/testsuite/
* ld-x86-64/ilp32-11.d: Updated.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/ilp32-11.d | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 1cd1b4ebbe4..09cb6b92a36 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2012-05-10 H.J. Lu <hongjiu.lu@intel.com> + * ld-x86-64/ilp32-11.d: Updated. + +2012-05-10 H.J. Lu <hongjiu.lu@intel.com> + * ld-x86-64/pr13082-1a.d: Check RELACOUNT. * ld-x86-64/pr13082-1b.d: Likewise. diff --git a/ld/testsuite/ld-x86-64/ilp32-11.d b/ld/testsuite/ld-x86-64/ilp32-11.d index 7240c5805e4..56bb8b3bcfe 100644 --- a/ld/testsuite/ld-x86-64/ilp32-11.d +++ b/ld/testsuite/ld-x86-64/ilp32-11.d @@ -1,3 +1,3 @@ #as: --x32 #ld: -shared -melf32_x86_64 -#error: .*addend 2147483647 in relocation R_X86_64_64 against symbol `.text' at 0x0 in section `.data.rel.local' is out of range +#error: .*addend 0x7fffffff in relocation R_X86_64_64 against symbol `.text' at 0x0 in section `.data.rel.local' is out of range |