diff options
author | Peter Zotov <whitequark@whitequark.org> | 2015-09-25 15:21:14 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-09-25 15:21:14 +0100 |
commit | 8a9e7a9121490a8c64d8c17f5be510e43104f6d9 (patch) | |
tree | 43e5f465538c635dfee83fddab4f3a9e5adeb42d /ld/testsuite/ld-elf/eh-frame-hdr.d | |
parent | 6cd8405efd699ed7686671d6f0d9caf20757b7a3 (diff) | |
download | gdb-8a9e7a9121490a8c64d8c17f5be510e43104f6d9.zip gdb-8a9e7a9121490a8c64d8c17f5be510e43104f6d9.tar.gz gdb-8a9e7a9121490a8c64d8c17f5be510e43104f6d9.tar.bz2 |
Correct the generation of OR1K pc-relative relocations.
gas PR ld/18759
* config/tc-or1k.c (tc_gen_reloc): Correct computation of PC
relative relocs.
* config/tc-or1k.h (GAS_CGEN_PRCEL_R_TYPE): Delete.
bfd * elf32-or1k.c (R_OR1K_32_PCREL): Set pcrel_offset to TRUE.
(R_OR1K_16_PCREL): Likewise.
(R_OR1K_8_PCREL): Likewise.
ld/tests * ld-elf/eh-frame-hdr: Expect to pass on the or1k-linux target.
Diffstat (limited to 'ld/testsuite/ld-elf/eh-frame-hdr.d')
-rw-r--r-- | ld/testsuite/ld-elf/eh-frame-hdr.d | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/eh-frame-hdr.d b/ld/testsuite/ld-elf/eh-frame-hdr.d index 4214ed5..e981dff 100644 --- a/ld/testsuite/ld-elf/eh-frame-hdr.d +++ b/ld/testsuite/ld-elf/eh-frame-hdr.d @@ -2,7 +2,7 @@ #ld: -e _start --eh-frame-hdr #objdump: -hw #target: cfi -#xfail: avr*-*-* or1k-*-* visium-*-* +#xfail: avr*-*-* or1k*-*-elf or1k*-*-rtems* visium-*-* # avr doesn't support shared libraries. #... [0-9] .eh_frame_hdr 0*[12][048c] .* |