mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-13 08:35:46 +00:00
Fix .thumb_func directive on linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33759 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b47f32e0e9
commit
6f46e59d2a
@ -208,7 +208,10 @@ bool ARMAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
if (AFI->isThumbFunction()) {
|
||||
EmitAlignment(1, F);
|
||||
O << "\t.code\t16\n";
|
||||
O << "\t.thumb_func\t" << CurrentFnName << "\n";
|
||||
O << "\t.thumb_func";
|
||||
if (Subtarget->isTargetDarwin())
|
||||
O << "\t" << CurrentFnName;
|
||||
O << "\n";
|
||||
InCPMode = false;
|
||||
} else
|
||||
EmitAlignment(2, F);
|
||||
|
Loading…
x
Reference in New Issue
Block a user