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-i386/alloc.d | |
parent | 7d12900b6ef86df2cf80a0a3b41aa00734a2e9cc (diff) | |
download | gdb-0920dee7bad8a96ae1866b9cd451103d8897abf5.zip gdb-0920dee7bad8a96ae1866b9cd451103d8897abf5.tar.gz gdb-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-i386/alloc.d')
-rw-r--r-- | ld/testsuite/ld-i386/alloc.d | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/alloc.d b/ld/testsuite/ld-i386/alloc.d new file mode 100644 index 0000000..c2b22f2 --- /dev/null +++ b/ld/testsuite/ld-i386/alloc.d @@ -0,0 +1,4 @@ +#name: Invalid allocated section +#as: --32 +#ld: -melf_i386 -T alloc.t +#error: .*section `.foo' can't be allocated in segment 0.* |