Add ld-x86-64/pic1 test
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / protected3.s
CommitLineData
41bed6dd
L
1 .protected foo
2.globl foo
3 .data
4 .align 4
5 .type foo, @object
6 .size foo, 4
7foo:
8 .long 1
9 .text
10.globl bar
11 .type bar, @function
12bar:
f7483970
L
13 movq foo@GOTPCREL(%rip), %rax
14 movl (%rax), %eax
41bed6dd
L
15 ret
16 .size bar, .-bar
This page took 0.384045 seconds and 4 git commands to generate.