openbsd-ports/devel/llvm/patches/patch-lib_MC_MCAsmInfoELF_cpp
ajacoutot 3d1734b8ef Move comment where it belongs.
from Brad (maintainer)
2017-09-02 09:36:13 +00:00

17 lines
459 B
Plaintext

$OpenBSD: patch-lib_MC_MCAsmInfoELF_cpp,v 1.3 2017/09/02 09:36:13 ajacoutot Exp $
Do not use ident.
Index: lib/MC/MCAsmInfoELF.cpp
--- lib/MC/MCAsmInfoELF.cpp.orig
+++ lib/MC/MCAsmInfoELF.cpp
@@ -28,7 +28,7 @@ MCSection *MCAsmInfoELF::getNonexecutableStackSection(
}
MCAsmInfoELF::MCAsmInfoELF() {
- HasIdentDirective = true;
+ HasIdentDirective = false;
WeakRefDirective = "\t.weak\t";
PrivateGlobalPrefix = ".L";
PrivateLabelPrefix = ".L";