binutils-gdb/ld/testsuite/ld-i386/undefweak.s

11 lines
151 B
ArmAsm

.text
.globl _start
_start:
mov .Ljmp(%eax), %eax
jmp *(%eax)
.section .data.rel.ro.local,"aw",@progbits
.weak func
.align 8
.Ljmp:
.long func