summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr19615.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pr19615.s')
-rw-r--r--ld/testsuite/ld-i386/pr19615.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr19615.s b/ld/testsuite/ld-i386/pr19615.s
new file mode 100644
index 00000000000..1d859261264
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr19615.s
@@ -0,0 +1,13 @@
+ .text
+ .globl _start
+ .type _start, @function
+_start:
+ ret
+
+ .globl xyzzy /* This symbol should be exported */
+ .type xyzzy, @function
+xyzzy:
+ ret
+
+ .section ".xyzzy_ptr","aw",%progbits
+ .dc.a xyzzy