diff options
author | Alan Modra <amodra@gmail.com> | 2005-09-20 03:00:53 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-09-20 03:00:53 +0000 |
commit | f68d3f78b18b3f2d705394a68da509ba164d6489 (patch) | |
tree | e7ecc460025ad471aef3d0f7d4ce5ffb84cbd85e /ld/ldexp.c | |
parent | 3592b9717cc25f29508d5ddf83bb9b2ba1b9e6b6 (diff) | |
download | gdb-f68d3f78b18b3f2d705394a68da509ba164d6489.zip gdb-f68d3f78b18b3f2d705394a68da509ba164d6489.tar.gz gdb-f68d3f78b18b3f2d705394a68da509ba164d6489.tar.bz2 |
* 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
@@ -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; |