aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/start.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-gc/start.d')
-rw-r--r--ld/testsuite/ld-gc/start.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-gc/start.d b/ld/testsuite/ld-gc/start.d
new file mode 100644
index 0000000..a6f748f
--- /dev/null
+++ b/ld/testsuite/ld-gc/start.d
@@ -0,0 +1,8 @@
+#name: --gc-sections with __start_
+#ld: --gc-sections -e _start
+#nm: -n
+#target: *-*-linux*
+
+#...
+[0-9a-f]+ A +__start__foo
+#...