Add missing patch which was forgotten during GCC 3.4.2 import. libgcc.a

gets most of it content back now, when symbols from LIB2FUNCS are actually
compiled.

Noticed by: Steve Kargl <gk at troutmask dot apl dot washington dot edu>
Pointy hat to: kan
This commit is contained in:
Alexander Kabaev 2004-08-04 03:13:51 +00:00
parent ca57a58d0b
commit 06f7731a1e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133103

View File

@ -157,8 +157,7 @@ fp-bit.po: config/fp-bit.c
# defined as optimized assembly code in LIB1ASMFUNCS.
.if defined(LIB1ASMFUNCS)
.for sym in ${LIB1ASMFUNCS}
LIB2FUNCS_1:= ${LIB2FUNCS_1:S/${sym}//g}
LIB2FUNCS_2:= ${LIB2FUNCS_2:S/${sym}//g}
LIB2FUNCS:= ${LIB2FUNCS:S/${sym}//g}
LIB2_DIVMOD_FUNCS:= ${LIB2_DIVMOD_FUNCS:S/${sym}//g}
.endfor
.endif
@ -167,8 +166,7 @@ ASM_T= ${LIB1ASMFUNCS:S/$/.o/}
ASM_P= ${LIB1ASMFUNCS:S/$/.po/}
ASM_S= ${LIB1ASMFUNCS:S/$/.So/}
SYMS= ${LIB2FUNCS_1} \
${LIB2FUNCS_2} \
SYMS= ${LIB2FUNCS} \
${LIB2_DIVMOD_FUNCS}
.if ${TARGET_ARCH} == "arm" || ${TARGET_ARCH} == "powerpc" || ${TARGET_ARCH} == "sparc64"
SYMS+= ${FPBIT_FUNCS} ${DPBIT_FUNCS}