mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:07:34 +00:00
parent
ff16da8c77
commit
8a41ce5cc7
2 changed files with 7 additions and 6 deletions
|
@ -306,4 +306,10 @@ void free(void* p)
|
||||||
{
|
{
|
||||||
ASSERT_NOT_REACHED();
|
ASSERT_NOT_REACHED();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern "C" int __cxa_atexit(void (*)(void*), void*, void*)
|
||||||
|
{
|
||||||
|
ASSERT_NOT_REACHED();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -381,13 +381,8 @@ extern "C" {
|
||||||
multiboot_info_t* multiboot_info_ptr;
|
multiboot_info_t* multiboot_info_ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Define some Itanium C++ ABI methods to stop the linker from complaining
|
// Define some Itanium C++ ABI methods to stop the linker from complaining.
|
||||||
// If we actually call these something has gone horribly wrong
|
// If we actually call these something has gone horribly wrong
|
||||||
void* __dso_handle __attribute__((visibility("hidden")));
|
void* __dso_handle __attribute__((visibility("hidden")));
|
||||||
|
|
||||||
extern "C" int __cxa_atexit(void (*)(void*), void*, void*)
|
|
||||||
{
|
|
||||||
ASSERT_NOT_REACHED();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue