diff options
author | Alan Modra <amodra@gmail.com> | 2004-09-17 07:14:33 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-09-17 07:14:33 +0000 |
commit | f6e332e6604aa0bbc05b745d677222e25da2133e (patch) | |
tree | 2dfe6d973e47591b58ab9b7b6f5cd90f65c3a8dd /ld | |
parent | bafcb7227e1b188d4fb9ebdc2948127eeda86704 (diff) | |
download | binutils-f6e332e6604aa0bbc05b745d677222e25da2133e.zip binutils-f6e332e6604aa0bbc05b745d677222e25da2133e.tar.gz binutils-f6e332e6604aa0bbc05b745d677222e25da2133e.tar.bz2 |
include/
* bfdlink.h (struct bfd_link_hash_entry): Move und_next into elements
of union.
bfd/
* ecoff.c: Update u.undef.next refs.
* elf64-ppc.c: Likewise.
* elflink.c: Likewise.
* linker.c: Likewise.
* xcofflink.c: Likewise.
ld/
* ldexp.c (fold_name): Update u.undef.next refs.
* emultempl/pe.em: Likewise.
* emultempl/sunos.em: Likewise.
bfd/
* elf-bfd.h (struct elf_link_hash_entry): Rearrange. Add FIXME to
dynamic_def. Combine weakdef and elf_hash_value. Move vtable
fields to indirect struct.
* elf-m10300.c: Update u.weakdef refs.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-frv.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-vax.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sh64.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elflink.c: Likewise. Also u.elf_hash_value.
(elf_gc_propagate_vtable_entries_used): Update for h->vtable
indirection.
(elf_gc_smash_unused_vtentry_relocs): Likewise.
(bfd_elf_gc_record_vtinherit): Alloc vtable.
(bfd_elf_gc_record_vtentry): Likewise.
* elf.c (_bfd_elf_link_hash_newfunc): Use memset.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/emultempl/pe.em | 8 | ||||
-rw-r--r-- | ld/emultempl/sunos.em | 2 | ||||
-rw-r--r-- | ld/ldexp.c | 2 |
4 files changed, 12 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index a1a6823..6caf17b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,11 @@ 2004-09-17 Alan Modra <amodra@bigpond.net.au> + * ldexp.c (fold_name): Update u.undef.next refs. + * emultempl/pe.em: Likewise. + * emultempl/sunos.em: Likewise. + +2004-09-17 Alan Modra <amodra@bigpond.net.au> + * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * config.in: Regenerate. diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 0991691..318eb7c 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -773,7 +773,7 @@ pe_fixup_stdcalls (void) if (pe_dll_extra_pe_debug) printf ("%s\n", __FUNCTION__); - for (undef = link_info.hash->undefs; undef; undef=undef->und_next) + for (undef = link_info.hash->undefs; undef; undef=undef->u.undef.next) if (undef->type == bfd_link_hash_undefined) { char* at = strchr (undef->root.string, '@'); @@ -865,7 +865,7 @@ pe_find_data_imports (void) if (link_info.pei386_auto_import == 0) return; - for (undef = link_info.hash->undefs; undef; undef=undef->und_next) + for (undef = link_info.hash->undefs; undef; undef=undef->u.undef.next) { if (undef->type == bfd_link_hash_undefined) { @@ -945,7 +945,7 @@ gld_${EMULATION_NAME}_after_open (void) printf ("%s()\n", __FUNCTION__); - for (sym = link_info.hash->undefs; sym; sym=sym->und_next) + for (sym = link_info.hash->undefs; sym; sym=sym->u.undef.next) printf ("-%s\n", sym->root.string); bfd_hash_traverse (&link_info.hash->table, pr_sym, NULL); @@ -1066,7 +1066,7 @@ gld_${EMULATION_NAME}_after_open (void) relocs = (arelent **) xmalloc ((size_t) relsize); nrelocs = bfd_canonicalize_reloc (is->the_bfd, sec, - relocs, symbols); + relocs, symbols); if (nrelocs < 0) { free (relocs); diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em index 13850bc..070ff98 100644 --- a/ld/emultempl/sunos.em +++ b/ld/emultempl/sunos.em @@ -671,7 +671,7 @@ gld${EMULATION_NAME}_before_allocation (void) { struct bfd_link_hash_entry *h; - for (h = link_info.hash->undefs; h != NULL; h = h->und_next) + for (h = link_info.hash->undefs; h != NULL; h = h->u.undef.next) { if (h->type == bfd_link_hash_undefined && h->u.undef.abfd != NULL @@ -577,7 +577,7 @@ fold_name (etree_type *tree, { h->type = bfd_link_hash_undefined; h->u.undef.abfd = NULL; - if (h->und_next == NULL) + if (h->u.undef.next == NULL) bfd_link_add_undef (link_info.hash, h); } } |