ld/
* ldlang.c (lang_size_sections_1): When given an lma_region align
LMA as per VMA only if lma_region is the same as region.
ld/testsuite/
* ld-scripts/rgn-at6.s, * ld-scripts/rgn-at6.t, * ld-scripts/rgn-at6.d,
* ld-scripts/rgn-at7.t, * ld-scripts/rgn-at7.d: New tests.
+2013-03-05 Alan Modra <amodra@gmail.com>
+
+ PR ld/15222
+ * ldlang.c (lang_size_sections_1): When given an lma_region align
+ LMA as per VMA only if lma_region is the same as region.
+
2013-01-22 Alan Modra <amodra@gmail.com>
Apply mainline patches
{
bfd_vma lma = os->lma_region->current;
+ /* When LMA_REGION is the same as REGION, align the LMA
+ as we did for the VMA, possibly including alignment
+ from the bfd section. If a different region, then
+ only align according to the value in the output
+ statement. */
+ if (os->lma_region != os->region)
+ section_alignment = os->section_alignment;
if (section_alignment > 0)
lma = align_power (lma, section_alignment);
os->bfd_section->lma = lma;
+2013-03-05 Alan Modra <amodra@gmail.com>
+
+ * ld-scripts/rgn-at6.s, * ld-scripts/rgn-at6.t, * ld-scripts/rgn-at6.d,
+ * ld-scripts/rgn-at7.t, * ld-scripts/rgn-at7.d: New tests.
+
2013-02-12 Yufeng Zhang <yufeng.zhang@arm.com>
* ld-aarch64/emit-relocs-264.d: Append the '-Mno-aliases' option to