serenity/Userland
Dan Klishch 932a722623 LibC+LibELF: Do not override existing weak symbols during magic lookup
Previously, the actual behavior of magic lookup and one described in its
commit description have not matched. Instead of being weak definitions
in a library that is always in the end of load order, the definitions
were normal ones and thus were able to override other weak definitions
in LibC. While this was consistent with how DynamicLoader resolves
ambiguity between normal and weak relocations, this is not the behavior
POSIX mandates -- we should always choose first available definition wrt
load order. To fix this problem, the patch makes sure we don't define
any of magic symbols in LibC.

In addition to this, it makes all provided magic symbols functions
(instead of objects), what renders MagicWeakSymbol class unnecessary.
2024-04-21 13:34:04 -06:00
..
Applets Keymap: Draw the current keymap text with the correct theme color 2024-03-02 19:24:53 +00:00
Applications Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
BuggieBox AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
Demos Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
DevTools LibIPC+Userland: Make IPC::File always own its file descriptor 2024-04-19 06:34:07 -04:00
DynamicLoader LibC+LibELF: Do not override existing weak symbols during magic lookup 2024-04-21 13:34:04 -06:00
Games Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
Libraries LibC+LibELF: Do not override existing weak symbols during magic lookup 2024-04-21 13:34:04 -06:00
Services LibJS+LibWeb: Make Console, ConsoleClient & subclasses GC-allocated 2024-04-21 09:12:25 +02:00
Shell Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
Utilities LibJS+LibWeb: Make Console, ConsoleClient & subclasses GC-allocated 2024-04-21 09:12:25 +02:00
CMakeLists.txt