* ldlang.c (lang_leave_output_section_statement): Set lma_region
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 3 Apr 2009 07:45:28 +0000 (07:45 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Fri, 3 Apr 2009 07:45:28 +0000 (07:45 +0000)
commit113e68452ed03bd9f48a31036ece530685751112
tree12447d582791dafd93f0dd90779c035fdc29e687
parent4cebb668fe6ee94269a0d7eff61ff7a81a8dfa64
* ldlang.c (lang_leave_output_section_statement): Set lma_region
if it is not overridden and section is for the same vma region as
the previous section.

* ld-scripts/rgn-at.exp: New.
* ld-scripts/rgn-at.s: New.
* ld-scripts/rgn-at1.d: New.
* ld-scripts/rgn-at1.t: New.
* ld-scripts/rgn-at2.d: New.
* ld-scripts/rgn-at2.t: New.
* ld-scripts/rgn-at3.d: New.
* ld-scripts/rgn-at3.t: New.
ld/ChangeLog
ld/ldlang.c
ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/rgn-at.exp [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-at.s [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-at1.d [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-at1.t [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-at2.d [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-at2.t [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-at3.d [new file with mode: 0644]
ld/testsuite/ld-scripts/rgn-at3.t [new file with mode: 0644]