summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-cris/undef1.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-cris/undef1.d')
-rw-r--r--binutils-2.25/ld/testsuite/ld-cris/undef1.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-cris/undef1.d b/binutils-2.25/ld/testsuite/ld-cris/undef1.d
new file mode 100644
index 00000000..cec00cb7
--- /dev/null
+++ b/binutils-2.25/ld/testsuite/ld-cris/undef1.d
@@ -0,0 +1,13 @@
+#source: dso-1.s
+#source: gotrel1.s --pic
+#as: --no-underscore --em=criself
+#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 0+2 dsofn
+#pass