From 7fb44574648b6f77020a9a1ee08ef912edb213a5 Mon Sep 17 00:00:00 2001 From: Pascal Stumpf Date: Sat, 3 Sep 2016 22:47:03 +0000 Subject: Use the space freed up by sparc and zaurus to import LLVM. ok hackroom@ --- gnu/llvm/lib/MC/MCAsmInfoELF.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/llvm') diff --git a/gnu/llvm/lib/MC/MCAsmInfoELF.cpp b/gnu/llvm/lib/MC/MCAsmInfoELF.cpp index 26e5608d873..2bff6e05966 100644 --- a/gnu/llvm/lib/MC/MCAsmInfoELF.cpp +++ b/gnu/llvm/lib/MC/MCAsmInfoELF.cpp @@ -21,8 +21,6 @@ using namespace llvm; void MCAsmInfoELF::anchor() { } MCSection *MCAsmInfoELF::getNonexecutableStackSection(MCContext &Ctx) const { - if (!UsesNonexecutableStackSection) - return nullptr; return Ctx.getELFSection(".note.GNU-stack", ELF::SHT_PROGBITS, 0); } @@ -31,5 +29,4 @@ MCAsmInfoELF::MCAsmInfoELF() { WeakRefDirective = "\t.weak\t"; PrivateGlobalPrefix = ".L"; PrivateLabelPrefix = ".L"; - UsesNonexecutableStackSection = true; } -- cgit v1.2.3