summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-cris/pic-gc-72.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-cris/pic-gc-72.d')
-rw-r--r--binutils-2.25/ld/testsuite/ld-cris/pic-gc-72.d29
1 files changed, 29 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-cris/pic-gc-72.d b/binutils-2.25/ld/testsuite/ld-cris/pic-gc-72.d
new file mode 100644
index 00000000..7e727525
--- /dev/null
+++ b/binutils-2.25/ld/testsuite/ld-cris/pic-gc-72.d
@@ -0,0 +1,29 @@
+#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:
+ 016e 0f050f05 .*
+Contents of section .dynamic:
+ 2174 .*
+#...
+Contents of section .got:
+ 21cc 74210000 00000000 00000000 .*
+Contents of section .data:
+ 21d8 00000000 .*