* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-i386 / vxworks1-lib.s
blobf9f05dc2ec3ef2a0622a75bd0e316d0d84c967f2
1 .text
2 .globl foo
3 .type foo, @function
4 foo:
5 push %ebx
6 movl __GOTT_BASE__, %ebx
7 movl __GOTT_INDEX__(%ecx), %ebx
8 movl x@GOT(%ebx), %eax
9 incl (%eax)
10 call slocal@plt
11 call sglobal@plt
12 call sexternal@plt
13 pop %ebx
14 ret
15 .size foo, .-foo
17 .type slocal, @function
18 slocal:
19 ret
20 .size slocal, .-slocal
22 .globl sglobal
23 .type sglobal, @function
24 sglobal:
25 ret
26 .size sglobal, .-sglobal
28 .data
29 .4byte slocal
31 .comm x,4,4