summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-misc/start.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-misc/start.s')
-rw-r--r--ld/testsuite/ld-misc/start.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-misc/start.s b/ld/testsuite/ld-misc/start.s
new file mode 100644
index 00000000000..846236eef4d
--- /dev/null
+++ b/ld/testsuite/ld-misc/start.s
@@ -0,0 +1,10 @@
+ .text
+ .global start /* Used by SH targets. */
+start:
+ .global _start
+_start:
+ .global __start
+__start:
+ .global main /* Used by HPPA targets. */
+main:
+ .long foo