diff options
author | Alan Modra <amodra@gmail.com> | 2001-08-14 02:01:31 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-08-14 02:01:31 +0000 |
commit | 39dcfe18ca8ab5b4b9824fde09cac4fd0aceff19 (patch) | |
tree | c4a768279b410e519f7ebf16d6a9542153f9db11 /ld/ldlang.c | |
parent | 16bad250baf9b63989b87a88312888436b1b2651 (diff) | |
download | gdb-39dcfe18ca8ab5b4b9824fde09cac4fd0aceff19.zip gdb-39dcfe18ca8ab5b4b9824fde09cac4fd0aceff19.tar.gz gdb-39dcfe18ca8ab5b4b9824fde09cac4fd0aceff19.tar.bz2 |
(wild_doit): Rename to lang_add_section.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 968144a..d9fa38f 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -1012,11 +1012,11 @@ section_already_linked (abfd, sec, data) break; } - /* Set the output_section field so that wild_doit does not - create a lang_input_section structure for this section. - Since there might be a symbol in the section being - discarded, we must retain a pointer to the section which - we are really going to use. */ + /* Set the output_section field so that lang_add_section + does not create a lang_input_section structure for this + section. Since there might be a symbol in the section + being discarded, we must retain a pointer to the section + which we are really going to use. */ sec->output_section = bfd_abs_section_ptr; sec->kept_section = l->sec; @@ -1098,7 +1098,7 @@ wildcardp (pattern) input file which holds SECTION. */ void -wild_doit (ptr, section, output, file) +lang_add_section (ptr, section, output, file) lang_statement_list_type *ptr; asection *section; lang_output_section_statement_type *output; @@ -1372,18 +1372,18 @@ output_section_callback (ptr, sec, section, file, output) of the current list. */ if (before == NULL) - wild_doit (&ptr->children, section, - (lang_output_section_statement_type *) output, - file); + lang_add_section (&ptr->children, section, + (lang_output_section_statement_type *) output, + file); else { lang_statement_list_type list; lang_statement_union_type **pp; lang_list_init (&list); - wild_doit (&list, section, - (lang_output_section_statement_type *) output, - file); + lang_add_section (&list, section, + (lang_output_section_statement_type *) output, + file); /* If we are discarding the section, LIST.HEAD will be NULL. */ @@ -3739,18 +3739,18 @@ lang_place_orphans () lang_output_section_statement_lookup (".bss"); } - wild_doit (&default_common_section->children, s, - default_common_section, file); + lang_add_section (&default_common_section->children, s, + default_common_section, file); } } else if (ldemul_place_orphan (file, s)) ; else { - lang_output_section_statement_type *os = - lang_output_section_statement_lookup (s->name); + lang_output_section_statement_type *os; - wild_doit (&os->children, s, os, file); + os = lang_output_section_statement_lookup (s->name); + lang_add_section (&os->children, s, os, file); } } } |