From f68d3f78b18b3f2d705394a68da509ba164d6489 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 20 Sep 2005 03:00:53 +0000 Subject: * ldlang.h (lang_output_section_statement_struct): Change type of "processed" to bfd_boolean. * ldexp.c (fold_name): Update references to os->processed. * ldlang.c (lang_output_section_statement_lookup_1): Likewise. (lang_size_sections_1): Likewise. (lang_reset_memory_regions): Likewise. --- ld/ldexp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ld/ldexp.c') diff --git a/ld/ldexp.c b/ld/ldexp.c index 8ae7446..cee1da5 100644 --- a/ld/ldexp.c +++ b/ld/ldexp.c @@ -562,7 +562,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 > 0) + if (os != NULL && os->processed) new_rel (0, NULL, os->bfd_section); } break; @@ -573,7 +573,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 > 0) + if (os != NULL && os->processed) { if (os->load_base == NULL) new_rel (0, NULL, os->bfd_section); @@ -592,7 +592,7 @@ fold_name (etree_type *tree) os = lang_output_section_find (tree->name.name); if (os == NULL) new_abs (0); - else if (os->processed > 0) + else if (os->processed) new_abs (os->bfd_section->size / opb); } break; -- cgit v1.1