diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-07-12 20:37:38 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-14 13:12:25 +0200 |
commit | a88f7c99fe7026ee6e0c0a2b2385e767c04133c2 (patch) | |
tree | 75c351faa2378366d3f9fcddf4b2e94ea537cddc /Userland/DynamicLoader/main.cpp | |
parent | 7f2eb2f33280a44fead28b5416c10b64521f7704 (diff) | |
download | serenity-a88f7c99fe7026ee6e0c0a2b2385e767c04133c2.zip |
LibC: Use our implementation of `crti.o` and `crtn.o`
We have had these for quite a while, but we didn't compile them, and
used GCC's version instead. Clang does not come with these, so we have
to provide our own implementation.
Our implementation follows what `musl` and `FreeBSD` do, so this should
work fine, even if documentation can hardly be found for them.
Diffstat (limited to 'Userland/DynamicLoader/main.cpp')
-rw-r--r-- | Userland/DynamicLoader/main.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Userland/DynamicLoader/main.cpp b/Userland/DynamicLoader/main.cpp index 74d122f820..6a027c0832 100644 --- a/Userland/DynamicLoader/main.cpp +++ b/Userland/DynamicLoader/main.cpp @@ -150,10 +150,4 @@ void _entry(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() -{ -} } |