From 66e28d60cbc9fcd64aa8e9d8f0c90c5b4debbfc2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 26 Jul 2006 05:05:52 +0000 Subject: * ldexp.c (fold_name ): 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/ldlang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/ldlang.h') diff --git a/ld/ldlang.h b/ld/ldlang.h index 2d31357..91a4344 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -54,7 +54,7 @@ typedef struct memory_region_struct bfd_vma origin; bfd_size_type length; bfd_vma current; - bfd_size_type old_length; + union lang_statement_union *last_os; flagword flags; flagword not_flags; bfd_boolean had_full_message; -- cgit v1.1