diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-17 11:29:45 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-17 11:29:45 +0100 |
| commit | 03a18278b9217490f69da3fe6b5ac84c484889fa (patch) | |
| tree | 2d50513243be1c597fdda43b90c28baabc5644bc /include/CompilerKit | |
| parent | 3544384f57fbc63191370f9ac02b7874ea25ea81 (diff) | |
feat! breaking changes on Mach-O and PEF linker.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit')
| -rw-r--r-- | include/CompilerKit/MachO.h | 3 | ||||
| -rw-r--r-- | include/CompilerKit/Utilities/Compiler.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/CompilerKit/MachO.h b/include/CompilerKit/MachO.h index a22fa9d..a8a8b78 100644 --- a/include/CompilerKit/MachO.h +++ b/include/CompilerKit/MachO.h @@ -8,6 +8,7 @@ #include <CompilerKit/Detail/Config.h> +#include <mach-o/ldsyms.h> #include <mach-o/loader.h> #include <mach-o/nlist.h> @@ -17,7 +18,7 @@ namespace MachO { /// @brief Mach-O segment names constexpr const char* kSegmentText = "__TEXT"; constexpr const char* kSegmentData = "__DATA"; - constexpr const char* kSegmentLinkedit = "__LINKEDIT"; + constexpr const char* kSegmentPageZero = "__PAGEZERO"; /// @brief Mach-O section names constexpr const char* kSectionText = "__text"; diff --git a/include/CompilerKit/Utilities/Compiler.h b/include/CompilerKit/Utilities/Compiler.h index 6777ca5..97d1e9c 100644 --- a/include/CompilerKit/Utilities/Compiler.h +++ b/include/CompilerKit/Utilities/Compiler.h @@ -36,6 +36,7 @@ inline static UInt32 kErrorLimit = 0; inline static UInt32 kAcceptableErrors = 0; inline static bool kVerbose = false; inline static bool kOutputAsBinary = false; +inline static bool kNasmOutput = false; namespace CompilerKit::Detail { /// @brief Blob structure |
