summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-04 10:09:53 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-04 10:09:53 +0100
commit60eb7b7731e122b2e116cac5ce10617ef794a31a (patch)
tree058fb99d8365fdf5c99ce6746718df6745f2577c /dev/LibCompiler
parent7c2425f9b3f2d2cd7655dd9449d8aef6275eb1cc (diff)
ADD: Minor tweaks.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/LibCompiler')
-rw-r--r--dev/LibCompiler/ReadMe.md2
-rw-r--r--dev/LibCompiler/src/Assembler32x0.cc2
-rw-r--r--dev/LibCompiler/src/CCompiler64x0.cc2
-rw-r--r--dev/LibCompiler/src/CCompilerARM64.cc2
-rw-r--r--dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc6
-rw-r--r--dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc2
-rw-r--r--dev/LibCompiler/src/DynamicLinkerELF.cc4
-rw-r--r--dev/LibCompiler/src/DynamicLinkerPEF.cc8
8 files changed, 14 insertions, 14 deletions
diff --git a/dev/LibCompiler/ReadMe.md b/dev/LibCompiler/ReadMe.md
index a20ae29..4da3060 100644
--- a/dev/LibCompiler/ReadMe.md
+++ b/dev/LibCompiler/ReadMe.md
@@ -2,6 +2,6 @@
## Compiler, Assembler and Linker Library.
-This contains a set of tools necessary to compile a ZKA program.
+This contains a set of tools necessary to compile a NE program.
###### Copyright (C) 2024-2025 Amlal EL Mahrouss, all rights reserved.
diff --git a/dev/LibCompiler/src/Assembler32x0.cc b/dev/LibCompiler/src/Assembler32x0.cc
index 77ef0f8..8b0cb68 100644
--- a/dev/LibCompiler/src/Assembler32x0.cc
+++ b/dev/LibCompiler/src/Assembler32x0.cc
@@ -44,7 +44,7 @@
/////////////////////////////////////////////////////////////////////////////////////////
-LIBCOMPILER_MODULE(ZKAAssemblerMain32000)
+LIBCOMPILER_MODULE(NEAssemblerMain32000)
{
return 0;
}
diff --git a/dev/LibCompiler/src/CCompiler64x0.cc b/dev/LibCompiler/src/CCompiler64x0.cc
index 2320657..0c06c19 100644
--- a/dev/LibCompiler/src/CCompiler64x0.cc
+++ b/dev/LibCompiler/src/CCompiler64x0.cc
@@ -1482,7 +1482,7 @@ public:
#define kPrintF printf
#define kSplashCxx() \
- kPrintF(kWhite "ZKA C Driver, %s, (c) Amlal EL Mahrouss.\n", kDistVersion)
+ kPrintF(kWhite "NE C Driver, %s, (c) Amlal EL Mahrouss.\n", kDistVersion)
static void cc_print_help()
{
diff --git a/dev/LibCompiler/src/CCompilerARM64.cc b/dev/LibCompiler/src/CCompilerARM64.cc
index 2f65241..31acce0 100644
--- a/dev/LibCompiler/src/CCompilerARM64.cc
+++ b/dev/LibCompiler/src/CCompilerARM64.cc
@@ -1480,7 +1480,7 @@ public:
#define kPrintF printf
#define kSplashCxx() \
- kPrintF(kWhite "ZKA C Driver, %s, (c) Amlal EL Mahrouss.\n", kDistVersion)
+ kPrintF(kWhite "NE C Driver, %s, (c) Amlal EL Mahrouss.\n", kDistVersion)
static void cc_print_help()
{
diff --git a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
index 7abfea9..4e962da 100644
--- a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
+++ b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
@@ -25,7 +25,7 @@
#include <cstdio>
-/* ZKA C++ Compiler */
+/* NE C++ Compiler */
/* This is part of the LibCompiler. */
/* (c) Amlal EL Mahrouss. */
@@ -156,7 +156,7 @@ static bool kOnForLoop = false;
static bool kInBraces = false;
static size_t kBracesCount = 0UL;
-/* @brief C++ compiler backend for the ZKA C++ driver */
+/* @brief C++ compiler backend for the NE C++ driver */
class CompilerFrontendCPlusPlus final : public LibCompiler::ICompilerFrontend
{
public:
@@ -210,7 +210,7 @@ static std::size_t kFunctionEmbedLevel = 0UL;
const char* CompilerFrontendCPlusPlus::Language()
{
- return "ZKA C++";
+ return "NE C++";
}
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc b/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc
index eaf991b..5afb63e 100644
--- a/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc
+++ b/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc
@@ -977,7 +977,7 @@ LIBCOMPILER_MODULE(CPlusPlusPreprocessorMain)
if (strcmp(argv[index], "--bpp:?") == 0)
{
- printf("%s\n", "ZKA Preprocessor Driver v1.11, (c) Amlal EL Mahrouss.");
+ printf("%s\n", "NE Preprocessor Driver v1.11, (c) Amlal EL Mahrouss.");
printf("%s\n", "--bpp:working-dir <path>: set directory to working path.");
printf("%s\n", "--bpp:include-dir <path>: add directory to include path.");
printf("%s\n", "--bpp:def <name> <value>: define a macro.");
diff --git a/dev/LibCompiler/src/DynamicLinkerELF.cc b/dev/LibCompiler/src/DynamicLinkerELF.cc
index 870b5f3..2096ca3 100644
--- a/dev/LibCompiler/src/DynamicLinkerELF.cc
+++ b/dev/LibCompiler/src/DynamicLinkerELF.cc
@@ -75,8 +75,8 @@ static uintptr_t kByteCount = 1024;
#define kPrintF printf
#define kLinkerSplash() kPrintF(kWhite kLinkerVersionStr, kDistVersion)
-/// @brief ZKA 64-bit Linker.
-/// @note This linker is made for XCOFF executable, thus ZKA based OSes.
+/// @brief NE 64-bit Linker.
+/// @note This linker is made for XCOFF executable, thus NE based OSes.
LIBCOMPILER_MODULE(DynamicLinker64XCOFF)
{
return EXIT_SUCCESS;
diff --git a/dev/LibCompiler/src/DynamicLinkerPEF.cc b/dev/LibCompiler/src/DynamicLinkerPEF.cc
index cdcd0e3..e9b8ae0 100644
--- a/dev/LibCompiler/src/DynamicLinkerPEF.cc
+++ b/dev/LibCompiler/src/DynamicLinkerPEF.cc
@@ -63,12 +63,12 @@ namespace Detail
enum
{
kABITypeStart = 0x1010, /* Invalid ABI start of ABI list. */
- kABITypeZKA = 0x5046, /* PF (ZKA PEF ABI) */
+ kABITypeNE = 0x5046, /* PF (NE PEF ABI) */
kABITypeInvalid = 0xFFFF,
};
static LibCompiler::String kOutput = "";
-static Int32 kAbi = kABITypeZKA;
+static Int32 kAbi = kABITypeNE;
static Int32 kSubArch = kPefNoSubCpu;
static Int32 kArch = LibCompiler::kPefArchInvalid;
static Bool kFatBinaryEnable = false;
@@ -90,8 +90,8 @@ static uintptr_t kByteCount = 1024;
#define kPrintF printf
#define kLinkerSplash() kPrintF(kWhite kLinkerVersionStr, kDistVersion)
-/// @brief ZKA 64-bit Linker.
-/// @note This linker is made for PEF executable, thus ZKA based OSes.
+/// @brief NE 64-bit Linker.
+/// @note This linker is made for PEF executable, thus NE based OSes.
LIBCOMPILER_MODULE(DynamicLinker64PEF)
{
bool is_executable = true;