mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-03 14:21:30 +00:00
Simplify handling of --noexecstack by using getNonexecutableStackSection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219799 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -125,10 +125,8 @@ static MCCodeGenInfo *createSparcV9MCCodeGenInfo(StringRef TT, Reloc::Model RM,
|
||||
static MCStreamer *createMCStreamer(const Target &T, StringRef TT,
|
||||
MCContext &Context, MCAsmBackend &MAB,
|
||||
raw_ostream &OS, MCCodeEmitter *Emitter,
|
||||
const MCSubtargetInfo &STI, bool RelaxAll,
|
||||
bool NoExecStack) {
|
||||
MCStreamer *S =
|
||||
createELFStreamer(Context, MAB, OS, Emitter, RelaxAll, NoExecStack);
|
||||
const MCSubtargetInfo &STI, bool RelaxAll) {
|
||||
MCStreamer *S = createELFStreamer(Context, MAB, OS, Emitter, RelaxAll);
|
||||
new SparcTargetELFStreamer(*S);
|
||||
return S;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user