mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
Everywhere: Make some symbols __attribute__((used))
for LTO
With these changes, the userland builds correctly with Clang's ThinLTO enabled.
This commit is contained in:
parent
1faffc2192
commit
a8fefd89cd
5 changed files with 7 additions and 7 deletions
|
@ -69,7 +69,7 @@ extern ctor_func_t start_ctors[];
|
|||
extern ctor_func_t end_ctors[];
|
||||
|
||||
extern size_t __stack_chk_guard;
|
||||
READONLY_AFTER_INIT size_t __stack_chk_guard;
|
||||
READONLY_AFTER_INIT size_t __stack_chk_guard __attribute__((used));
|
||||
|
||||
extern "C" u8 start_of_safemem_text[];
|
||||
extern "C" u8 end_of_safemem_text[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue