x86: Force relocation against local absolute symbol
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-localpic.d
1 #as: -mrelax-relocations=yes
2 #readelf: -rsW
3 #name: x86-64 local PIC
4
5 Relocation section '.rela.text' at offset 0x[0-9a-f]+ contains 2 entries:
6 +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
7 [0-9a-f]+ +[0-9a-f]+ R_X86_64_REX_GOTPCRELX +[0-9a-f]+ +foo - 4
8 [0-9a-f]+ +[0-9a-f]+ R_X86_64_REX_GOTPCRELX +[0-9a-f]+ +bar - 4
9 #...
10 +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +LOCAL +DEFAULT +[0-9]+ +foo
11 +[0-9]+: +0+fffffff0 +[0-9a-f]+ +NOTYPE +LOCAL +DEFAULT +ABS +bar
12 #pass
This page took 0.03053 seconds and 4 git commands to generate.