diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-01-10 20:18:18 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-01-10 20:18:18 +0000 |
commit | df4f944355eead7d98a0183c8d696977c5dadc17 (patch) | |
tree | 1cbd5af5e81b0bf22bfe66047bd440e8a5a33d09 /bfd/elf64-x86-64.c | |
parent | 9934703b912c81702a1a74dd0337d5e3fd291a0f (diff) | |
download | gdb-df4f944355eead7d98a0183c8d696977c5dadc17.zip gdb-df4f944355eead7d98a0183c8d696977c5dadc17.tar.gz gdb-df4f944355eead7d98a0183c8d696977c5dadc17.tar.bz2 |
Remove ABI_64_P check on R_X86_64_PCXX
bfd/
2012-01-10 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13581
* elf64-x86-64.c (elf_x86_64_relocate_section): Remove ABI_64_P
check on R_X86_64_PCXX.
ld/testsuite/
2012-01-10 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13581
* ld-x86-64/ilp32-4.s: New.
* ld-x86-64/ilp32-10.d: Likewise.
* ld-x86-64/ilp32-10.s: Likewise.
* ld-x86-64/ilp32-4.d: Adjusted.
* ld-x86-64/ilp32-5.d: Likewise.
* ld-x86-64/ilp32-5.s: Likewise.
* ld-x86-64/x86-64.exp: Run ilp32-10.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r-- | bfd/elf64-x86-64.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 25c14a8..814736e 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -3472,7 +3472,6 @@ elf_x86_64_relocate_section (bfd *output_bfd, case R_X86_64_PC16: case R_X86_64_PC32: if (info->shared - && ABI_64_P (output_bfd) && (input_section->flags & SEC_ALLOC) != 0 && (input_section->flags & SEC_READONLY) != 0 && h != NULL) |