summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/ilp32/x86-64-localpic.d
blob: 0ca69c7ba40e88c1c793eb57b1ed897ddc880fa4 (plain)
1
2
3
4
5
6
7
8
9
10
#source: ../x86-64-localpic.s
#readelf: -rsW
#name: x86-64 (ILP32) local PIC

Relocation section '.rela.text' at offset 0x[0-9a-f]+ contains 1 entries:
 +Offset +Info +Type +Sym. Value +Symbol's Name \+ Addend
[0-9a-f]+ +[0-9a-f]+ R_X86_64_REX_GOTPCRELX +[0-9a-f]+ +foo - 4
#...
 +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +LOCAL +DEFAULT +[0-9]+ +foo
#pass