From 7f5304916c7ab876a685b421f21db11585b8dd3a Mon Sep 17 00:00:00 2001 From: tedu Date: Wed, 21 Jun 2017 16:51:07 +0000 Subject: [PATCH] For a decade or more, we've patched gcc to make -fno-ident the default. clang doesn't seem to have a command line option for the feature, so just hard wire it off. We don't need advertisements in our binaries. ok deraadt --- gnu/llvm/lib/MC/MCAsmInfoELF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/llvm/lib/MC/MCAsmInfoELF.cpp b/gnu/llvm/lib/MC/MCAsmInfoELF.cpp index dcd6cea682d..4394e17f995 100644 --- a/gnu/llvm/lib/MC/MCAsmInfoELF.cpp +++ b/gnu/llvm/lib/MC/MCAsmInfoELF.cpp @@ -27,7 +27,7 @@ MCSection *MCAsmInfoELF::getNonexecutableStackSection(MCContext &Ctx) const { } MCAsmInfoELF::MCAsmInfoELF() { - HasIdentDirective = true; + HasIdentDirective = false; WeakRefDirective = "\t.weak\t"; PrivateGlobalPrefix = ".L"; PrivateLabelPrefix = ".L"; -- 2.20.1