- enhancement: If GAS source file has "_start" label, compile it with "-nostartfiles".

This commit is contained in:
Roy Qu 2023-02-12 18:15:41 +08:00
parent 5cc52ea9f9
commit 9976ee248a
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ Red Panda C++ Version 2.12
- enhancement: Compile/Run/Debug GAS source files.
- enhancement: Compile/Debug GAS source files in project.
- enhancement: Keyword completion for asm/GAS files.
- enhancement: If GAS source file has "_start" label, compile it with "-nostartfiles".
Red Panda C++ Version 2.11

View File

@ -156,7 +156,7 @@ bool FileCompiler::prepareForCompile()
break;
}
if (hasStart) {
mArguments+=" -nostdlib";
mArguments+=" -nostartfiles";
}
}