summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/x86-64-localpic.d
blob: bafaa9c19aa568360da249ef4ec9f8e8c1f5b118 (plain)
1
2
3
4
5
6
7
8
9
10
#as: -mrelax-relocations=yes
#readelf: -rsW
#name: x86-64 local PIC

Relocation section '.rela.text' at offset 0x[0-9a-f]+ contains 1 entries:
 +Offset +Info +Type +Symbol's 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