diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-08-14 02:01:31 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-08-14 02:01:31 +0000 |
commit | 67ab63e95a2b0c0338573cc9308e513a9ac67d92 (patch) | |
tree | 4b88a137ff45e9ff7968639486b499938b143c5e /ld/emultempl | |
parent | 98fc2c792b7e1d98d4fa4d1b675797f8e4cb6b18 (diff) | |
download | binutils-redhat-67ab63e95a2b0c0338573cc9308e513a9ac67d92.tar.gz |
(wild_doit): Rename to lang_add_section.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/beos.em | 5 | ||||
-rw-r--r-- | ld/emultempl/elf32.em | 6 | ||||
-rw-r--r-- | ld/emultempl/hppaelf.em | 2 | ||||
-rw-r--r-- | ld/emultempl/pe.em | 6 |
4 files changed, 10 insertions, 9 deletions
diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em index 23ac5d4113..1d9546b7d9 100644 --- a/ld/emultempl/beos.em +++ b/ld/emultempl/beos.em @@ -7,7 +7,8 @@ else fi cat >e${EMULATION_NAME}.c <<EOF /* This file is part of GLD, the Gnu Linker. - Copyright 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc. + Copyright 1995, 1996, 1997, 1998, 2000, 2001 + Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -813,7 +814,7 @@ gld${EMULATION_NAME}_place_orphan (file, s) The sections still have to be sorted, but that has to wait until all such sections have been processed by us. The sorting is done by sort_sections. */ - wild_doit (&l->wild_statement.children, s, os, file); + lang_add_section (&l->wild_statement.children, s, os, file); return true; } diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index ce06310fc4..55136cf8ed 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1085,7 +1085,7 @@ gld${EMULATION_NAME}_place_orphan (file, s) { /* We already have an output section statement with this name, and its bfd section, if any, has compatible flags. */ - wild_doit (&os->children, s, os, file); + lang_add_section (&os->children, s, os, file); return true; } } @@ -1100,7 +1100,7 @@ gld${EMULATION_NAME}_place_orphan (file, s) && strncmp (secname, ".gnu.warning.", sizeof ".gnu.warning." - 1) == 0 && hold_text.os != NULL) { - wild_doit (&hold_text.os->children, s, hold_text.os, file); + lang_add_section (&hold_text.os->children, s, hold_text.os, file); return true; } @@ -1205,7 +1205,7 @@ gld${EMULATION_NAME}_place_orphan (file, s) (etree_type *) NULL, (etree_type *) NULL); - wild_doit (&os->children, s, os, file); + lang_add_section (&os->children, s, os, file); lang_leave_output_section_statement ((bfd_vma) 0, "*default*", diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index 050020028d..93e847da06 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -258,7 +258,7 @@ hppaelf_add_stub_section (stub_sec_name, input_section) info.input_section = input_section; lang_list_init (&info.add); - wild_doit (&info.add, stub_sec, os, stub_file); + lang_add_section (&info.add, stub_sec, os, stub_file); if (info.add.head == NULL) goto err_ret; diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index fe1a757d15..6519eae6d3 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -9,7 +9,7 @@ rm -f e${EMULATION_NAME}.c (echo;echo;echo;echo;echo)>e${EMULATION_NAME}.c # there, now line numbers match ;-) cat >>e${EMULATION_NAME}.c <<EOF /* This file is part of GLD, the Gnu Linker. - Copyright 1995, 1996, 1997, 1998, 1999, 2000 + Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -1458,7 +1458,7 @@ gld_${EMULATION_NAME}_place_orphan (file, s) && os->bfd_section != NULL && ((s->flags ^ os->bfd_section->flags) & (SEC_LOAD | SEC_ALLOC)) == 0) { - wild_doit (&add_child, s, os, file); + lang_add_section (&add_child, s, os, file); } else { @@ -1562,7 +1562,7 @@ gld_${EMULATION_NAME}_place_orphan (file, s) (etree_type *) NULL, (etree_type *) NULL); - wild_doit (&add_child, s, os, file); + lang_add_section (&add_child, s, os, file); lang_leave_output_section_statement ((bfd_vma) 0, "*default*", |