#8288: Undefined weak symbols should get a value of 0 -------------------------------------+------------------------------------ Reporter: hamish | Owner: bonefish Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/runtime_loader | Version: R1/Development Resolution: | Keywords: undefined weak symbols Blocked By: | Blocking: Has a Patch: 0 | Platform: All -------------------------------------+------------------------------------ Comment (by bonefish): I could have sworn the feature was implemented in the runtime loader at the same time, but obviously that's not the case. The implementation is rather easy: In [http://cgit.haiku- os.org/haiku/tree/src/system/runtime_loader/elf_symbol_lookup.cpp#n527 resolve_symbol()] `lookupError` simply needs to remain `ERROR_UNPATCHED`, if `sym` is weak (i.e. put the assignment in a respective "if"). I can't promise that I get to implement it anytime soon. So, if there are any takers ... -- Ticket URL: <http://dev.haiku-os.org/ticket/8288#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.