diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-02-03 03:30:49 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2005-02-03 03:30:49 +0000 |
commit | a4b935ce3ea7705141d7c546fd548bb4484db721 (patch) | |
tree | 216bdde5ed3e0d004c3c2bcccfa41418013faeb1 /include | |
parent | 123d56fa7bd42410c428ad4fc2072ec113714c96 (diff) | |
download | binutils-redhat-a4b935ce3ea7705141d7c546fd548bb4484db721.tar.gz |
include/
* bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak.
bfd/
* linker.c (_bfd_generic_link_add_one_symbol): Set u.undef.weak.
* elflink.c (elf_smash_syms): Restore symbols that were undefweak
before the as-needed lib was loaded. Abort on unexpected refs.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/bfdlink.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 43d8ddf814..2818977170 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2005-02-03 Alan Modra <amodra@bigpond.net.au> + + * bfdlink.h (struct bfd_link_hash_entry): Add u.undef.weak. + 2005-02-01 Alan Modra <amodra@bigpond.net.au> * bfdlink.h (bfd_link_repair_undef_list): Declare. diff --git a/include/bfdlink.h b/include/bfdlink.h index 789a38a07d..85b5c195b8 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -113,6 +113,7 @@ 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 |