mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 03:03:31 +08:00
8a9e7a9121
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.
10 lines
225 B
Makefile
10 lines
225 B
Makefile
#source: eh-frame-hdr.s
|
|
#ld: -e _start --eh-frame-hdr
|
|
#objdump: -hw
|
|
#target: cfi
|
|
#xfail: avr*-*-* or1k*-*-elf or1k*-*-rtems* visium-*-*
|
|
# avr doesn't support shared libraries.
|
|
#...
|
|
[0-9] .eh_frame_hdr 0*[12][048c] .*
|
|
#pass
|