* ldlang.c: Formatting.

This commit is contained in:
Alan Modra 2006-07-26 00:42:33 +00:00
parent b2f2897591
commit 329c1c8685
2 changed files with 46 additions and 41 deletions

View File

@ -1,3 +1,7 @@
2006-07-26 Alan Modra <amodra@bigpond.net.au>
* ldlang.c: Formatting.
2006-07-25 Bob Wilson <bob.wilson@acm.org> 2006-07-25 Bob Wilson <bob.wilson@acm.org>
* emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections): * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):

View File

@ -375,9 +375,9 @@ wild_sort_fast (lang_wild_statement_type *wild,
lang_input_statement_type *file ATTRIBUTE_UNUSED, lang_input_statement_type *file ATTRIBUTE_UNUSED,
asection *section) asection *section)
{ {
lang_section_bst_type **tree lang_section_bst_type **tree;
= (lang_section_bst_type **) (&(wild->handler_data[1]));
tree = (lang_section_bst_type **) &wild->handler_data[1];
if (!wild->filenames_sorted if (!wild->filenames_sorted
&& (sec == NULL || sec->spec.sorted == none)) && (sec == NULL || sec->spec.sorted == none))
{ {
@ -2553,15 +2553,16 @@ wild (lang_wild_statement_type *s,
struct wildcard_list *sec; struct wildcard_list *sec;
if (s->handler_data[0] if (s->handler_data[0]
&& (s->handler_data[0]->spec.sorted == by_name) && s->handler_data[0]->spec.sorted == by_name
&& !s->filenames_sorted) && !s->filenames_sorted)
{ {
lang_section_bst_type *tree;
walk_wild (s, output_section_callback_fast, output); walk_wild (s, output_section_callback_fast, output);
if (s->handler_data[1]) tree = (lang_section_bst_type *) s->handler_data[1];
output_section_callback_tree_to_list (s, if (tree)
(lang_section_bst_type *) s->handler_data[1], output_section_callback_tree_to_list (s, tree, output);
output);
s->handler_data[1] = NULL; s->handler_data[1] = NULL;
} }
else else