summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/weakref2.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris/weakref2.d')
-rw-r--r--ld/testsuite/ld-cris/weakref2.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/weakref2.d b/ld/testsuite/ld-cris/weakref2.d
new file mode 100644
index 0000000..b78ccca
--- /dev/null
+++ b/ld/testsuite/ld-cris/weakref2.d
@@ -0,0 +1,10 @@
+#source: gotrel2.s
+#as: --pic --no-underscore --em=criself
+#ld: -m crislinux tmpdir/libdso-1.so
+#objdump: -s -j .got
+
+# Like weakref1.d, but check contents of .got.
+
+.*: file format elf32-cris
+Contents of section \.got:
+ 821e4 7c210800 00000000 00000000 00000000 .*