mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
15dd0fe8d4
* 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.
23 lines
775 B
Makefile
23 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:
|
|
.*
|
|
000001f8 000000a5 R_SH_RELATIVE +000001fc
|
|
|
|
Hex dump of section '\.rela\.text':
|
|
0x000001e4 000001fc 000000a5 000001f8 .*
|
|
|
|
Hex dump of section '\.text':
|
|
0x000001f0 000001fc 00090009 00090009 .*
|