From b4bcdc8482f8deae2d25018b4f91593570cf9cf5 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 8 Feb 2025 15:26:11 +0100 Subject: ADD: Assembler frontend tweaks and other refactors. Signed-off-by: Amlal El Mahrouss --- dev/LibCompiler/src/CCompiler64x0.cc | 4 ++-- dev/LibCompiler/src/CCompilerARM64.cc | 4 ++-- dev/LibCompiler/src/CCompilerPower64.cc | 2 +- dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc | 4 ++-- dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc | 4 ++-- dev/LibCompiler/src/DynamicLinkerELF.cc | 2 +- dev/LibCompiler/src/DynamicLinkerPEF.cc | 4 ++-- dev/LibCompiler/src/String.cc | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) (limited to 'dev/LibCompiler/src') diff --git a/dev/LibCompiler/src/CCompiler64x0.cc b/dev/LibCompiler/src/CCompiler64x0.cc index 5090027..2d3fe07 100644 --- a/dev/LibCompiler/src/CCompiler64x0.cc +++ b/dev/LibCompiler/src/CCompiler64x0.cc @@ -24,7 +24,7 @@ /* C driver */ /* This is part of the LibCompiler. */ -/* (c) Amlal EL Mahrouss. */ +/* (c) Amlal EL Mahrouss */ /// @author EL Mahrouss Amlal (amlel) /// @file 64x0-cc.cxx @@ -1482,7 +1482,7 @@ public: #define kPrintF printf #define kSplashCxx() \ - kPrintF(kWhite "NE 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 f6ee779..33027b7 100644 --- a/dev/LibCompiler/src/CCompilerARM64.cc +++ b/dev/LibCompiler/src/CCompilerARM64.cc @@ -24,7 +24,7 @@ /* C driver */ /* This is part of the LibCompiler. */ -/* (c) Amlal EL Mahrouss. */ +/* (c) Amlal EL Mahrouss */ /// @author EL Mahrouss Amlal (amlel) /// @file ARM64-cc.cxx @@ -1480,7 +1480,7 @@ public: #define kPrintF printf #define kSplashCxx() \ - kPrintF(kWhite "NE 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/CCompilerPower64.cc b/dev/LibCompiler/src/CCompilerPower64.cc index f49b9c1..024d5d4 100644 --- a/dev/LibCompiler/src/CCompilerPower64.cc +++ b/dev/LibCompiler/src/CCompilerPower64.cc @@ -1502,7 +1502,7 @@ public: #define kPrintF printf #define kSplashCxx() \ - kPrintF(kWhite "cc, %s, (c) Amlal EL Mahrouss.\n", kDistVersion) + kPrintF(kWhite "cc, %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 dc932b7..3a49327 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", "NeOS C++ Compiler Driver, (c) 2024 Amlal EL Mahrouss, all rights reserved.") // extern_segment, @autodelete { ... }, fn foo() -> auto { ... } @@ -27,7 +27,7 @@ /* NE C++ Compiler */ /* This is part of the LibCompiler. */ -/* (c) Amlal EL Mahrouss. */ +/* (c) Amlal EL Mahrouss */ /// @author EL Mahrouss Amlal (amlel) /// @file CPlusPlusCompilerAMD64.cxx diff --git a/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc b/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc index 5afb63e..2d4c11a 100644 --- a/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc +++ b/dev/LibCompiler/src/CPlusPlusCompilerPreProcessor.cc @@ -971,13 +971,13 @@ LIBCOMPILER_MODULE(CPlusPlusPreprocessorMain) { if (strcmp(argv[index], "--bpp:ver") == 0) { - printf("%s\n", "bpp v1.11, (c) Amlal EL Mahrouss."); + printf("%s\n", "bpp v1.11, (c) Amlal EL Mahrouss"); return 0; } if (strcmp(argv[index], "--bpp:?") == 0) { - printf("%s\n", "NE 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 : set directory to working path."); printf("%s\n", "--bpp:include-dir : add directory to include path."); printf("%s\n", "--bpp:def : define a macro."); diff --git a/dev/LibCompiler/src/DynamicLinkerELF.cc b/dev/LibCompiler/src/DynamicLinkerELF.cc index da3493b..7a1e66f 100644 --- a/dev/LibCompiler/src/DynamicLinkerELF.cc +++ b/dev/LibCompiler/src/DynamicLinkerELF.cc @@ -32,7 +32,7 @@ #include #include -#define kLinkerVersionStr "NeOS 64-Bit Linker (ELF) %s, (c) Amlal EL Mahrouss. 2024, all rights reserved.\n" +#define kLinkerVersionStr "NeOS 64-Bit Linker (ELF) %s, (c) Amlal EL Mahrouss 2024, all rights reserved.\n" #define MemoryCopy(DST, SRC, SZ) memcpy(DST, SRC, SZ) #define StringCompare(DST, SRC) strcmp(DST, SRC) diff --git a/dev/LibCompiler/src/DynamicLinkerPEF.cc b/dev/LibCompiler/src/DynamicLinkerPEF.cc index 0bc88c2..e857eb9 100644 --- a/dev/LibCompiler/src/DynamicLinkerPEF.cc +++ b/dev/LibCompiler/src/DynamicLinkerPEF.cc @@ -32,7 +32,7 @@ #include #include -#define kLinkerVersionStr "NeOS 64-Bit Linker (Preferred Executable) %s, (c) Amlal EL Mahrouss. 2024, all rights reserved.\n" +#define kLinkerVersionStr "NeOS 64-Bit Linker (Preferred Executable) %s, (c) Amlal EL Mahrouss 2024, all rights reserved.\n" #define MemoryCopy(DST, SRC, SZ) memcpy(DST, SRC, SZ) #define StringCompare(DST, SRC) strcmp(DST, SRC) @@ -256,7 +256,7 @@ LIBCOMPILER_MODULE(DynamicLinker64PEF) pef_container.Count = 0UL; pef_container.Kind = is_executable ? LibCompiler::kPefKindExec : LibCompiler::kPefKindDylib; pef_container.SubCpu = kSubArch; - pef_container.Linker = kLinkerId; // Amlal EL Mahrouss. Linker + pef_container.Linker = kLinkerId; // Amlal EL Mahrouss Linker pef_container.Abi = kAbi; // Multi-Processor UX ABI pef_container.Magic[0] = kPefMagic[kFatBinaryEnable ? 2 : 0]; pef_container.Magic[1] = kPefMagic[1]; diff --git a/dev/LibCompiler/src/String.cc b/dev/LibCompiler/src/String.cc index 4ed19be..1ecbd7a 100644 --- a/dev/LibCompiler/src/String.cc +++ b/dev/LibCompiler/src/String.cc @@ -14,7 +14,7 @@ * @version 0.2 * @date 2024-01-23 * - * @copyright Copyright (c) Amlal EL Mahrouss. + * @copyright Copyright (c) Amlal EL Mahrouss * */ -- cgit v1.2.3