mirror of
https://github.com/RGBCube/serenity
synced 2025-07-05 10:37:34 +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
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