svn commit: r291667 - in head/sys/boot/powerpc: . boot1.chrp

Nathan Whitehorn nwhitehorn at FreeBSD.org
Thu Dec 3 00:08:51 UTC 2015


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


More information about the svn-src-all mailing list