aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-12-02 23:00:00 +0000
committerAlan Modra <amodra@gmail.com>2003-12-02 23:00:00 +0000
commit6ad841a1833e6b301a53835c4d803ab47c801f15 (patch)
tree9d68b4ff3109ecad9454523a87781a19fbcc1e59 /ld/emultempl
parentf6246aba72a56abc79a4176baad7f88fd12e562f (diff)
downloadgdb-6ad841a1833e6b301a53835c4d803ab47c801f15.zip
gdb-6ad841a1833e6b301a53835c4d803ab47c801f15.tar.gz
gdb-6ad841a1833e6b301a53835c4d803ab47c801f15.tar.bz2
Rename bfd_link_hash_entry field "next" -> "und_next".
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/pe.em6
-rw-r--r--ld/emultempl/sunos.em2
2 files changed, 4 insertions, 4 deletions
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 7da7349..bc21bc5 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -767,7 +767,7 @@ pe_fixup_stdcalls (void)
if (pe_dll_extra_pe_debug)
printf ("%s\n", __FUNCTION__);
- for (undef = link_info.hash->undefs; undef; undef=undef->next)
+ for (undef = link_info.hash->undefs; undef; undef=undef->und_next)
if (undef->type == bfd_link_hash_undefined)
{
char* at = strchr (undef->root.string, '@');
@@ -859,7 +859,7 @@ pe_find_data_imports (void)
if (link_info.pei386_auto_import == 0)
return;
- for (undef = link_info.hash->undefs; undef; undef=undef->next)
+ for (undef = link_info.hash->undefs; undef; undef=undef->und_next)
{
if (undef->type == bfd_link_hash_undefined)
{
@@ -939,7 +939,7 @@ gld_${EMULATION_NAME}_after_open (void)
printf ("%s()\n", __FUNCTION__);
- for (sym = link_info.hash->undefs; sym; sym=sym->next)
+ for (sym = link_info.hash->undefs; sym; sym=sym->und_next)
printf ("-%s\n", sym->root.string);
bfd_hash_traverse (&link_info.hash->table, pr_sym, NULL);
diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em
index 912d2f3..80ce2de 100644
--- a/ld/emultempl/sunos.em
+++ b/ld/emultempl/sunos.em
@@ -679,7 +679,7 @@ gld${EMULATION_NAME}_before_allocation (void)
{
struct bfd_link_hash_entry *h;
- for (h = link_info.hash->undefs; h != NULL; h = h->next)
+ for (h = link_info.hash->undefs; h != NULL; h = h->und_next)
{
if (h->type == bfd_link_hash_undefined
&& h->u.undef.abfd != NULL