revert our changes; softfloat removal is now done in libgcc/config.host

This commit is contained in:
christos 2016-10-05 19:25:49 +00:00
parent 0e20c92e52
commit 9d29ca0833

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: mknative-gcc,v 1.88 2016/10/05 14:16:12 christos Exp $
# $NetBSD: mknative-gcc,v 1.89 2016/10/05 19:25:49 christos Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of gcc.
@ -59,10 +59,6 @@ get_libg2c () {
##### lib/libgcc #####
skipsoftfloat() {
sed -e 's@${GNUHOSTDIST}/libgcc/soft-fp/[a-z0-9]*.c@@g' -e 's@ @@g'
}
get_libgcc () {
_subdir="$1"
mkdir -p $_OUTDIR/lib/lib$_subdir/arch
@ -75,14 +71,13 @@ get_libgcc () {
cd $_TMPDIR/$_PLATFORM/libgcc
{
getvars $_PLATFORM/libgcc/Makefile \
INCLUDES LIB2ADDEH LIB2ADD_ST \
INCLUDES LIB2ADD LIB2ADDEH LIB2ADD_ST \
LIB1ASMFUNCS LIB1ASMSRC \
LIB2_DIVMOD_FUNCS LIB2FUNCS_ST \
LIB2FUNCS_EXTRA \
LIBGCC2_CFLAGS \
SHLIB_MKMAP SHLIB_MKMAP_OPTS \
SHLIB_MAPFILES SHLIB_NM_FLAGS
getvars $_PLATFORM/libgcc/Makefile LIB2ADD | skipsoftfloat
getvars gcc/Makefile \
NOEXCEPTION_FLAGS EXTRA_HEADERS
getlinks config.status libgcc