mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Since we are using GCC to assemble the program, make sure the assembly syntax is AT&T.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52827 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3921266559
commit
ca29dffa16
@ -251,6 +251,9 @@ static int GenerateAssembly(const std::string &OutputFilename,
|
||||
// Run LLC to convert the bitcode file into assembly code.
|
||||
std::vector<const char*> args;
|
||||
args.push_back(llc.c_str());
|
||||
// We will use GCC to assemble the program so set the assembly syntax to AT&T,
|
||||
// regardless of what the target in the bitcode file is.
|
||||
args.push_back("-x86-asm-syntax=att");
|
||||
args.push_back("-f");
|
||||
args.push_back("-o");
|
||||
args.push_back(OutputFilename.c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user