Commit c91fba50 by Jeffrey A Law Committed by Jeff Law

t-a29kbare: Fix some comments.

	* a29k/t-a29kbare: Fix some comments.
	(LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
	(FPBIT, DPBIT): Define.
	* a29k/t-vx29k: Likewise.
	* arc/t-arc: Likewise.
	* arm/t-arm-elf: Likewise.
	* arm/t-bare: Likewise.
	* arm/t-pe: Likewise.
	* arm/t-pe-thumb: Likewise.
	* arm/t-semi: Likewise.
	* arm/t-thumb: Likewise.
	* arm/t-thumb-elf: Likewise.
	* arm/t-thumb-linux: Likewise.
	* h8300/t-h8300: Likewise.
	* i960/t-i960: Likewise.
	* i960/t-vxworks960: Likewise.
	* m32r/t-m32r: Likewise.
	* mips/t-ecoff: Likewise.
	* mips/t-elf: Likewise.
	* mips/t-r3900: Likewise.
	* pa/t-pro: Likewise.
	* rs6000/t-aix43: Likewise.
	* rs6000/t-beos: Likewise.
	* rs6000/t-newas: Likewise.
	* rs6000/t-ppccomm: Likewise.
	* rs6000/t-rs6000: Likewise.
	* rs6000/t-winnt: Likewise.
	* rs6000/t-xnewas: Likewise.
	* rs6000/t-xrs6000: Likewise.
	* sh/t-sh: Likewise.
	* sparc/t-elf: Likewise.
	* sparc/t-sparcbare: Likewise.
	* sparc/t-sparclite: Likewise.
	* sparc/t-splet: Likewise.
	* v850/t-v850: Likewise.
	* mn10200/t-mn10200: Fix comments.
	* mn10300/t-mn10300: Likewise.

From-SVN: r28518
parent edd6ede7
...@@ -69,6 +69,44 @@ Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com> ...@@ -69,6 +69,44 @@ Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com) Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
* a29k/t-a29kbare: Fix some comments.
(LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
(FPBIT, DPBIT): Define.
* a29k/t-vx29k: Likewise.
* arc/t-arc: Likewise.
* arm/t-arm-elf: Likewise.
* arm/t-bare: Likewise.
* arm/t-pe: Likewise.
* arm/t-pe-thumb: Likewise.
* arm/t-semi: Likewise.
* arm/t-thumb: Likewise.
* arm/t-thumb-elf: Likewise.
* arm/t-thumb-linux: Likewise.
* h8300/t-h8300: Likewise.
* i960/t-i960: Likewise.
* i960/t-vxworks960: Likewise.
* m32r/t-m32r: Likewise.
* mips/t-ecoff: Likewise.
* mips/t-elf: Likewise.
* mips/t-r3900: Likewise.
* pa/t-pro: Likewise.
* rs6000/t-aix43: Likewise.
* rs6000/t-beos: Likewise.
* rs6000/t-newas: Likewise.
* rs6000/t-ppccomm: Likewise.
* rs6000/t-rs6000: Likewise.
* rs6000/t-winnt: Likewise.
* rs6000/t-xnewas: Likewise.
* rs6000/t-xrs6000: Likewise.
* sh/t-sh: Likewise.
* sparc/t-elf: Likewise.
* sparc/t-sparcbare: Likewise.
* sparc/t-sparclite: Likewise.
* sparc/t-splet: Likewise.
* v850/t-v850: Likewise.
* mn10200/t-mn10200: Fix comments.
* mn10300/t-mn10300: Likewise.
* pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
dummy operand. Allocate a new pseudo for the dummy operand. dummy operand. Allocate a new pseudo for the dummy operand.
(divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes. (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
......
...@@ -4,10 +4,10 @@ CROSS_LIBGCC1 = ...@@ -4,10 +4,10 @@ CROSS_LIBGCC1 =
# We need crt0.o. # We need crt0.o.
LIBGCC1_TEST = LIBGCC1_TEST =
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -7,7 +7,11 @@ LIBGCC1_TEST = ...@@ -7,7 +7,11 @@ LIBGCC1_TEST =
# We don't want to put exit in libgcc.a for VxWorks, because VxWorks # We don't want to put exit in libgcc.a for VxWorks, because VxWorks
# does not have _exit. # does not have _exit.
TARGET_LIBGCC2_CFLAGS = -Dexit=unused_exit TARGET_LIBGCC2_CFLAGS = -Dexit=unused_exit
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -7,10 +7,10 @@ LIB1ASMFUNCS = _mulsi3 _umulsidi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _divmod_tool ...@@ -7,10 +7,10 @@ LIB1ASMFUNCS = _mulsi3 _umulsidi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _divmod_tool
# ??? -mmangle-cpu passed by default for now. # ??? -mmangle-cpu passed by default for now.
#LIBGCC2_CFLAGS = -g1 -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -mmangle-cpu #LIBGCC2_CFLAGS = -g1 -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -mmangle-cpu
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#ifndef __big_endian__' > dp-bit.c echo '#ifndef __big_endian__' > dp-bit.c
......
...@@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a ...@@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = arm/lib1funcs.asm LIB1ASMSRC = arm/lib1funcs.asm
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c echo '#define FLOAT' > fp-bit.c
......
...@@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a ...@@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = arm/lib1funcs.asm LIB1ASMSRC = arm/lib1funcs.asm
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c echo '#define FLOAT' > fp-bit.c
......
...@@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a ...@@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = arm/lib1funcs.asm LIB1ASMSRC = arm/lib1funcs.asm
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c echo '#define FLOAT' > fp-bit.c
......
...@@ -5,10 +5,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a ...@@ -5,10 +5,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = arm/lib1thumb.asm LIB1ASMSRC = arm/lib1thumb.asm
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c echo '#define FLOAT' > fp-bit.c
......
...@@ -17,10 +17,10 @@ LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwo ...@@ -17,10 +17,10 @@ LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwo
#Don't try to run fixproto #Don't try to run fixproto
STMP_FIXPROTO = STMP_FIXPROTO =
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#ifdef __SOFTFP__' > fp-bit.c echo '#ifdef __SOFTFP__' > fp-bit.c
......
...@@ -4,10 +4,10 @@ LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwo ...@@ -4,10 +4,10 @@ LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwo
# adddi3/subdi3 added to machine description # adddi3/subdi3 added to machine description
#LIB1ASMFUNCS = _adddi3 _subdi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls #LIB1ASMFUNCS = _adddi3 _subdi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c echo '#define FLOAT' > fp-bit.c
......
...@@ -3,10 +3,10 @@ LIB1ASMSRC = arm/lib1thumb.asm ...@@ -3,10 +3,10 @@ LIB1ASMSRC = arm/lib1thumb.asm
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX
# adddi3/subdi3 added to machine description # adddi3/subdi3 added to machine description
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c echo '#define FLOAT' > fp-bit.c
......
...@@ -21,7 +21,10 @@ EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o ...@@ -21,7 +21,10 @@ EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
LIBGCC = stmp-multilib LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib INSTALL_LIBGCC = install-multilib
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c # We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c echo '#define FLOAT' > fp-bit.c
......
...@@ -5,7 +5,9 @@ LIB1ASMFUNCS = _cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3 ...@@ -5,7 +5,9 @@ LIB1ASMFUNCS = _cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3
# We do not have DF or DI types, so fake out the libgcc2 compilation. # We do not have DF or DI types, so fake out the libgcc2 compilation.
TARGET_LIBGCC2_CFLAGS = -DDF=SF -DDI=SI TARGET_LIBGCC2_CFLAGS = -DDF=SF -DDI=SI
LIB2FUNCS_EXTRA = fp-bit.c # We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c echo '#define FLOAT' > fp-bit.c
......
LIBGCC1 = LIBGCC1 =
CROSS_LIBGCC1 = CROSS_LIBGCC1 =
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c xp-bit.c LIB2FUNCS_EXTRA = xp-bit.c
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT_BIT_ORDER_MISMATCH' > dp-bit.c echo '#define FLOAT_BIT_ORDER_MISMATCH' > dp-bit.c
......
...@@ -4,7 +4,12 @@ CROSS_LIBGCC1 = ...@@ -4,7 +4,12 @@ CROSS_LIBGCC1 =
# We don't want to put exit in libgcc.a for VxWorks, because VxWorks # We don't want to put exit in libgcc.a for VxWorks, because VxWorks
# does not have _exit. # does not have _exit.
TARGET_LIBGCC2_CFLAGS = -Dexit=unused_exit TARGET_LIBGCC2_CFLAGS = -Dexit=unused_exit
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c xp-bit.c LIB2FUNCS_EXTRA = xp-bit.c
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT_BIT_ORDER_MISMATCH' > dp-bit.c echo '#define FLOAT_BIT_ORDER_MISMATCH' > dp-bit.c
......
# lib1funcs.asm is currently empty. # lib1funcs.asm is currently empty.
CROSS_LIBGCC1 = CROSS_LIBGCC1 =
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
# Turn off the SDA while compiling libgcc2. There are no headers for it # Turn off the SDA while compiling libgcc2. There are no headers for it
# and we want maximal upward compatibility here. # and we want maximal upward compatibility here.
......
...@@ -32,7 +32,10 @@ TARGET_LIBGCC2_CFLAGS = -G 0 ...@@ -32,7 +32,10 @@ TARGET_LIBGCC2_CFLAGS = -G 0
# fp-bit and dp-bit are really part of libgcc1, but this will cause # fp-bit and dp-bit are really part of libgcc1, but this will cause
# them to be built correctly, so... [taken from t-sparclite] # them to be built correctly, so... [taken from t-sparclite]
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c # We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#ifdef __MIPSEL__' > dp-bit.c echo '#ifdef __MIPSEL__' > dp-bit.c
......
...@@ -36,7 +36,10 @@ TARGET_LIBGCC2_CFLAGS = -G 0 ...@@ -36,7 +36,10 @@ TARGET_LIBGCC2_CFLAGS = -G 0
# fp-bit and dp-bit are really part of libgcc1, but this will cause # fp-bit and dp-bit are really part of libgcc1, but this will cause
# them to be built correctly, so... [taken from t-sparclite] # them to be built correctly, so... [taken from t-sparclite]
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c # We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#ifdef __MIPSEL__' > dp-bit.c echo '#ifdef __MIPSEL__' > dp-bit.c
......
...@@ -32,7 +32,10 @@ TARGET_LIBGCC2_CFLAGS = -G 0 ...@@ -32,7 +32,10 @@ TARGET_LIBGCC2_CFLAGS = -G 0
# fp-bit and dp-bit are really part of libgcc1, but this will cause # fp-bit and dp-bit are really part of libgcc1, but this will cause
# them to be built correctly, so... [taken from t-sparclite] # them to be built correctly, so... [taken from t-sparclite]
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c # We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#ifdef __MIPSEL__' > dp-bit.c echo '#ifdef __MIPSEL__' > dp-bit.c
......
...@@ -31,9 +31,6 @@ LIB1ASMFUNCS = _divhi3 \ ...@@ -31,9 +31,6 @@ LIB1ASMFUNCS = _divhi3 \
_epilogue_noreturn _epilogue_noreturn
# These are really part of libgcc1, but this will cause them to be
# built correctly, so...
# We do not have DF or DI types, so fake out the libgcc2 compilation. # We do not have DF or DI types, so fake out the libgcc2 compilation.
TARGET_LIBGCC2_CFLAGS=-DDF=SF -DDI=SI TARGET_LIBGCC2_CFLAGS=-DDF=SF -DDI=SI
LIB2FUNCS_EXTRA = $(srcdir)/config/mn10200/udivmodsi4.c \ LIB2FUNCS_EXTRA = $(srcdir)/config/mn10200/udivmodsi4.c \
......
LIBGCC1=libgcc1.null LIBGCC1=libgcc1.null
CROSS_LIBGCC1=libgcc1.null CROSS_LIBGCC1=libgcc1.null
# These are really part of libgcc1, but this will cause them to be
# built correctly, so...
# We want fine grained libraries, so use the new code to build the # We want fine grained libraries, so use the new code to build the
# floating point emulation libraries. # floating point emulation libraries.
FPBIT = fp-bit.c FPBIT = fp-bit.c
......
...@@ -7,7 +7,13 @@ LIBGCC1_TEST = ...@@ -7,7 +7,13 @@ LIBGCC1_TEST =
ADA_CFLAGS=-mdisable-indexing ADA_CFLAGS=-mdisable-indexing
LIB2FUNCS_EXTRA=fp-bit.c dp-bit.c lib2funcs.asm LIB2FUNCS_EXTRA=lib2funcs.asm
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
LIBGCC1 = LIBGCC1 =
CROSS_LIBGCC1 = CROSS_LIBGCC1 =
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... [taken from t-sparclite] # floating point emulation libraries.
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
LIBGCC1 = LIBGCC1 =
CROSS_LIBGCC1 = CROSS_LIBGCC1 =
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... [taken from t-sparclite] # floating point emulation libraries.
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
LIBGCC1 = LIBGCC1 =
CROSS_LIBGCC1 = CROSS_LIBGCC1 =
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... [taken from t-sparclite] # floating point emulation libraries.
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -6,7 +6,13 @@ CROSS_LIBGCC1 = ...@@ -6,7 +6,13 @@ CROSS_LIBGCC1 =
# These are really part of libgcc1, but this will cause them to be # These are really part of libgcc1, but this will cause them to be
# built correctly, so... [taken from t-sparclite] # built correctly, so... [taken from t-sparclite]
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c eabi.S eabi-ctors.c tramp.S LIB2FUNCS_EXTRA = eabi.S eabi-ctors.c tramp.S
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
LIBGCC1 = LIBGCC1 =
CROSS_LIBGCC1 = CROSS_LIBGCC1 =
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... [taken from t-sparclite] # floating point emulation libraries.
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -6,7 +6,13 @@ EXTRA_PARTS = crti.o crtn.o ...@@ -6,7 +6,13 @@ EXTRA_PARTS = crti.o crtn.o
# These are really part of libgcc1, but this will cause them to be # These are really part of libgcc1, but this will cause them to be
# built correctly, so... [taken from t-sparclite] # built correctly, so... [taken from t-sparclite]
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c ntstack.S LIB2FUNCS_EXTRA = ntstack.S
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -8,9 +8,10 @@ LIBGCC1_TEST = ...@@ -8,9 +8,10 @@ LIBGCC1_TEST =
LIBGCC1 = LIBGCC1 =
CROSS_LIBGCC1 = CROSS_LIBGCC1 =
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... [taken from t-sparclite] # floating point emulation libraries.
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -8,9 +8,10 @@ LIBGCC1_TEST = ...@@ -8,9 +8,10 @@ LIBGCC1_TEST =
LIBGCC1 = LIBGCC1 =
CROSS_LIBGCC1 = CROSS_LIBGCC1 =
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... [taken from t-sparclite] # floating point emulation libraries.
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -3,10 +3,10 @@ LIB1ASMSRC = sh/lib1funcs.asm ...@@ -3,10 +3,10 @@ LIB1ASMSRC = sh/lib1funcs.asm
LIB1ASMFUNCS = _ashiftrt _ashiftrt_n _ashiftlt _lshiftrt _movstr \ LIB1ASMFUNCS = _ashiftrt _ashiftrt_n _ashiftlt _lshiftrt _movstr \
_movstr_i4 _mulsi3 _sdivsi3 _sdivsi3_i4 _udivsi3 _udivsi3_i4 _set_fpscr _movstr_i4 _mulsi3 _sdivsi3 _sdivsi3_i4 _udivsi3 _udivsi3_i4 _set_fpscr
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
......
...@@ -8,10 +8,10 @@ LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3 ...@@ -8,10 +8,10 @@ LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3
# crt0 is built elsewhere # crt0 is built elsewhere
LIBGCC1_TEST = LIBGCC1_TEST =
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -4,10 +4,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a ...@@ -4,10 +4,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = sparc/lb1spc.asm LIB1ASMSRC = sparc/lb1spc.asm
LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3 LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a ...@@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = sparc/lb1spl.asm LIB1ASMSRC = sparc/lb1spl.asm
LIB1ASMFUNCS = _divsi3 _udivsi3 _modsi3 _umodsi3 LIB1ASMFUNCS = _divsi3 _udivsi3 _modsi3 _umodsi3
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define US_SOFTWARE_GOFAST' > dp-bit.c echo '#define US_SOFTWARE_GOFAST' > dp-bit.c
......
...@@ -4,10 +4,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a ...@@ -4,10 +4,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = sparc/lb1spc.asm LIB1ASMSRC = sparc/lb1spc.asm
LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3 LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c cat $(srcdir)/config/fp-bit.c > dp-bit.c
......
...@@ -33,10 +33,10 @@ LIB1ASMFUNCS = _mulsi3 \ ...@@ -33,10 +33,10 @@ LIB1ASMFUNCS = _mulsi3 \
_save_all_interrupt _save_all_interrupt
# These are really part of libgcc1, but this will cause them to be # We want fine grained libraries, so use the new code to build the
# built correctly, so... # floating point emulation libraries.
FPBIT = fp-bit.c
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment