* ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-sh / shared-1.d
1 #source: ldr1.s
2 #source: ldr2.s
3 #as: -little
4 #ld: -shared -EL
5 #readelf: -r -x4 -x5
6 #target: sh*-*-elf
7
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.
13
14 Relocation section '\.rela\.text' at offset 0x328 contains 1 entries:
15 Offset Info Type Symbol's Value Symbol's Name Addend
16 0000033c 000000a5 R_SH_RELATIVE 00000340
17
18 Hex dump of section '\.rela\.text':
19 0x00000328 00000340 000000a5 0000033c .*
20
21 Hex dump of section '\.text':
22 0x00000334 00000340 00090009 00090009 .*
This page took 0.029981 seconds and 4 git commands to generate.