aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/hidden3.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/hidden3.s')
-rw-r--r--ld/testsuite/ld-i386/hidden3.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/hidden3.s b/ld/testsuite/ld-i386/hidden3.s
new file mode 100644
index 0000000..221b159
--- /dev/null
+++ b/ld/testsuite/ld-i386/hidden3.s
@@ -0,0 +1,8 @@
+ .text
+.globl bar
+ .type bar, @function
+bar:
+ leal foo@GOTOFF(%ecx), %eax
+ ret
+ .size bar, .-bar
+ .hidden foo