This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Addendum, after further reasearch, the following patch to
bfd/elflink.h "fixes" my problem. I say "fixes" because I am doubtful
that my fix is correct. Would someone who is more knowledgable please
comment on my change?
--- elflink.h.~1~ Fri Aug 9 05:19:07 1996
+++ elflink.h Fri Aug 9 05:20:37 1996
@@ -685,7 +685,7 @@
if (h->root.type == bfd_link_hash_defined
|| h->root.type == bfd_link_hash_defweak
|| (h->root.type == bfd_link_hash_common
- && bind == STB_WEAK))
+ && (bind == STB_WEAK || bind == STB_GLOBAL)))
{
sec = bfd_und_section_ptr;
definition = false;