1 #as: -mx86-used-note=no --generate-missing-build-notes=no
2 #name: x86-64 size 1
3 #source: size-1.s
4 #readelf: -r
5 
6 
7 Relocation section '.rela.text' at offset .* contains 9 entries:
8   Offset          Info           Type           Sym. Value    Sym. Name \+ Addend
9 0+1  000100000020 R_X86_64_SIZE32   0000000000000000 xxx \+ 0
10 0+6  000100000020 R_X86_64_SIZE32   0000000000000000 xxx - 8
11 0+b  000100000020 R_X86_64_SIZE32   0000000000000000 xxx \+ 8
12 0+10  000200000020 R_X86_64_SIZE32   0000000000000000 yyy \+ 0
13 0+15  000200000020 R_X86_64_SIZE32   0000000000000000 yyy - 10
14 0+1a  000200000020 R_X86_64_SIZE32   0000000000000000 yyy \+ 10
15 0+1f  000300000020 R_X86_64_SIZE32   0000000000000020 zzz \+ 0
16 0+24  000300000020 R_X86_64_SIZE32   0000000000000020 zzz - 20
17 0+29  000300000020 R_X86_64_SIZE32   0000000000000020 zzz \+ 20
18 
19 Relocation section '.rela.data' at offset .* contains 3 entries:
20   Offset          Info           Type           Sym. Value    Sym. Name \+ Addend
21 0+50  000100000020 R_X86_64_SIZE32   0000000000000000 xxx - 1
22 0+54  000200000020 R_X86_64_SIZE32   0000000000000000 yyy \+ 2
23 0+58  000300000020 R_X86_64_SIZE32   0000000000000020 zzz \+ 0
24 #pass
25