aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-undefined/require-defined-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-undefined/require-defined-2.d')
-rw-r--r--ld/testsuite/ld-undefined/require-defined-2.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-undefined/require-defined-2.d b/ld/testsuite/ld-undefined/require-defined-2.d
new file mode 100644
index 0000000..e770eea
--- /dev/null
+++ b/ld/testsuite/ld-undefined/require-defined-2.d
@@ -0,0 +1,8 @@
+#name: Check require-defined can require a symbol from an object
+#source: require-defined.s
+#ld: -e _start --gc-sections --require-defined=bar
+#nm: -n
+
+#...
+[0-9a-f]+ T bar
+#...