diff options
Diffstat (limited to 'ld/testsuite/ld-i386/no-plt-extern1b.S')
-rw-r--r-- | ld/testsuite/ld-i386/no-plt-extern1b.S | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/no-plt-extern1b.S b/ld/testsuite/ld-i386/no-plt-extern1b.S new file mode 100644 index 0000000..ab35bbe --- /dev/null +++ b/ld/testsuite/ld-i386/no-plt-extern1b.S @@ -0,0 +1,16 @@ + .text + .p2align 4,,15 + .globl get_func + .type get_func, @function +get_func: + movl func@GOT, %eax + ret + .size get_func, .-get_func + .p2align 4,,15 + .globl call_func + .type call_func, @function +call_func: + jmp *func@GOT + .size call_func, .-call_func + .section .text.unlikely + .section .note.GNU-stack,"",@progbits |