]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-cris/pic-gc-72.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / testsuite / ld-cris / pic-gc-72.d
diff --git a/ld/testsuite/ld-cris/pic-gc-72.d b/ld/testsuite/ld-cris/pic-gc-72.d
new file mode 100644 (file)
index 0000000..7c30980
--- /dev/null
@@ -0,0 +1,28 @@
+#source: pic-gc-72.s
+#source: expdref1.s
+#source: expdyn1.s
+#as: --pic --no-underscore --em=criself -I$srcdir/$subdir
+#ld: --shared -m crislinux --gc-sections
+#objdump: -s -t -R -p -T
+
+# Exercise PIC relocs through changed GC sweep function.
+# There should be nothing left except from expdyn1.s.
+
+.*:     file format elf32-cris
+#...
+DYNAMIC RELOCATION RECORDS \(none\)
+
+Contents of section .hash:
+#...
+Contents of section .dynsym:
+#...
+Contents of section .dynstr:
+#...
+Contents of section .text:
+ 0188 0f050f05                             .*
+Contents of section .dynamic:
+#...
+Contents of section .got:
+ 21e4 8c210000 00000000 00000000           .*
+Contents of section .data:
+ 21f0 00000000                             .*