aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/nobits-1.t
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-03-07 03:58:44 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-03-07 03:58:44 +0000
commitd64cc92a74c9fd2b320e23824de29b266d117b11 (patch)
treebb6f42d034f2d239186230036bb16d1b437a82c4 /ld/testsuite/ld-elf/nobits-1.t
parent0e922b770e416241597521a0ed6c1a34aba2877a (diff)
downloadgdb-d64cc92a74c9fd2b320e23824de29b266d117b11.zip
gdb-d64cc92a74c9fd2b320e23824de29b266d117b11.tar.gz
gdb-d64cc92a74c9fd2b320e23824de29b266d117b11.tar.bz2
2007-03-06 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4144 * ld-elf/nobits-1.d: New file. * ld-elf/nobits-1.s: Likewise. * ld-elf/nobits-1.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/nobits-1.t')
-rw-r--r--ld/testsuite/ld-elf/nobits-1.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/nobits-1.t b/ld/testsuite/ld-elf/nobits-1.t
new file mode 100644
index 0000000..2004330
--- /dev/null
+++ b/ld/testsuite/ld-elf/nobits-1.t
@@ -0,0 +1,13 @@
+ENTRY(_entry)
+PHDRS
+{
+ data PT_LOAD;
+}
+SECTIONS
+{
+ . = 0x1000000;
+ .foo : { *(.foo) } :data
+ . = 0x2000000;
+ .bar : { *(.bar) } :data
+ /DISCARD/ : { *(*) }
+}