#6272: support for undefined weak symbols -----------------------------+---------------------------------------------- Reporter: lucian | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/Kernel | Version: R1/Development Keywords: | Blocked By: Has a Patch: 0 | Platform: All Blocking: | -----------------------------+---------------------------------------------- Currently Haiku does not support add-ons with undefined weak symbols: it reports that a symbol could not be resolved and does not load the add-on. As I understand it, undefined weak symbols should not be looked up, but just mapped to 0 http://www.delorie.com/gnu/docs/binutils/binutils_4.html The symbol is a weak object. When a weak defined symbol is linked with a normal defined symbol, the normal defined symbol is used with no error. When a weak undefined symbol is linked and the symbol is not defined, the value of the weak symbol becomes zero with no error. http://cygwin.ru/ml/binutils/2003-03/msg00450.html "Unresolved weak symbols have a zero value". -- Ticket URL: <http://dev.haiku-os.org/ticket/6272> Haiku <http://dev.haiku-os.org> Haiku - the operating system.