From 2594d7fd14f4692aeae8f1c94836bd3187c52cc2 Mon Sep 17 00:00:00 2001 From: Oxore Date: Tue, 16 May 2023 01:33:11 +0300 Subject: Impl separately enabled absolute and relative relocations --- common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common.h') diff --git a/common.h b/common.h index 0f96cc3..cb176c4 100644 --- a/common.h +++ b/common.h @@ -12,6 +12,8 @@ struct Settings { bool raw_data_comment{}; }; +constexpr unsigned kRelocRelMask = 1; +constexpr unsigned kRelocAbsMask = 2; constexpr size_t kInstructionSizeStepBytes = 2; constexpr size_t kRomSizeBytes = 4 * 1024 * 1024; constexpr size_t kDisasmMapSizeElements = kRomSizeBytes / kInstructionSizeStepBytes; -- cgit v1.2.3