summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/src/DynamicLinkerELF.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/LibCompiler/src/DynamicLinkerELF.cc')
-rw-r--r--dev/LibCompiler/src/DynamicLinkerELF.cc32
1 files changed, 16 insertions, 16 deletions
diff --git a/dev/LibCompiler/src/DynamicLinkerELF.cc b/dev/LibCompiler/src/DynamicLinkerELF.cc
index 2e52928..870b5f3 100644
--- a/dev/LibCompiler/src/DynamicLinkerELF.cc
+++ b/dev/LibCompiler/src/DynamicLinkerELF.cc
@@ -35,12 +35,12 @@
#define kLinkerVersionStr "TQ 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)
+#define StringCompare(DST, SRC) strcmp(DST, SRC)
#define kPefNoCpu 0U
#define kPefNoSubCpu 0U
-#define kWhite "\e[0;97m"
+#define kWhite "\e[0;97m"
#define kStdOut (std::cout << kWhite << "ld64: ")
@@ -53,24 +53,24 @@
namespace Detail
{
-struct DynamicLinkerBlob final
-{
- std::vector<CharType> mBlob{}; // PEF code/bss/data blob.
- UIntPtr mObjOffset{0UL}; // the offset of the PEF container header..
-};
-}
-
-static Bool kFatBinaryEnable = false;
-static Bool kStartFound = false;
-static Bool kDuplicateSymbols = false;
-static Bool kVerbose = false;
+ struct DynamicLinkerBlob final
+ {
+ std::vector<CharType> mBlob{}; // PEF code/bss/data blob.
+ UIntPtr mObjOffset{0UL}; // the offset of the PEF container header..
+ };
+} // namespace Detail
+
+static Bool kFatBinaryEnable = false;
+static Bool kStartFound = false;
+static Bool kDuplicateSymbols = false;
+static Bool kVerbose = false;
/* object code and list. */
-static std::vector<LibCompiler::String> kObjectList;
+static std::vector<LibCompiler::String> kObjectList;
static std::vector<Detail::DynamicLinkerBlob> kObjectBytes;
-static uintptr_t kMIBCount = 8;
-static uintptr_t kByteCount = 1024;
+static uintptr_t kMIBCount = 8;
+static uintptr_t kByteCount = 1024;
#define kPrintF printf
#define kLinkerSplash() kPrintF(kWhite kLinkerVersionStr, kDistVersion)