From 99fe704a5a8c4d049f1c4fef4151a64e0224e84b Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 3 Apr 2025 09:32:50 +0200 Subject: cc/pef: exec format refactors. Signed-off-by: Amlal El Mahrouss --- dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc | 4 ++-- dev/LibCompiler/src/DynamicLinkerPEF.cc | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'dev/LibCompiler/src') 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 - #include //! Assembler Kit @@ -32,7 +31,7 @@ #include #include -#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, }; -- cgit v1.2.3