6 #target
: sh
*-*-elf sh
*-*-linux
*
7 #notarget
: sh64
*-*-linux
*
9 # Make sure relocations against global
and local symbols
with relative
and
10 # absolute
32-bit relocs don
't come out wrong after ld -r. Remember that
11 # SH uses partial_inplace (sort-of REL within RELA) with its confusion
12 # where and which addends to use and how. A file linked -r must have the
13 # same layout as a plain assembly file: the addend is in the data only.
15 Relocation section '\
.rela\
.text
' at offset 0x[0-9a-f]+ contains 1 entries:
17 00000008 00000101 R_SH_DIR32 +00000000 +\.text +\+ 0
19 Hex dump of section '\
.text
':
20 0x00000000 0000000c 00090009 00090009 .*
22 Hex dump of section '\
.rela\
.text
':
23 0x00000000 00000000 00000101 00000008 .*