* ldexp.c (fold_name <LOADADDR>): Use the lma.
authorAlan Modra <amodra@gmail.com>
Wed, 26 Jul 2006 05:05:52 +0000 (05:05 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 26 Jul 2006 05:05:52 +0000 (05:05 +0000)
commit66e28d60cbc9fcd64aa8e9d8f0c90c5b4debbfc2
tree19a50fd9d2f6a3b759faba6d53b8de5345578d39
parent329c1c8685cfb81d09ba68bcac765baacd54e71c
* ldexp.c (fold_name <LOADADDR>): Use the lma.
* ldlang.h (lang_memory_region_type): Delete old_length.  Add
last_os.
* ldlang.c (lang_memory_region_lookup): Init new field.
(lang_reset_memory_regions): Reset new field.
(lang_insert_orphan): Don't set load_base.
(lang_leave_overlay): Likewise.
(lang_size_sections_1): Delete unnecessary code setting lma_region
to region.  Correct lma region check.
(lang_do_assignments_1): Rename output_section_statement parm
to current_os.  Set lma from previous section in region.
ld/ChangeLog
ld/ldexp.c
ld/ldlang.c
ld/ldlang.h