aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2005-08-17 08:58:01 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2005-08-17 08:58:01 +0000
commit27198fa9f355b3ca237741ade9ba93e065c1f06c (patch)
treeb767ca863c1ccee9fef669f08409bc3d6a36aa6f /gas
parent61bf9ae086ed8e0107ab376dd19659e6f1c923a0 (diff)
downloadbinutils-27198fa9f355b3ca237741ade9ba93e065c1f06c.zip
binutils-27198fa9f355b3ca237741ade9ba93e065c1f06c.tar.gz
binutils-27198fa9f355b3ca237741ade9ba93e065c1f06c.tar.bz2
bfd
* cofflink.c (_bfd_coff_generic_relocate_section): Correct comment. gas * config/obj-coff.c (obj_coff_weak): Set auxiliary record of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/obj-coff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index 98b901b..4ea65be 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -1093,7 +1093,7 @@ obj_coff_weak (int ignore ATTRIBUTE_UNUSED)
the value of the weak symbol itself. */
S_SET_STORAGE_CLASS (symbolP, C_NT_WEAK);
S_SET_NUMBER_AUXILIARY (symbolP, 1);
- SA_SET_SYM_FSIZE (symbolP, IMAGE_WEAK_EXTERN_SEARCH_LIBRARY);
+ SA_SET_SYM_FSIZE (symbolP, IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY);
alternateP = symbol_find_or_make (weak_name2altname (name));
S_SET_EXTERNAL (alternateP);