Module Name: src
Committed By: joerg
Date: Wed Jun 1 21:24:55 UTC 2016
Modified Files:
src/lib/csu/common: Makefile.inc
Log Message:
Revert -O1 hack for GCC 5.3, replaced by workaround in the code.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/csu/common/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/csu/common/Makefile.inc
diff -u src/lib/csu/common/Makefile.inc:1.31 src/lib/csu/common/Makefile.inc:1.32
--- src/lib/csu/common/Makefile.inc:1.31 Tue May 10 10:23:09 2016
+++ src/lib/csu/common/Makefile.inc Wed Jun 1 21:24:55 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.31 2016/05/10 10:23:09 martin Exp $
+# $NetBSD: Makefile.inc,v 1.32 2016/06/01 21:24:55 joerg Exp $
.include <bsd.own.mk>
@@ -17,14 +17,6 @@ OBJS+= sysident.o
.if ${MKPIC} == "yes"
OBJS+= crtbeginS.o
CFLAGS.crtbegin.c+= -fPIE
-# XXXGCC5 - GCC 5 miscompiles crtbeginS.c on many platforms. on SPARC it
-# XXXGCC5 emits "clr %g1; call %g1", which is effectively jumping to zero.
-. if defined(HAVE_GCC) && ${HAVE_GCC} == 53 && \
- !exists(${ARCHDIR}/crtbegin.S)
-CFLAGS.crt0-common.c+= -O1
-CFLAGS.crtbeginS.c+= -O1
-CFLAGS.crtbegin.c+= -O1
-. endif
.endif
.if ${MACHINE_ARCH} == "alpha"