aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-06-27 11:54:10 +0000
committerAlan Modra <amodra@gmail.com>2007-06-27 11:54:10 +0000
commitcc481421d02b8d2b7881bdf12e469e23aa9021e7 (patch)
tree14bdb219306b20261e61e055a241c23291c4a7f8 /ld
parent4105de343e714e0096723905ada442f1524776a6 (diff)
downloadgdb-cc481421d02b8d2b7881bdf12e469e23aa9021e7.zip
gdb-cc481421d02b8d2b7881bdf12e469e23aa9021e7.tar.gz
gdb-cc481421d02b8d2b7881bdf12e469e23aa9021e7.tar.bz2
bfd/
* bfd.c (struct bfd): Rename "next" to "archive_next". * archive.c: Rename uses throughout file. * archive64.c: Likewise. * coff-rs6000.c: Likewise. * ecoff.c: Likewise. * som.c: Likewise. * bfd-in2.h: Regenerate. binutils/ * ar.c: Rename uses of bfd.next to bfd.archive_next throughout. * arsup.c: Likewise. * binemul.c: Likewise. * objcopy.c: Likewise. * dlltool.c: Likewise. ld/ * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/pe-dll.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 75f2329..617a55e 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-27 Alan Modra <amodra@bigpond.net.au>
+
+ * pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
+
2007-06-20 Alan Modra <amodra@bigpond.net.au>
* emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index b431c22..ab743ee 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -2416,7 +2416,7 @@ pe_dll_generate_implib (def_file *def, const char *impfilename)
def->exports[i].internal_name = def->exports[i].name;
n = make_one (def->exports + i, outarch,
! (def->exports + i)->flag_data);
- n->next = head;
+ n->archive_next = head;
head = n;
def->exports[i].internal_name = internal;
}
@@ -2427,8 +2427,8 @@ pe_dll_generate_implib (def_file *def, const char *impfilename)
return;
/* Now stick them all into the archive. */
- ar_head->next = head;
- ar_tail->next = ar_head;
+ ar_head->archive_next = head;
+ ar_tail->archive_next = ar_head;
head = ar_tail;
if (! bfd_set_archive_head (outarch, head))
@@ -2439,7 +2439,7 @@ pe_dll_generate_implib (def_file *def, const char *impfilename)
while (head != NULL)
{
- bfd *n = head->next;
+ bfd *n = head->archive_next;
bfd_close (head);
head = n;
}