Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2015 00:08:50 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291667 - in head/sys/boot/powerpc: . boot1.chrp
Message-ID:  <201512030008.tB308ojQ074991@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Thu Dec  3 00:08:50 2015
New Revision: 291667
URL: https://svnweb.freebsd.org/changeset/base/291667

Log:
  Clean up PowerPC bootloader compiler flags to fix the build with GCC 5.2
  and binutils 2.25.

Modified:
  head/sys/boot/powerpc/Makefile.inc
  head/sys/boot/powerpc/boot1.chrp/Makefile

Modified: head/sys/boot/powerpc/Makefile.inc
==============================================================================
--- head/sys/boot/powerpc/Makefile.inc	Thu Dec  3 00:06:59 2015	(r291666)
+++ head/sys/boot/powerpc/Makefile.inc	Thu Dec  3 00:08:50 2015	(r291667)
@@ -2,7 +2,6 @@
 
 .if ${MACHINE_ARCH} == "powerpc64"
 CFLAGS+=	-m32 -mcpu=powerpc
-LDFLAGS+=	-m elf32ppc_fbsd
 .endif
 
 .include "../Makefile.inc"

Modified: head/sys/boot/powerpc/boot1.chrp/Makefile
==============================================================================
--- head/sys/boot/powerpc/boot1.chrp/Makefile	Thu Dec  3 00:06:59 2015	(r291666)
+++ head/sys/boot/powerpc/boot1.chrp/Makefile	Thu Dec  3 00:08:50 2015	(r291667)
@@ -12,7 +12,7 @@ SRCS=		boot1.c ashldi3.c syncicache.c
 
 MAN=
 
-CFLAGS= -ffreestanding -msoft-float -Os \
+CFLAGS= -ffreestanding -msoft-float \
 	-I${.CURDIR}/../../common -I${.CURDIR}/../../../ \
 	-D_STANDALONE
 LDFLAGS=-nostdlib -static -Wl,-N



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512030008.tB308ojQ074991>