Kernel: Group C++ ABI functions together

As suggested in #3096.
This commit is contained in:
Ben Wiederhake
2020-08-11 23:37:27 +02:00
committed by Andreas Kling
parent ff16da8c77
commit 8a41ce5cc7
2 changed files with 7 additions and 6 deletions

View File

@@ -381,13 +381,8 @@ extern "C" {
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
void* __dso_handle __attribute__((visibility("hidden")));
extern "C" int __cxa_atexit(void (*)(void*), void*, void*)
{
ASSERT_NOT_REACHED();
return 0;
}
}