aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/no-plt-extern1b.S
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/no-plt-extern1b.S')
-rw-r--r--ld/testsuite/ld-i386/no-plt-extern1b.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/ld/testsuite/ld-i386/no-plt-extern1b.S b/ld/testsuite/ld-i386/no-plt-extern1b.S
index ab35bbe..74389f8 100644
--- a/ld/testsuite/ld-i386/no-plt-extern1b.S
+++ b/ld/testsuite/ld-i386/no-plt-extern1b.S
@@ -12,5 +12,11 @@ get_func:
call_func:
jmp *func@GOT
.size call_func, .-call_func
- .section .text.unlikely
+ .globl func_p
+ .data
+ .align 4
+ .type func_p, @object
+ .size func_p, 4
+func_p:
+ .long func
.section .note.GNU-stack,"",@progbits