mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-01 16:02:53 +00:00
DynamicLoader: Remove math functionality in favor of -lgcc
This links the dynamic linker against libgcc.a instead of having our own copy of the math functions. For now we need to specify -fbuilding-libgcc as a hack to work around a bug with the -nodefaultlibs flag. Once everyone is on the latest toolchain version this can be removed.
This commit is contained in:
parent
224755e6ef
commit
dd39bb7784
Notes:
sideshowbarker
2024-07-18 18:36:26 +09:00
Author: https://github.com/gunnarbeutner
Commit: dd39bb7784
Pull-request: https://github.com/SerenityOS/serenity/pull/6832
4 changed files with 9 additions and 198 deletions
|
@ -116,4 +116,10 @@ void _start(int argc, char** argv, char** envp)
|
|||
ELF::DynamicLinker::linker_main(move(main_program_name), main_program_fd, is_secure, argc, argv, envp);
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
void _fini();
|
||||
|
||||
void _fini()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue