* elf32-ppc.c (ppc_elf_check_relocs): Set pointer_equality_needed
[binutils.git] / ld / testsuite / ld-i386 / combreloc.s
blob2a78a7ce9b58272e5e51cbae2939d599c55da136
1 .text
2 .globl _start, foo
3 .type _start,@function
4 _start:
5 pushl %ebp
6 movl %esp, %ebp
7 pushl %ebx
8 call 1f
9 1: popl %ebx
10 addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx
11 movl _start@GOT(%ebx), %eax
12 movl (%eax), %eax
13 call foo@PLT
14 movl (%esp), %ebx
15 leave
16 foo: ret
17 .data
18 .long _start
19 .section "__libc_subfreeres", "aw", @progbits
20 .long _start
21 .section "__libc_atexit", "aw", @progbits
22 .long _start