aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-07-26 05:05:52 +0000
committerAlan Modra <amodra@gmail.com>2006-07-26 05:05:52 +0000
commit66e28d60cbc9fcd64aa8e9d8f0c90c5b4debbfc2 (patch)
tree19a50fd9d2f6a3b759faba6d53b8de5345578d39 /ld/ldlang.h
parent329c1c8685cfb81d09ba68bcac765baacd54e71c (diff)
downloadgdb-66e28d60cbc9fcd64aa8e9d8f0c90c5b4debbfc2.zip
gdb-66e28d60cbc9fcd64aa8e9d8f0c90c5b4debbfc2.tar.gz
gdb-66e28d60cbc9fcd64aa8e9d8f0c90c5b4debbfc2.tar.bz2
* 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.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h2
1 files changed, 1 insertions, 1 deletions
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;