aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-14 02:01:31 +0000
committerAlan Modra <amodra@gmail.com>2001-08-14 02:01:31 +0000
commit39dcfe18ca8ab5b4b9824fde09cac4fd0aceff19 (patch)
treec4a768279b410e519f7ebf16d6a9542153f9db11 /ld/emultempl
parent16bad250baf9b63989b87a88312888436b1b2651 (diff)
downloadfsf-binutils-gdb-39dcfe18ca8ab5b4b9824fde09cac4fd0aceff19.zip
fsf-binutils-gdb-39dcfe18ca8ab5b4b9824fde09cac4fd0aceff19.tar.gz
fsf-binutils-gdb-39dcfe18ca8ab5b4b9824fde09cac4fd0aceff19.tar.bz2
(wild_doit): Rename to lang_add_section.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/beos.em5
-rw-r--r--ld/emultempl/elf32.em6
-rw-r--r--ld/emultempl/hppaelf.em2
-rw-r--r--ld/emultempl/pe.em6
4 files changed, 10 insertions, 9 deletions
diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em
index 23ac5d4..1d9546b 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 ce06310..55136cf 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 0500200..93e847d 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 fe1a757..6519eae 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*",