aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/noglob1.d
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2002-07-09 03:46:49 +0000
committerHans-Peter Nilsson <hp@axis.com>2002-07-09 03:46:49 +0000
commit57a4c584135c2e34f82de89bf58ba76d20010ad5 (patch)
treed2ddac8e0609e2885085b32db000c7f8e0db5865 /ld/testsuite/ld-cris/noglob1.d
parentc29ef4b56afabf84f23ef83addc297d5e9fa4fdd (diff)
downloadgdb-57a4c584135c2e34f82de89bf58ba76d20010ad5.zip
gdb-57a4c584135c2e34f82de89bf58ba76d20010ad5.tar.gz
gdb-57a4c584135c2e34f82de89bf58ba76d20010ad5.tar.bz2
* ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,
ld-cris/noglob1.d: New tests.
Diffstat (limited to 'ld/testsuite/ld-cris/noglob1.d')
-rw-r--r--ld/testsuite/ld-cris/noglob1.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/noglob1.d b/ld/testsuite/ld-cris/noglob1.d
new file mode 100644
index 0000000..a07cef8
--- /dev/null
+++ b/ld/testsuite/ld-cris/noglob1.d
@@ -0,0 +1,8 @@
+#ld:
+#objdump: -p
+
+# Check that we can link an object that doesn't have any global symbols;
+# where elf_sym_hashes(bfd) is NULL.
+
+.*: file format elf32.*-cris
+#pass