aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/undef1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris/undef1.d')
-rw-r--r--ld/testsuite/ld-cris/undef1.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/undef1.d b/ld/testsuite/ld-cris/undef1.d
new file mode 100644
index 0000000..9eeeb67
--- /dev/null
+++ b/ld/testsuite/ld-cris/undef1.d
@@ -0,0 +1,13 @@
+#source: dso-1.s
+#source: gotrel1.s --pic
+#as: --no-underscore
+#ld: -m crislinux tmpdir/libdso-4.so
+#objdump: -T
+
+# The DSO used has an undef reference to the symbol "dsofn", which is
+# supposed to cause the program to automatically export it as a dynamic
+# symbol; no --export-dynamic is supposed to be needed.
+
+#...
+[0-9a-f]+ g DF .text 00000000 dsofn
+#pass