diff options
Diffstat (limited to 'dev/LibCompiler/src')
| -rw-r--r-- | dev/LibCompiler/src/CodeGen.cc | 2 | ||||
| -rw-r--r-- | dev/LibCompiler/src/Linker/DynamicLinker64PEF.cc (renamed from dev/LibCompiler/src/Linkers/DynamicLinker64PEF.cc) | 28 |
2 files changed, 3 insertions, 27 deletions
diff --git a/dev/LibCompiler/src/CodeGen.cc b/dev/LibCompiler/src/CodeGen.cc index 92a1d0f..a6fff71 100644 --- a/dev/LibCompiler/src/CodeGen.cc +++ b/dev/LibCompiler/src/CodeGen.cc @@ -10,7 +10,7 @@ /** * @file CodeGen.cc * @author amlal (amlal@nekernel.org) - * @brief Assembler Kit + * @brief Assembler Kit (Code generation kit) * @version 0.1 * @date 2024-01-27 * diff --git a/dev/LibCompiler/src/Linkers/DynamicLinker64PEF.cc b/dev/LibCompiler/src/Linker/DynamicLinker64PEF.cc index 7cb93a9..47ff9e5 100644 --- a/dev/LibCompiler/src/Linkers/DynamicLinker64PEF.cc +++ b/dev/LibCompiler/src/Linker/DynamicLinker64PEF.cc @@ -3,7 +3,7 @@ Copyright (C) 2024-2025 Amlal El Mahrouss, all rights reserved @file DynamicLinker64PEF.cc - @brief: C++ 64-Bit PEF Linker. + @brief: C++ 64-Bit PEF Linker for NeKernel.org ------------------------------------------- */ @@ -13,33 +13,16 @@ /// @note Do not look up for anything with .code64/.data64/.zero64! /// It will be loaded when the program loader will start the image. -//! Toolchain Kit. -#include <LibCompiler/Defines.h> -//! Error ID +#include <LibCompiler/Defines.h> #include <LibCompiler/ErrorID.h> - -//! Assembler Kit #include <LibCompiler/CodeGen.h> - -//! Preferred Executable Format #include <LibCompiler/PEF.h> - -//! UUID header. #include <LibCompiler/UUID.h> - -//! Release macros. #include <LibCompiler/Version.h> - -//! Advanced Executable Object Format. #include <LibCompiler/AE.h> - -//! LibCompiler utils. #include <LibCompiler/Util/CompilerUtils.h> -//! I/O stream from std c++ -#include <iostream> - #define kLinkerVersionStr \ "NeKernel.org 64-Bit Linker (Preferred Executable Format) %s, (c) Amlal El Mahrouss " \ "2024-2025 " \ @@ -66,13 +49,6 @@ << "ld64: " \ << "\e[0;97m") -namespace Detail { -struct DynamicLinkerBlob final { - std::vector<Char> mBlob{}; // PEF code/bss/data blob. - UIntPtr mOffset{0UL}; // the offset of the PEF container header... -}; -} // namespace Detail - enum { kABITypeNull = 0, kABITypeStart = 0x1010, /* The start of ABI list. */ |
