aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-undefined/require-defined-5.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-undefined/require-defined-5.d')
-rw-r--r--ld/testsuite/ld-undefined/require-defined-5.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-undefined/require-defined-5.d b/ld/testsuite/ld-undefined/require-defined-5.d
new file mode 100644
index 0000000..ea288a9
--- /dev/null
+++ b/ld/testsuite/ld-undefined/require-defined-5.d
@@ -0,0 +1,10 @@
+#name: Check require-defined can require two symbols
+#source: require-defined.s
+#ld: -e _start --gc-sections --require-defined=bar --require-defined=foo tmpdir/libfoo.a
+#nm: -n
+
+#...
+[0-9a-f]+ T foo
+#...
+[0-9a-f]+ T bar
+#... \ No newline at end of file