aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/noload-3.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-01-07 16:45:35 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-01-07 16:45:35 +0000
commitace793883816ba44f9c2cb090e8ea5ff159ad9be (patch)
tree42521bfb0c2c65a16935d8524cf416ceb336a50b /ld/testsuite/ld-elf/noload-3.d
parenta7c02bc8e11894a2c8ac3f834961f214229a4d51 (diff)
downloadgdb-ace793883816ba44f9c2cb090e8ea5ff159ad9be.zip
gdb-ace793883816ba44f9c2cb090e8ea5ff159ad9be.tar.gz
gdb-ace793883816ba44f9c2cb090e8ea5ff159ad9be.tar.bz2
bfd/
2008-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/5522 * elflink.c (elf_link_input_bfd): Don't write out a section if its output section is marked with SEC_NEVER_LOAD. ld/testsuite/ 2008-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/5522 * ld-elf/noload-3.d: New file. * ld-elf/noload-3.s: Likewise. * ld-elf/noload-3.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/noload-3.d')
-rw-r--r--ld/testsuite/ld-elf/noload-3.d7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/noload-3.d b/ld/testsuite/ld-elf/noload-3.d
new file mode 100644
index 0000000..84b27d7
--- /dev/null
+++ b/ld/testsuite/ld-elf/noload-3.d
@@ -0,0 +1,7 @@
+#ld: -T noload-3.t
+#objdump: -s -j .foo1
+
+#...
+Contents of section .foo1:
+ [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ [0-9a-f]+[ \t]+This is a test.*
+#pass