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

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