|
|
|
Weak Symbol: Link Editor, Program Loader, Dynamic Linking
|
 (Buch) |
Dieser Artikel gilt, aufgrund seiner Grösse, beim Versand als 2 Artikel!
| Inhalt: |
| Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computing, a
weak symbol is a symbol definition in an object file or dynamic library
that may be overridden by other symbol definitions, its value will be
zero if no definition found by loader. Weak symbols are not mentioned by
C or C++ language standards; as such, inserting them into code is not
portable. Some compilers can create a weak symbol with a special
#pragma, #pragma weak. However, the GNU Compiler Collection also
supports a __attribute__((weak)) syntax as in the example below. |
|