aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2019-01-12 21:29:54 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2019-01-12 21:29:54 +0000
commit5d031e332fb8a7cb0b3ccd7545048132966a45ec (patch)
tree1c99f62b437e7dfe24cf3fd86a50eddf316e52f1 /gnu
parentbe860eae0f4dcb4f3593d79ebe736aa308cb929a (diff)
downloadsrc-5d031e332fb8a7cb0b3ccd7545048132966a45ec.tar.gz
src-5d031e332fb8a7cb0b3ccd7545048132966a45ec.zip
Create crtsavres.o for powerpc builds
Summary: GCC expects to link in a crtsavres.o on powerpc platforms. On powerpc64 this is an empty file, but on powerpc and powerpcspe this does contain some save/restore functions, which may not actually be necessary for newer modern GCC and clang. This appeases the in-tree gcc, though, and is needed in order to switch to the BSD CRTRBEGIN. PR: 233751 Reviewed By: andrew Differential Revision: https://reviews.freebsd.org/D18826
Notes
Notes: svn path=/head/; revision=342974
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/csu/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile
index d981fb11054e..d754a588a6f0 100644
--- a/gnu/lib/csu/Makefile
+++ b/gnu/lib/csu/Makefile
@@ -28,10 +28,6 @@ CRTS_CFLAGS= -DCRTSTUFFS_O -DSHARED ${PICFLAG}
CFLAGS+= -DTARGET_ARM_EABI
.endif
-.if ${MACHINE_CPUARCH} == "powerpc"
-TGTOBJS= crtsavres.o
-SRCS+= crtsavres.asm
-.endif
.if ${MACHINE_CPUARCH} == "sparc64"
TGTOBJS= crtfastmath.o
SRCS+= crtfastmath.c