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.
This commit is contained in:
parent
4105de343e
commit
cc481421d0
16 changed files with 109 additions and 79 deletions
|
@ -2828,7 +2828,7 @@ gen_lib_file (void)
|
|||
if (exp->private)
|
||||
continue;
|
||||
n = make_one_lib_file (exp, i);
|
||||
n->next = head;
|
||||
n->archive_next = head;
|
||||
head = n;
|
||||
if (ext_prefix_alias)
|
||||
{
|
||||
|
@ -2847,14 +2847,14 @@ gen_lib_file (void)
|
|||
alias_exp.forward = exp->forward;
|
||||
alias_exp.next = exp->next;
|
||||
n = make_one_lib_file (&alias_exp, i + PREFIX_ALIAS_BASE);
|
||||
n->next = head;
|
||||
n->archive_next = head;
|
||||
head = n;
|
||||
}
|
||||
}
|
||||
|
||||
/* 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))
|
||||
|
@ -2865,7 +2865,7 @@ gen_lib_file (void)
|
|||
|
||||
while (head != NULL)
|
||||
{
|
||||
bfd *n = head->next;
|
||||
bfd *n = head->archive_next;
|
||||
bfd_close (head);
|
||||
head = n;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue