aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/nodyn4.d
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2002-07-12 15:51:54 +0000
committerHans-Peter Nilsson <hp@axis.com>2002-07-12 15:51:54 +0000
commitf1cf2c2e58d26549bd69ae893073d35eb74abeac (patch)
tree6c2184fae10ef3a5630fd93875cdbd6bd2fe9bba /ld/testsuite/ld-cris/nodyn4.d
parentaf5f3db67c5dcbbc7b2038fe781d03301b94783d (diff)
downloadgdb-f1cf2c2e58d26549bd69ae893073d35eb74abeac.zip
gdb-f1cf2c2e58d26549bd69ae893073d35eb74abeac.tar.gz
gdb-f1cf2c2e58d26549bd69ae893073d35eb74abeac.tar.bz2
* ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d, ld-cris/expdref1.s: New tests.
Diffstat (limited to 'ld/testsuite/ld-cris/nodyn4.d')
-rw-r--r--ld/testsuite/ld-cris/nodyn4.d19
1 files changed, 19 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/nodyn4.d b/ld/testsuite/ld-cris/nodyn4.d
new file mode 100644
index 0000000..3baa4e1
--- /dev/null
+++ b/ld/testsuite/ld-cris/nodyn4.d
@@ -0,0 +1,19 @@
+#source: expdyn1.s
+#source: expdref1.s --pic
+#source: comref1.s --pic
+#as: --no-underscore
+#ld: -m crislinux
+#readelf: -l
+
+# Like expdyn4.d, but no --export-dynamic. Got a BFD_ASSERT at one time.
+# Check that we get the expected sections.
+
+#...
+There are 2 program headers, .*
+#...
+ LOAD [0-9a-fx ]+ R E 0x2000
+ LOAD [0-9a-fx ]+ RW 0x2000
+#...
+ 00 \.text[ ]*
+ 01 \.data \.got \.bss[ ]*
+#pass