From 220e905af625ca8e433249e2cb74dfbaa2d252c3 Mon Sep 17 00:00:00 2001 From: Oxore Date: Fri, 4 Oct 2024 00:06:46 +0300 Subject: Add Sierra ASM68 support --- src/common.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/common.h') 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; -- cgit v1.2.3