summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/expdyn5.d
diff options
context:
space:
mode:
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..5504534
--- /dev/null
+++ b/ld/testsuite/ld-cris/expdyn5.d
@@ -0,0 +1,13 @@
+#source: expdyn1.s
+#source: expdref1.s --pic
+#as: --no-underscore --em=criself
+#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:
+ 82244 dc210800 00000000 00000000 bf010800 .*
+ 82254 58220800 .*