diff options
Diffstat (limited to 'ld/testsuite/ld-i386/undefweak.s')
-rw-r--r-- | ld/testsuite/ld-i386/undefweak.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/undefweak.s b/ld/testsuite/ld-i386/undefweak.s new file mode 100644 index 0000000..f34c917 --- /dev/null +++ b/ld/testsuite/ld-i386/undefweak.s @@ -0,0 +1,10 @@ + .text + .globl _start +_start: + mov .Ljmp(%eax), %eax + jmp *(%eax) + .section .data.rel.ro.local,"aw",@progbits + .weak func + .align 8 +.Ljmp: + .long func |