4 #ld
: -shared -EL
-z nocombreloc
8 # Make sure relocations against global
and local symbols
with relative
and
9 # absolute
32-bit relocs don
't come out wrong after ld -r. Remember that
10 # SH uses partial_inplace (sort-of REL within RELA) with related confusion
11 # about how, when, where and which addends to use. A DSO must have the
12 # same value in the addend as in the data, so either can be used.
14 Relocation section '\
.rela\
.text
' at offset 0x[0-9a-f]+ contains 1 entries:
16 000001b0 000000a5 R_SH_RELATIVE +000001b4
18 Hex dump of section '\
.rela\
.text
':
19 0x0000019c 000001b4 000000a5 000001b0 .*
21 Hex dump of section '\
.text
':
22 0x000001a8 000001b4 00090009 00090009 .*