Revert this change. It broke the trampoline build. Until I'm sure

nothing else is broken, I'm reverting.
This commit is contained in:
Warner Losh 2015-12-21 20:36:01 +00:00
parent c0f3a6c2bb
commit 23df2d677f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292567
3 changed files with 2 additions and 3 deletions

View File

@ -42,7 +42,7 @@ TRAMPLOADADDR?=0x807963c0
# We default to the MIPS32 ISA, if none specified in the
# kernel configuration file.
ARCH_FLAGS?=-march=mips32
EXTRA_FLAGS=-DKERNLOADADDR=${KERNLOADADDR}
EXTRA_FLAGS=-fno-pic -mno-abicalls -G0 -DKERNLOADADDR=${KERNLOADADDR}
HACK_EXTRA_FLAGS=-shared

View File

@ -160,7 +160,6 @@ CFLAGS.gcc+= -mcall-aixdesc
# For MIPS we also tell gcc to use floating point emulation
#
.if ${MACHINE_CPUARCH} == "mips"
CFLAGS+= -fno-pic -mno-abicalls -G0
CFLAGS+= -msoft-float
INLINE_LIMIT?= 8000
.endif

View File

@ -130,7 +130,7 @@ CFLAGS+= -mlongcall -fno-omit-frame-pointer
.endif
.if ${MACHINE_CPUARCH} == mips
CFLAGS+= -mlong-calls
CFLAGS+= -G0 -fno-pic -mno-abicalls -mlong-calls
.endif
.if defined(DEBUG) || defined(DEBUG_FLAGS)