summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-cris/nodyn4.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-cris/nodyn4.d')
-rw-r--r--binutils-2.25/ld/testsuite/ld-cris/nodyn4.d19
1 files changed, 19 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-cris/nodyn4.d b/binutils-2.25/ld/testsuite/ld-cris/nodyn4.d
new file mode 100644
index 00000000..c1af092b
--- /dev/null
+++ b/binutils-2.25/ld/testsuite/ld-cris/nodyn4.d
@@ -0,0 +1,19 @@
+#source: expdyn1.s
+#source: expdref1.s --pic
+#source: comref1.s --pic
+#as: --no-underscore --em=criself
+#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 \.got \.data \.bss[ ]*
+#pass