fix: Project restructuring

This commit is contained in:
Daniel Hammer
2025-03-08 00:09:27 +01:00
parent 8cbb8d4472
commit a567bd8437
7 changed files with 183 additions and 155 deletions
+17
View File
@@ -0,0 +1,17 @@
/*
* Itanium.cpp
* Definitions for the Itanium C++ ABI
* Copyright (c) Daniel Hammer, Limine Contributors (via Limine C++ example)
*/
#include <Platform/Util.hpp>
// The following stubs are required by the Itanium C++ ABI (the one we use,
// regardless of the "Itanium" nomenclature).
// Like the memory functions above, these stubs can be moved to a different .cpp file,
// but should not be removed, unless you know what you are doing.
extern "C" {
int __cxa_atexit(void (*)(void *), void *, void *) { return 0; }
void __cxa_pure_virtual() { hcf(); }
void *__dso_handle;
}