aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/local-addend-r.d
blob: c8c27771715bf71eff94ace10e535a150f7b355c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#source: emit-relocs-local-addend-foo.s
#source: emit-relocs-local-addend-bar.s
#ld: -e0 -r
#readelf: -r

Relocation section '\.rela\.text' at offset 0x338 contains 4 entries:
  Offset          Info           Type           Sym\. Value    Sym\. Name \+ Addend
000000000000  000200000113 R_AARCH64_ADR_PRE 0000000000000000 \.rodata \+ 0
000000000004  000200000115 R_AARCH64_ADD_ABS 0000000000000000 \.rodata \+ 0
00000000000c  000200000113 R_AARCH64_ADR_PRE 0000000000000000 \.rodata \+ 10
000000000010  000200000115 R_AARCH64_ADD_ABS 0000000000000000 \.rodata \+ 10

Relocation section '\.rela\.rodata' at offset 0x398 contains 2 entries:
  Offset          Info           Type           Sym\. Value    Sym. Name \+ Addend
000000000008  000200000101 R_AARCH64_ABS64   0000000000000000 \.rodata \+ 0
000000000018  000200000101 R_AARCH64_ABS64   0000000000000000 \.rodata \+ 10