2007-10-17 Zack Weinberg <zack@codesourcery.com>
authorDaniel Jacobowitz <drow@false.org>
Wed, 17 Oct 2007 19:26:10 +0000 (19:26 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 17 Oct 2007 19:26:10 +0000 (19:26 +0000)
commit20e5635130c217d9980e98d3e81b8d106759577d
tree1433a0f90504a5529e816fd272f6091cc14dd353
parent499ac353610f24006acf82c32503d8d15d0f278c
2007-10-17  Zack Weinberg  <zack@codesourcery.com>

* ldlang.c (lang_check_section_addresses): Also report size of
overflow for any overflowed memory regions.
(os_region_check): Diagnose an overflowed region only once per
region.  Do not reset region->current on overflow.

2007-10-17  Zack Weinberg  <zack@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>
    Mark Shinwell  <shinwell@codesourcery.com>
    Joseph Myers  <joseph@codesourcery.com>

* ld-scripts/rgn-over.exp: New driver.
* ld-scripts/rgn-over.s: New file.
* ld-scripts/rgn-over1.d, ld-scripts/rgn-over1.t,
ld-scripts/rgn-over2.d, ld-scripts/rgn-over2.t,
ld-scripts/rgn-over3.d, ld-scripts/rgn-over3.t,
ld-scripts/rgn-over4.d, ld-scripts/rgn-over4.t,
ld-scripts/rgn-over5.d, ld-scripts/rgn-over5.t,
ld-scripts/rgn-over6.d, ld-scripts/rgn-over6.t,
ld-scripts/rgn-over7.d, ld-scripts/rgn-over7.t:
New test cases.
19 files changed:
ld/ChangeLog
ld/ldlang.c
ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/rgn-over.exp [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over.s [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over1.d [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over1.t [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over2.d [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over2.t [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over3.d [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over3.t [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over4.d [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over4.t [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over5.d [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over5.t [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over6.d [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over6.t [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over7.d [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-over7.t [new file with mode: 0644]