summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-05-26 23:48:24 +0300
committerOxore <oxore@protonmail.com>2023-05-26 23:48:24 +0300
commitedfe901ba751f4fcdf287102037eb36bf28cfa2a (patch)
tree1895037219c090c9123a48e4cb7cd6b4217910c5 /common.h
parent4f89cdd326fbc9cc1fbd75879d67b462b76bd7c3 (diff)
Change all `mark` wording to `label` wording
Diffstat (limited to 'common.h')
-rw-r--r--common.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/common.h b/common.h
index 4a976aa..36a5ba3 100644
--- a/common.h
+++ b/common.h
@@ -4,12 +4,12 @@
#pragma once
struct Settings {
- bool marks{};
- bool rel_marks{};
- bool abs_marks{};
- bool imm_marks{};
- bool export_marks{};
- bool export_all_marks{};
+ bool labels{};
+ bool rel_labels{};
+ bool abs_labels{};
+ bool imm_labels{};
+ bool export_labels{};
+ bool export_all_labels{};
bool export_functions{};
bool xrefs_to{};
bool xrefs_from{};
@@ -30,9 +30,10 @@ constexpr RefKindMask kRef2WriteMask = (1 << 7); // For second argument
/// Indicates whether instruction is a call or just a branch, for any argument.
/// Calls are BSR and JSR, branches are DBcc, Bcc and JMP.
constexpr RefKindMask kRefCallMask = (1 << 8);
-/// Hack flag for MOVEM with PC relative value when -frel-marks is set
+/// Hack flag for MOVEM with PC relative value when -frel-labels is set
constexpr RefKindMask kRefPcRelFix2Bytes = (1 << 9);
-/// Register 1 may have immediate moving to address register which may be a mark
+/// Register 1 may have immediate moving to address register which may be a
+/// labeled location
constexpr RefKindMask kRef1ImmMask = (1 << 10);
/// Everything for first argument
constexpr RefKindMask kRef1Mask = kRef1RelMask | kRef1AbsMask | kRef1ReadMask | kRef1WriteMask | kRef1ImmMask;