aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-dynamic/export-dynamic-symbol.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-dynamic/export-dynamic-symbol.s')
-rw-r--r--ld/testsuite/ld-dynamic/export-dynamic-symbol.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-dynamic/export-dynamic-symbol.s b/ld/testsuite/ld-dynamic/export-dynamic-symbol.s
new file mode 100644
index 0000000..c55da53
--- /dev/null
+++ b/ld/testsuite/ld-dynamic/export-dynamic-symbol.s
@@ -0,0 +1,17 @@
+ .text
+ .global start /* Used by SH targets. */
+start:
+ .global _start
+_start:
+ .global __start
+__start:
+ .global main /* Used by HPPA targets. */
+main:
+ .globl _main /* Used by LynxOS targets. */
+_main:
+ .word 0
+
+ .section .text.1, "ax"
+ .global bar
+bar:
+ .word 0