Browse Source

PR ld/5785

* ldlang.c (lang_size_sections_1): Honour the setting of an
        lma_region even if there is no vma region set, or the vma region
        is the same as the lma region.
insight_6_8-branch
Nick Clifton 19 years ago
parent
commit
07dfcf3884
  1. 7
      ld/ChangeLog
  2. 4
      ld/ldlang.c

7
ld/ChangeLog

@ -1,3 +1,10 @@
2008-02-22 Nick Clifton <nickc@redhat.com>
PR ld/5785
* ldlang.c (lang_size_sections_1): Honour the setting of an
lma_region even if there is no vma region set, or the vma region
is the same as the lma region.
2008-02-18 Nick Clifton <nickc@redhat.com>
* scripttempl/armbpabi.sc (ENTRY): Do not define when performing a

4
ld/ldlang.c

@ -4594,9 +4594,7 @@ lang_size_sections_1
bfd_vma lma = exp_get_abs_int (os->load_base, 0, "load base");
os->bfd_section->lma = lma;
}
else if (os->region != NULL
&& os->lma_region != NULL
&& os->lma_region != os->region)
else if (os->lma_region != NULL)
{
bfd_vma lma = os->lma_region->current;

Loading…
Cancel
Save