diff options
author | Alan Modra <amodra@gmail.com> | 2006-08-16 08:31:45 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-08-16 08:31:45 +0000 |
commit | cde9e0be8b661444a3a362e4d8bffaf8b742f2e1 (patch) | |
tree | 2443c615d0e22749a00f2964361115d276849235 /ld/ldexp.c | |
parent | 6173858bda5823a7bad6df3f98a29df52aa7cc09 (diff) | |
download | gdb-cde9e0be8b661444a3a362e4d8bffaf8b742f2e1.zip gdb-cde9e0be8b661444a3a362e4d8bffaf8b742f2e1.tar.gz gdb-cde9e0be8b661444a3a362e4d8bffaf8b742f2e1.tar.bz2 |
ld/
PR 3052
* ldlang.h (lang_output_section_statement_type): Replace
"processed" field with "processed_vma" and "processed_lma".
* ldlang.c (lang_do_assignments_1): Move lma setting code..
(lang_size_sections_1): ..to here.
(lang_reset_memory_regions): Adjust for
lang_output_section_statement_type change.
* ldexp.c (fold_name): Likewise.
And this is something I forgot the check in from the previous patch.
ld/testsuite/
* ld-scripts/overlay-size-map.d: Adjust.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r-- | ld/ldexp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -563,7 +563,7 @@ fold_name (etree_type *tree) lang_output_section_statement_type *os; os = lang_output_section_find (tree->name.name); - if (os != NULL && os->processed) + if (os != NULL && os->processed_vma) new_rel (0, NULL, os->bfd_section); } break; @@ -574,7 +574,7 @@ fold_name (etree_type *tree) lang_output_section_statement_type *os; os = lang_output_section_find (tree->name.name); - if (os != NULL && os->processed) + if (os != NULL && os->processed_lma) { if (os->load_base == NULL) new_rel (os->bfd_section->lma - os->bfd_section->vma, @@ -594,7 +594,7 @@ fold_name (etree_type *tree) os = lang_output_section_find (tree->name.name); if (os == NULL) new_abs (0); - else if (os->processed) + else if (os->processed_vma) new_abs (os->bfd_section->size / opb); } break; |