From b940261f81c2e07477ecfe116d50152f5df49719 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 1 Jun 2016 21:24:55 +0000 Subject: [PATCH] Revert -O1 hack for GCC 5.3, replaced by workaround in the code. --- lib/csu/common/Makefile.inc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/csu/common/Makefile.inc b/lib/csu/common/Makefile.inc index c1248aa5a46b..bc73e8b81310 100644 --- a/lib/csu/common/Makefile.inc +++ b/lib/csu/common/Makefile.inc @@ -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 @@ -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"