aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/expdyn5.d
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2002-11-07 13:25:48 +0000
committerHans-Peter Nilsson <hp@axis.com>2002-11-07 13:25:48 +0000
commit1790e8ab279f483a915380e086b365e2cacdfe6f (patch)
tree1eeae2aed5203ada86ead27420ae04055d3ac897 /ld/testsuite/ld-cris/expdyn5.d
parent87e226ce8138ef1f7707fda1667c0d64e242b7f0 (diff)
downloadgdb-1790e8ab279f483a915380e086b365e2cacdfe6f.zip
gdb-1790e8ab279f483a915380e086b365e2cacdfe6f.tar.gz
gdb-1790e8ab279f483a915380e086b365e2cacdfe6f.tar.bz2
* ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d,
ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests.
Diffstat (limited to 'ld/testsuite/ld-cris/expdyn5.d')
-rw-r--r--ld/testsuite/ld-cris/expdyn5.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/expdyn5.d b/ld/testsuite/ld-cris/expdyn5.d
new file mode 100644
index 0000000..6104491
--- /dev/null
+++ b/ld/testsuite/ld-cris/expdyn5.d
@@ -0,0 +1,13 @@
+#source: expdyn1.s
+#source: expdref1.s --pic
+#as: --no-underscore
+#ld: -m crislinux --export-dynamic tmpdir/libdso-1.so
+#objdump: -s -j .got
+
+# Like expdyn2.d, but testing that the .got contents is correct. There
+# needs to be a .got due to the GOT relocs, but the entry is constant.
+
+.*: file format elf32-cris
+Contents of section \.got:
+ 8228c 24220800 00000000 00000000 06020800 .*
+ 8229c 20220800 .*