Commit | Line | Data |
---|---|---|
7739e068 HPN |
1 | #source: ldr1.s |
2 | #source: ldr2.s | |
3 | #as: -little | |
f19ae42f | 4 | #ld: -shared -EL -z nocombreloc |
7739e068 | 5 | #readelf: -r -x4 -x5 |
d45d3ffb | 6 | #target: sh*-*-elf |
7739e068 HPN |
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 | ||
acbd2de6 HPN |
14 | Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 1 entries: |
15 | .* | |
9920b1ee | 16 | 0000019c +[0-9a-f]+ R_SH_RELATIVE +1a0 |
7739e068 HPN |
17 | |
18 | Hex dump of section '\.rela\.text': | |
683b7041 | 19 | 0x00000188 9c010000 a5000000 a0010000 .* |
7739e068 HPN |
20 | |
21 | Hex dump of section '\.text': | |
683b7041 KK |
22 | .* |
23 | 0x00000194 09000900 09000900 a0010000 .* |