diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-28 14:33:48 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-28 14:33:48 +0200 |
| commit | 46badbe70a36bb3cb5d86bd9f33aa5481c9709b9 (patch) | |
| tree | 33f3759845a25c51cea5d92177a3f7ebd269f984 /dev/LibCompiler/src/Backend/AssemblerPowerPC.cc | |
| parent | 0965112fb81ef3e04010197f68f743c98a7611ba (diff) | |
feat!: update the kernel codegen to output bit width and origin.
refactor!: refactor codebase, breaking changes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/LibCompiler/src/Backend/AssemblerPowerPC.cc')
| -rw-r--r-- | dev/LibCompiler/src/Backend/AssemblerPowerPC.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev/LibCompiler/src/Backend/AssemblerPowerPC.cc b/dev/LibCompiler/src/Backend/AssemblerPowerPC.cc index 86a70b9..3134748 100644 --- a/dev/LibCompiler/src/Backend/AssemblerPowerPC.cc +++ b/dev/LibCompiler/src/Backend/AssemblerPowerPC.cc @@ -15,14 +15,16 @@ ///////////////////////////////////////////////////////////////////////////////////////// +#ifndef __ASM_NEED_PPC__ #define __ASM_NEED_PPC__ 1 +#endif #include <LibCompiler/AE.h> #include <LibCompiler/Backend/PowerPC.h> #include <LibCompiler/ErrorID.h> #include <LibCompiler/Frontend.h> #include <LibCompiler/PEF.h> -#include <LibCompiler/Util/LCAsmUtils.h> +#include <LibCompiler/Util/AsmUtils.h> #include <LibCompiler/Version.h> #include <algorithm> #include <filesystem> @@ -71,7 +73,7 @@ static bool asm_read_attributes(std::string line); ///////////////////////////////////////////////////////////////////////////////////////// LIBCOMPILER_MODULE(AssemblerMainPower64) { - ::signal(SIGSEGV, Detail::drvi_crash_handler); + LibCompiler::install_signal(SIGSEGV, Detail::drvi_crash_handler); for (size_t i = 1; i < argc; ++i) { if (argv[i][0] == '-') { |
