diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-09-20 03:00:53 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2005-09-20 03:00:53 +0000 |
commit | 96e51aa89b85206a54667d6b871b3bd7d7aa2461 (patch) | |
tree | c36ba0e4400d2cb931ce516aa99325ffae61b3a1 /ld/ldexp.c | |
parent | 6685b8900421b976a907372bbea346b609257bf4 (diff) | |
download | binutils-redhat-96e51aa89b85206a54667d6b871b3bd7d7aa2461.tar.gz |
* 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.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r-- | ld/ldexp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/ldexp.c b/ld/ldexp.c index 8ae7446993..cee1da5332 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; |