f6a8ae8136
* ld-elf/frame.exp: Don't run on sh*-*-elf*. * ld-sh/shared-1.d: Adjust for section reordering changes. * ld-sh/shared-2.d: Likewise. * ld-sh/tlsbin-2.d: Likewise. * ld-sh/tlspic-2.d: Likewise. * ld-sh/sh64/abi32.xd: Likewise. * ld-sh/sh64/abi64.xd: Likewise. * ld-sh/sh64/cmpct1.xd: Likewise. * ld-sh/sh64/crange1.rd: Likewise. * ld-sh/sh64/crange2.rd: Likewise. * ld-sh/sh64/crange3-cmpct.rd: Likewise. * ld-sh/sh64/crange3-media.rd: Likewise. * ld-sh/sh64/crange3.rd: Likewise. * ld-sh/sh64/gotplt.d: Likewise. * ld-sh/sh64/init-cmpct.d: Likewise. * ld-sh/sh64/init-media.d: Likewise. * ld-sh/sh64/init64.d: Likewise. * ld-sh/sh64/mix1.xd: Likewise. * ld-sh/sh64/mix2.xd: Likewise. * ld-sh/sh64/shdl32.xd: Likewise. * ld-sh/sh64/shdl64.xd: Likewise.
22 lines
775 B
Makefile
22 lines
775 B
Makefile
#source: ldr1.s
|
|
#source: ldr2.s
|
|
#as: -little
|
|
#ld: -shared -EL -z nocombreloc
|
|
#readelf: -r -x4 -x5
|
|
#target: sh*-*-elf
|
|
|
|
# Make sure relocations against global and local symbols with relative and
|
|
# absolute 32-bit relocs don't come out wrong after ld -r. Remember that
|
|
# SH uses partial_inplace (sort-of REL within RELA) with related confusion
|
|
# about how, when, where and which addends to use. A DSO must have the
|
|
# same value in the addend as in the data, so either can be used.
|
|
|
|
Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 1 entries:
|
|
.*
|
|
00000220 000000a5 R_SH_RELATIVE +00000224
|
|
|
|
Hex dump of section '\.rela\.text':
|
|
0x0000020c 00000224 000000a5 00000220 .*
|
|
|
|
Hex dump of section '\.text':
|
|
0x00000218 00000224 00090009 00090009 .*
|