aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/gc-plt-hidden.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/gc-plt-hidden.s')
-rw-r--r--ld/testsuite/ld-aarch64/gc-plt-hidden.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/gc-plt-hidden.s b/ld/testsuite/ld-aarch64/gc-plt-hidden.s
new file mode 100644
index 0000000..bb6fe75
--- /dev/null
+++ b/ld/testsuite/ld-aarch64/gc-plt-hidden.s
@@ -0,0 +1,7 @@
+ .text
+ .globl hidfn
+ .hidden hidfn
+ .type hidfn, %function
+hidfn:
+ and x0, x0, x0
+ .size hidfn, . - hidfn