summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/src
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-04-03 09:32:50 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-04-03 09:32:50 +0200
commit99fe704a5a8c4d049f1c4fef4151a64e0224e84b (patch)
tree2383bcabb23c2cb62e009a4659ac82187e4ef8f3 /dev/LibCompiler/src
parent11680de96d8b9e7dd70bee28cfd6c438d6aa3a9c (diff)
cc/pef: exec format refactors.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/LibCompiler/src')
-rw-r--r--dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc4
-rw-r--r--dev/LibCompiler/src/DynamicLinkerPEF.cc7
2 files changed, 5 insertions, 6 deletions
diff --git a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
index b44e712..c81e746 100644
--- a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
+++ b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
@@ -15,7 +15,7 @@
#define kExitNO (EXIT_FAILURE)
#define kSplashCxx() \
- kPrintF(kWhite "%s\n", "NeOS C++ Compiler Driver, (c) 2024 Amlal El Mahrouss, all rights reserved.")
+ kPrintF(kWhite "%s\n", "NeKernel C++ Compiler Driver, (c) 2024 Amlal El Mahrouss, all rights reserved.")
// extern_segment, @autodelete { ... }, fn foo() -> auto { ... }
@@ -212,7 +212,7 @@ static std::size_t kFunctionEmbedLevel = 0UL;
const char* CompilerFrontendCPlusPlus::Language()
{
- return "NeOS C++";
+ return "NeKernel C++";
}
static std::uintptr_t kOrigin = 0x1000000;
diff --git a/dev/LibCompiler/src/DynamicLinkerPEF.cc b/dev/LibCompiler/src/DynamicLinkerPEF.cc
index 03b8151..a5799f6 100644
--- a/dev/LibCompiler/src/DynamicLinkerPEF.cc
+++ b/dev/LibCompiler/src/DynamicLinkerPEF.cc
@@ -8,14 +8,13 @@
------------------------------------------- */
/// @author EL Mahrouss Amlal (amlel)
-/// @brief NeOS 64-bit PEF Linker.
+/// @brief NeKernel 64-bit PEF Linker.
/// Last Rev: Sat Feb 24 CET 2024
/// @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>
-
#include <LibCompiler/NFC/ErrorID.h>
//! Assembler Kit
@@ -32,7 +31,7 @@
#include <LibCompiler/NFC/AE.h>
#include <cstdint>
-#define kLinkerVersionStr "NeOS 64-Bit Linker (Preferred Executable) %s, (c) Amlal El Mahrouss 2024, all rights reserved.\n"
+#define kLinkerVersionStr "NeKernel 64-Bit Linker (Preferred Executable) %s, (c) Amlal El Mahrouss 2024-2025, all rights reserved.\n"
#define MemoryCopy(DST, SRC, SZ) memcpy(DST, SRC, SZ)
#define StringCompare(DST, SRC) strcmp(DST, SRC)
@@ -66,7 +65,7 @@ namespace Detail
enum
{
kABITypeStart = 0x1010, /* Invalid ABI start of ABI list. */
- kABITypeNE = 0x5046, /* PF (NeOS's PEF ABI) */
+ kABITypeNE = 0x5046, /* PF (NeKernel's PEF ABI) */
kABITypeInvalid = 0xFFFF,
};