bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/5448] Weak functions support is broken.


From: hjl at lucon dot org
Subject: [Bug ld/5448] Weak functions support is broken.
Date: 7 Dec 2007 01:57:35 -0000

------- Additional Comments From hjl at lucon dot org  2007-12-07 01:57 -------
>From gABI:

When the link editor searches archive libraries [see ``Archive File'' in Chapter
7], it extracts archive members that contain definitions of undefined global
symbols. The member's definition may be either a global or a weak symbol. The
link editor does not extract archive members to resolve undefined weak symbols.
Unresolved weak symbols have a zero value.

The behavior of weak symbols in areas not specified by this document is
implementation defined. Weak symbols are intended primarily for use in system
software. Applications using weak symbols are unreliable since changes in the
runtime environment might cause the execution to fail.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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

------- 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]