diff options
author | Alan Modra <amodra@gmail.com> | 2011-05-15 23:44:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-05-15 23:44:07 +0000 |
commit | 41e04eaa320653226989794c5e16100fa2360a0b (patch) | |
tree | 574649a6428d5215d580d99cde15e23e4b810751 | |
parent | 77c56f443d3ef7b5350fb3c7a27510840cb6bb4c (diff) | |
download | fsf-binutils-gdb-41e04eaa320653226989794c5e16100fa2360a0b.zip fsf-binutils-gdb-41e04eaa320653226989794c5e16100fa2360a0b.tar.gz fsf-binutils-gdb-41e04eaa320653226989794c5e16100fa2360a0b.tar.bz2 |
include/
* bfdlink.h (struct bfd_link_hash_entry): Remove u.undef.weak field.
bfd/
* linker.c (_bfd_generic_link_add_one_symbol): Don't init u.undef.weak.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/linker.c | 1 | ||||
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/bfdlink.h | 1 |
4 files changed, 9 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8a42e46..8733a69 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2011-05-16 Alan Modra <amodra@gmail.com> + + * linker.c (_bfd_generic_link_add_one_symbol): Don't init u.undef.weak. + 2011-05-15 Richard Sandiford <rdsandiford@googlemail.com> * elfxx-mips.c (_bfd_mips_elf_check_relocs): Record both local and @@ -87,7 +91,7 @@ * elf.c (_bfd_elf_section_offset): Check SEC_ELF_REVERSE_COPY. * elflink.c (elf_link_input_bfd): Reverse copy .ctors/.dtors - sections if needed. + sections if needed. * section.c (SEC_ELF_REVERSE_COPY): New. * bfd-in2.h: Regenerated. diff --git a/bfd/linker.c b/bfd/linker.c index d7ac067..d92a9d8 100644 --- a/bfd/linker.c +++ b/bfd/linker.c @@ -1640,7 +1640,6 @@ _bfd_generic_link_add_one_symbol (struct bfd_link_info *info, /* Make a new weak undefined symbol. */ h->type = bfd_link_hash_undefweak; h->u.undef.abfd = abfd; - h->u.undef.weak = abfd; break; case CDEF: diff --git a/include/ChangeLog b/include/ChangeLog index 5e96914..1f8b378 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2011-05-16 Alan Modra <amodra@gmail.com> + + * bfdlink.h (struct bfd_link_hash_entry): Remove u.undef.weak field. + 2011-05-09 Paul Brook <paul@codesourcery.com> * elf/tic6x.h (ELF_STRING_C6000_unwind, diff --git a/include/bfdlink.h b/include/bfdlink.h index 50a1423..d3ac8d9 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -123,7 +123,6 @@ struct bfd_link_hash_entry undefined symbol list. */ struct bfd_link_hash_entry *next; bfd *abfd; /* BFD symbol was found in. */ - bfd *weak; /* BFD weak symbol was found in. */ } undef; /* bfd_link_hash_defined, bfd_link_hash_defweak. */ struct |