Commit | Line | Data |
---|---|---|
2e0488d3 JW |
1 | #source: emit-relocs-local-addend-foo.s |
2 | #source: emit-relocs-local-addend-bar.s | |
d6f18fe6 | 3 | #ld: -T relocs.ld -e0 --emit-relocs |
2e0488d3 JW |
4 | #readelf: -r |
5 | ||
6 | Relocation section '\.rela\.text' at offset 0x102f8 contains 4 entries: | |
7 | Offset Info Type Sym\. Value Sym\. Name \+ Addend | |
d6f18fe6 JW |
8 | 000000010000 000200000113 R_AARCH64_ADR_PRE 0000000000010018 \.rodata \+ 0 |
9 | 000000010004 000200000115 R_AARCH64_ADD_ABS 0000000000010018 \.rodata \+ 0 | |
10 | 00000001000c 000200000113 R_AARCH64_ADR_PRE 0000000000010018 \.rodata \+ 10 | |
11 | 000000010010 000200000115 R_AARCH64_ADD_ABS 0000000000010018 \.rodata \+ 10 | |
2e0488d3 JW |
12 | |
13 | Relocation section '\.rela\.rodata' at offset 0x10358 contains 2 entries: | |
14 | Offset Info Type Sym\. Value Sym. Name \+ Addend | |
d6f18fe6 JW |
15 | 000000010020 000200000101 R_AARCH64_ABS64 0000000000010018 \.rodata \+ 0 |
16 | 000000010030 000200000101 R_AARCH64_ABS64 0000000000010018 \.rodata \+ 10 |