summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2024-10-04 00:06:46 +0300
committerOxore <oxore@protonmail.com>2024-11-21 00:18:24 +0300
commit220e905af625ca8e433249e2cb74dfbaa2d252c3 (patch)
treea53b02b0c13eb8f693172083b94879a2d71a24b6 /src/common.h
parent559139fce64d685708c283397033bf152afd00a3 (diff)
Add Sierra ASM68 supportsierra-support
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 1cd0d9c..7b91847 100644
--- a/src/common.h
+++ b/src/common.h
@@ -17,6 +17,11 @@ enum class SplitPointType {
kFunction,
};
+enum class TargetAssembler {
+ kGnuAs = 0,
+ kSierraAsm68,
+};
+
struct SplitParams {
SplitPointType type{};
size_t alignment{};
@@ -39,10 +44,12 @@ struct Settings {
bool follow_jumps{};
bool walk{};
bool symbols{};
+ bool dot_size_spec{};
BFDTarget bfd{};
const char *indent{"\t"};
const char *output_dir_path{};
SplitParams split{};
+ TargetAssembler target_asm{};
};
using RefKindMask = unsigned;