aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-03-22 15:50:38 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-03-22 15:50:38 +0000
commit0920dee7bad8a96ae1866b9cd451103d8897abf5 (patch)
tree4996079f899d9f1fe4a8d0acee18d64ab2742f76 /ld/testsuite/ld-elf/note-1.t
parent* remote-mips.c (mips_xfer_memory): Update prototype. (diff)
downloadbinutils-gdb-0920dee7bad8a96ae1866b9cd451103d8897abf5.tar.gz
binutils-gdb-0920dee7bad8a96ae1866b9cd451103d8897abf5.tar.bz2
binutils-gdb-0920dee7bad8a96ae1866b9cd451103d8897abf5.zip
bfd/
2007-03-22 H.J. Lu <hongjiu.lu@intel.com> PR ld/4007 * elf.c (assign_file_positions_for_load_sections): Check if all sections are in the segment. ld/testsuite/ 2007-03-22 H.J. Lu <hongjiu.lu@intel.com> PR ld/4007 * ld-elf/note-1.d: New file. * ld-elf/note-1.s: Likewise. * ld-elf/note-1.t: Likewise. * ld-i386/alloc.d: Likewise. * ld-i386/alloc.s: Likewise. * ld-i386/alloc.t: Likewise. * ld-i386/i386.exp: Run "alloc".
Diffstat (limited to 'ld/testsuite/ld-elf/note-1.t')
-rw-r--r--ld/testsuite/ld-elf/note-1.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/note-1.t b/ld/testsuite/ld-elf/note-1.t
new file mode 100644
index 00000000000..031fe820ead
--- /dev/null
+++ b/ld/testsuite/ld-elf/note-1.t
@@ -0,0 +1,14 @@
+ENTRY(_entry)
+PHDRS
+{
+ data PT_LOAD;
+ note PT_NOTE;
+}
+SECTIONS
+{
+ . = 0x1000000;
+ .foo : { *(.foo) } :data
+ . = 0x2000000;
+ .note : { *(.note) } :note
+ /DISCARD/ : { *(*) }
+}