aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/start2.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-gc/start2.s')
-rw-r--r--ld/testsuite/ld-gc/start2.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-gc/start2.s b/ld/testsuite/ld-gc/start2.s
new file mode 100644
index 0000000..b0084a1
--- /dev/null
+++ b/ld/testsuite/ld-gc/start2.s
@@ -0,0 +1,7 @@
+.globl _start
+_start:
+ .weak __start__foo
+ .dc.a __start__foo
+ .section _foo,"aw",%progbits
+foo:
+ .long 1