diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-03-22 15:50:38 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-03-22 15:50:38 +0000 |
commit | 0920dee7bad8a96ae1866b9cd451103d8897abf5 (patch) | |
tree | 4996079f899d9f1fe4a8d0acee18d64ab2742f76 /ld/testsuite/ld-elf/note-1.t | |
parent | 7d12900b6ef86df2cf80a0a3b41aa00734a2e9cc (diff) | |
download | binutils-0920dee7bad8a96ae1866b9cd451103d8897abf5.zip binutils-0920dee7bad8a96ae1866b9cd451103d8897abf5.tar.gz binutils-0920dee7bad8a96ae1866b9cd451103d8897abf5.tar.bz2 |
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.t | 14 |
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 0000000..031fe82 --- /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/ : { *(*) } +} |