]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-i386/pr19636-2.s
[x86] Resolve non-PIC undefweak symbols in executable
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-i386 / pr19636-2.s
1 .text
2 .weak func
3 .globl _start
4 _start:
5 cmp func@GOT(%eax), %eax
6 jmp *func@GOT(%eax)
7 call func@PLT
8 cmp $func, %eax
9 call func