diff options
author | Oxore <oxore@protonmail.com> | 2023-05-16 01:33:11 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-05-16 01:33:11 +0300 |
commit | 2594d7fd14f4692aeae8f1c94836bd3187c52cc2 (patch) | |
tree | 41959c5fffb5164b1132cc7c5bc1e11a61368911 /common.h | |
parent | 1c983286a91bc224ac792174b6e2fb7e124613c7 (diff) |
Impl separately enabled absolute and relative relocations
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |