diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2017-06-21 16:51:08 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2017-06-21 16:51:08 +0000 |
commit | f6ea944f4bc43fefc5d690e7201c3e3e3fbdca25 (patch) | |
tree | 8b4cb6e99634e4fdc6492fbf4be6a9ff212281cd /gnu/llvm/lib/MC | |
parent | 0da410400f6d43b8ea4c7c66b22a09c59df083a8 (diff) |
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
Diffstat (limited to 'gnu/llvm/lib/MC')
-rw-r--r-- | gnu/llvm/lib/MC/MCAsmInfoELF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |