mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
MC'ize the '.code 16' and '.thumb_func' ARM directives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -44,7 +44,8 @@ enum MCSymbolAttr {
|
||||
|
||||
enum MCAssemblerFlag {
|
||||
MCAF_SyntaxUnified, ///< .syntax (ARM/ELF)
|
||||
MCAF_SubsectionsViaSymbols ///< .subsections_via_symbols (MachO)
|
||||
MCAF_SubsectionsViaSymbols, ///< .subsections_via_symbols (MachO)
|
||||
MCAF_Code16 ///< .code 16
|
||||
};
|
||||
|
||||
} // end namespace llvm
|
||||
|
@@ -126,6 +126,10 @@ namespace llvm {
|
||||
/// EmitAssemblerFlag - Note in the output the specified @p Flag
|
||||
virtual void EmitAssemblerFlag(MCAssemblerFlag Flag) = 0;
|
||||
|
||||
/// EmitThumbFunc - Note in the output that the specified @p Func is
|
||||
/// a Thumb mode function (ARM target only).
|
||||
virtual void EmitThumbFunc(MCSymbol *Func) = 0;
|
||||
|
||||
/// EmitAssignment - Emit an assignment of @p Value to @p Symbol.
|
||||
///
|
||||
/// This corresponds to an assembler statement such as:
|
||||
|
Reference in New Issue
Block a user