diff options
author | Alan Modra <modra@gmail.com> | 2005-02-03 03:30:38 +0000 |
---|---|---|
committer | Alan Modra <modra@gmail.com> | 2005-02-03 03:30:38 +0000 |
commit | 901b1fb9852e5ccaa66ad82c539447394727f33c (patch) | |
tree | 415f3a89c58a4c289982bcfb65364755fcbb9658 /include/bfdlink.h | |
parent | 3fd68a6a044e674d434353d5631aba2743e0bf89 (diff) | |
download | cygnal-901b1fb9852e5ccaa66ad82c539447394727f33c.tar.gz cygnal-901b1fb9852e5ccaa66ad82c539447394727f33c.tar.bz2 cygnal-901b1fb9852e5ccaa66ad82c539447394727f33c.zip |
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/bfdlink.h')
-rw-r--r-- | include/bfdlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h index 789a38a07..85b5c195b 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 |