* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-x86-64 / protected3.s
blobe4af6e7fb342e77aec9266aa5e10ae8de9663001
1 .protected foo
2 .globl foo
3 .data
4 .align 4
5 .type foo, @object
6 .size foo, 4
7 foo:
8 .long 1
9 .text
10 .globl bar
11 .type bar, @function
12 bar:
13 movl foo(%rip), %eax
14 ret
15 .size bar, .-bar