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

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