aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-vax-elf/plt-local.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-vax-elf/plt-local.s')
-rw-r--r--ld/testsuite/ld-vax-elf/plt-local.s25
1 files changed, 25 insertions, 0 deletions
diff --git a/ld/testsuite/ld-vax-elf/plt-local.s b/ld/testsuite/ld-vax-elf/plt-local.s
new file mode 100644
index 0000000..b1fa8f0
--- /dev/null
+++ b/ld/testsuite/ld-vax-elf/plt-local.s
@@ -0,0 +1,25 @@
+ .text
+
+ .globl foo_global
+ .type foo_global, @function
+foo_global:
+ .word 0
+ calls $0, foo_extern
+ calls $0, foo_global
+ calls $0, foo_local
+ calls $0, foo_hidden
+ calls $0, foo_rehidden
+ ret
+ .size foo_global, . - foo_global
+
+ .globl foo_local
+ .type foo_local, @function
+foo_local:
+ .word 0
+ calls $0, foo_extern
+ calls $0, foo_global
+ calls $0, foo_local
+ calls $0, foo_hidden
+ calls $0, foo_rehidden
+ ret
+ .size foo_local, . - foo_local