bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/9687] Weak symbols not working on mingw32


From: dannysmith at users dot sourceforge dot net
Subject: [Bug ld/9687] Weak symbols not working on mingw32
Date: 29 Dec 2008 05:25:11 -0000

------- Additional Comments From dannysmith at users dot sourceforge dot net  
2008-12-29 05:25 -------
mingw32 does not support weak definitions, only "weak externals"   As documented
in ld.info:

_weak externals_
     The Windows object format, PE, specifies a form of weak symbols
     called weak externals.  When a weak symbol is linked and the
     symbol is not defined, the weak symbol becomes an alias for some
     other symbol.  There are three variants of weak externals:
        * Definition is searched for in objects and libraries,
          historically called lazy externals.

        * Definition is searched for only in other objects, not in
          libraries.  This form is not presently implemented.

        * No search; the symbol is an alias.  This form is not presently
          implemented.
     As a GNU extension, weak symbols that do not specify an alternate
     symbol are supported.  If the symbol is undefined when linking,
     the symbol uses a default value.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=9687

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]