diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-08-05 03:27:49 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-08-04 21:27:49 -0600 |
commit | c91fba509bdb2e7503496317011f35241053e947 (patch) | |
tree | 62c2ba20c2a7b5ac3584db6490a0f8fd140f1a57 /gcc | |
parent | edd6ede777870525c0a564d4df6e31431cc69f7c (diff) | |
download | gcc-c91fba509bdb2e7503496317011f35241053e947.zip gcc-c91fba509bdb2e7503496317011f35241053e947.tar.gz gcc-c91fba509bdb2e7503496317011f35241053e947.tar.bz2 |
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
Diffstat (limited to 'gcc')
36 files changed, 183 insertions, 99 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d414f6a..07d6b58 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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) + * 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 dummy operand. Allocate a new pseudo for the dummy operand. (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes. diff --git a/gcc/config/a29k/t-a29kbare b/gcc/config/a29k/t-a29kbare index 21ba24f..c670234 100644 --- a/gcc/config/a29k/t-a29kbare +++ b/gcc/config/a29k/t-a29kbare @@ -4,10 +4,10 @@ CROSS_LIBGCC1 = # We need crt0.o. LIBGCC1_TEST = -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/a29k/t-vx29k b/gcc/config/a29k/t-vx29k index 293674e..298871e 100644 --- a/gcc/config/a29k/t-vx29k +++ b/gcc/config/a29k/t-vx29k @@ -7,7 +7,11 @@ LIBGCC1_TEST = # We don't want to put exit in libgcc.a for VxWorks, because VxWorks # does not have _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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/arc/t-arc b/gcc/config/arc/t-arc index d922c27..339e25c 100644 --- a/gcc/config/arc/t-arc +++ b/gcc/config/arc/t-arc @@ -7,10 +7,10 @@ LIB1ASMFUNCS = _mulsi3 _umulsidi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _divmod_tool # ??? -mmangle-cpu passed by default for now. #LIBGCC2_CFLAGS = -g1 -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -mmangle-cpu -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 echo '#ifndef __big_endian__' > dp-bit.c diff --git a/gcc/config/arm/t-arm-elf b/gcc/config/arm/t-arm-elf index ee727fe..eb77fc5 100644 --- a/gcc/config/arm/t-arm-elf +++ b/gcc/config/arm/t-arm-elf @@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a LIB1ASMSRC = arm/lib1funcs.asm LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 echo '#define FLOAT' > fp-bit.c diff --git a/gcc/config/arm/t-bare b/gcc/config/arm/t-bare index 85e6a30..71062ee 100644 --- a/gcc/config/arm/t-bare +++ b/gcc/config/arm/t-bare @@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a LIB1ASMSRC = arm/lib1funcs.asm LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 echo '#define FLOAT' > fp-bit.c diff --git a/gcc/config/arm/t-pe b/gcc/config/arm/t-pe index e68b3c9..0ffcfff 100644 --- a/gcc/config/arm/t-pe +++ b/gcc/config/arm/t-pe @@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a LIB1ASMSRC = arm/lib1funcs.asm 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 -# built correctly, so... - -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 echo '#define FLOAT' > fp-bit.c diff --git a/gcc/config/arm/t-pe-thumb b/gcc/config/arm/t-pe-thumb index c75930c..d12bead 100644 --- a/gcc/config/arm/t-pe-thumb +++ b/gcc/config/arm/t-pe-thumb @@ -5,10 +5,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a LIB1ASMSRC = arm/lib1thumb.asm 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 -# built correctly, so... - -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 echo '#define FLOAT' > fp-bit.c diff --git a/gcc/config/arm/t-semi b/gcc/config/arm/t-semi index ade8700..bc793e8 100644 --- a/gcc/config/arm/t-semi +++ b/gcc/config/arm/t-semi @@ -17,10 +17,10 @@ LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwo #Don't try to run fixproto STMP_FIXPROTO = -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 echo '#ifdef __SOFTFP__' > fp-bit.c diff --git a/gcc/config/arm/t-thumb b/gcc/config/arm/t-thumb index 6b349e2..eb3e011 100644 --- a/gcc/config/arm/t-thumb +++ b/gcc/config/arm/t-thumb @@ -4,10 +4,10 @@ LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwo # adddi3/subdi3 added to machine description #LIB1ASMFUNCS = _adddi3 _subdi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 echo '#define FLOAT' > fp-bit.c diff --git a/gcc/config/arm/t-thumb-elf b/gcc/config/arm/t-thumb-elf index 3e608ab..302a20b 100644 --- a/gcc/config/arm/t-thumb-elf +++ b/gcc/config/arm/t-thumb-elf @@ -3,10 +3,10 @@ LIB1ASMSRC = arm/lib1thumb.asm LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX # adddi3/subdi3 added to machine description -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 echo '#define FLOAT' > fp-bit.c diff --git a/gcc/config/arm/t-thumb-linux b/gcc/config/arm/t-thumb-linux index 3cde74c..e028ac0 100644 --- a/gcc/config/arm/t-thumb-linux +++ b/gcc/config/arm/t-thumb-linux @@ -21,7 +21,10 @@ EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o LIBGCC = stmp-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 echo '#define FLOAT' > fp-bit.c diff --git a/gcc/config/h8300/t-h8300 b/gcc/config/h8300/t-h8300 index e220048..fbc4d73 100644 --- a/gcc/config/h8300/t-h8300 +++ b/gcc/config/h8300/t-h8300 @@ -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. 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 echo '#define FLOAT' > fp-bit.c diff --git a/gcc/config/i960/t-960bare b/gcc/config/i960/t-960bare index 37929bb..5c6b827 100644 --- a/gcc/config/i960/t-960bare +++ b/gcc/config/i960/t-960bare @@ -1,7 +1,12 @@ 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 echo '#define FLOAT_BIT_ORDER_MISMATCH' > dp-bit.c diff --git a/gcc/config/i960/t-vxworks960 b/gcc/config/i960/t-vxworks960 index 851e7bd..43949fa 100644 --- a/gcc/config/i960/t-vxworks960 +++ b/gcc/config/i960/t-vxworks960 @@ -4,7 +4,12 @@ CROSS_LIBGCC1 = # We don't want to put exit in libgcc.a for VxWorks, because VxWorks # does not have _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 echo '#define FLOAT_BIT_ORDER_MISMATCH' > dp-bit.c diff --git a/gcc/config/m32r/t-m32r b/gcc/config/m32r/t-m32r index 4b8f417..5a60e18 100644 --- a/gcc/config/m32r/t-m32r +++ b/gcc/config/m32r/t-m32r @@ -1,10 +1,10 @@ # lib1funcs.asm is currently empty. CROSS_LIBGCC1 = -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 # Turn off the SDA while compiling libgcc2. There are no headers for it # and we want maximal upward compatibility here. diff --git a/gcc/config/mips/t-ecoff b/gcc/config/mips/t-ecoff index 8de03ffd..55855a0 100644 --- a/gcc/config/mips/t-ecoff +++ b/gcc/config/mips/t-ecoff @@ -32,7 +32,10 @@ TARGET_LIBGCC2_CFLAGS = -G 0 # fp-bit and dp-bit are really part of libgcc1, but this will cause # 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 echo '#ifdef __MIPSEL__' > dp-bit.c diff --git a/gcc/config/mips/t-elf b/gcc/config/mips/t-elf index dd01b7f..416e39a 100644 --- a/gcc/config/mips/t-elf +++ b/gcc/config/mips/t-elf @@ -36,7 +36,10 @@ TARGET_LIBGCC2_CFLAGS = -G 0 # fp-bit and dp-bit are really part of libgcc1, but this will cause # 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 echo '#ifdef __MIPSEL__' > dp-bit.c diff --git a/gcc/config/mips/t-r3900 b/gcc/config/mips/t-r3900 index 055143f..ebc249e 100644 --- a/gcc/config/mips/t-r3900 +++ b/gcc/config/mips/t-r3900 @@ -32,7 +32,10 @@ TARGET_LIBGCC2_CFLAGS = -G 0 # fp-bit and dp-bit are really part of libgcc1, but this will cause # 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 echo '#ifdef __MIPSEL__' > dp-bit.c diff --git a/gcc/config/mn10200/t-mn10200 b/gcc/config/mn10200/t-mn10200 index d02d151..f27815a 100644 --- a/gcc/config/mn10200/t-mn10200 +++ b/gcc/config/mn10200/t-mn10200 @@ -31,9 +31,6 @@ LIB1ASMFUNCS = _divhi3 \ _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. TARGET_LIBGCC2_CFLAGS=-DDF=SF -DDI=SI LIB2FUNCS_EXTRA = $(srcdir)/config/mn10200/udivmodsi4.c \ diff --git a/gcc/config/mn10300/t-mn10300 b/gcc/config/mn10300/t-mn10300 index 7e94656..5dbb46f 100644 --- a/gcc/config/mn10300/t-mn10300 +++ b/gcc/config/mn10300/t-mn10300 @@ -1,9 +1,6 @@ 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 # floating point emulation libraries. FPBIT = fp-bit.c diff --git a/gcc/config/pa/t-pro b/gcc/config/pa/t-pro index e68fd17..26ced7e 100644 --- a/gcc/config/pa/t-pro +++ b/gcc/config/pa/t-pro @@ -7,7 +7,13 @@ LIBGCC1_TEST = 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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/rs6000/t-aix43 b/gcc/config/rs6000/t-aix43 index c4e3631..8897c56 100644 --- a/gcc/config/rs6000/t-aix43 +++ b/gcc/config/rs6000/t-aix43 @@ -2,9 +2,10 @@ LIBGCC1 = CROSS_LIBGCC1 = -# These are really part of libgcc1, but this will cause 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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/rs6000/t-beos b/gcc/config/rs6000/t-beos index 1436108..b9b578c 100644 --- a/gcc/config/rs6000/t-beos +++ b/gcc/config/rs6000/t-beos @@ -2,9 +2,10 @@ LIBGCC1 = CROSS_LIBGCC1 = -# These are really part of libgcc1, but this will cause 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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/rs6000/t-newas b/gcc/config/rs6000/t-newas index 823b03b..cadcb95 100644 --- a/gcc/config/rs6000/t-newas +++ b/gcc/config/rs6000/t-newas @@ -2,9 +2,10 @@ LIBGCC1 = CROSS_LIBGCC1 = -# These are really part of libgcc1, but this will cause 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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/rs6000/t-ppccomm b/gcc/config/rs6000/t-ppccomm index 9ed1690..408f535 100644 --- a/gcc/config/rs6000/t-ppccomm +++ b/gcc/config/rs6000/t-ppccomm @@ -6,7 +6,13 @@ CROSS_LIBGCC1 = # These are really part of libgcc1, but this will cause them to be # 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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/rs6000/t-rs6000 b/gcc/config/rs6000/t-rs6000 index 4c659a6..98f4473 100644 --- a/gcc/config/rs6000/t-rs6000 +++ b/gcc/config/rs6000/t-rs6000 @@ -2,9 +2,10 @@ LIBGCC1 = CROSS_LIBGCC1 = -# These are really part of libgcc1, but this will cause 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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/rs6000/t-winnt b/gcc/config/rs6000/t-winnt index f58aefe..1aafae4 100644 --- a/gcc/config/rs6000/t-winnt +++ b/gcc/config/rs6000/t-winnt @@ -6,7 +6,13 @@ EXTRA_PARTS = crti.o crtn.o # These are really part of libgcc1, but this will cause them to be # 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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/rs6000/t-xnewas b/gcc/config/rs6000/t-xnewas index 285f825..219eaf3 100644 --- a/gcc/config/rs6000/t-xnewas +++ b/gcc/config/rs6000/t-xnewas @@ -8,9 +8,10 @@ LIBGCC1_TEST = LIBGCC1 = CROSS_LIBGCC1 = -# These are really part of libgcc1, but this will cause 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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/rs6000/t-xrs6000 b/gcc/config/rs6000/t-xrs6000 index f5d34d6..fc6cc60 100644 --- a/gcc/config/rs6000/t-xrs6000 +++ b/gcc/config/rs6000/t-xrs6000 @@ -8,9 +8,10 @@ LIBGCC1_TEST = LIBGCC1 = CROSS_LIBGCC1 = -# These are really part of libgcc1, but this will cause 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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/sh/t-sh b/gcc/config/sh/t-sh index bfbf45e..ebe013e 100644 --- a/gcc/config/sh/t-sh +++ b/gcc/config/sh/t-sh @@ -3,10 +3,10 @@ LIB1ASMSRC = sh/lib1funcs.asm LIB1ASMFUNCS = _ashiftrt _ashiftrt_n _ashiftlt _lshiftrt _movstr \ _movstr_i4 _mulsi3 _sdivsi3 _sdivsi3_i4 _udivsi3 _udivsi3_i4 _set_fpscr -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c diff --git a/gcc/config/sparc/t-elf b/gcc/config/sparc/t-elf index da9df38..d05f990 100644 --- a/gcc/config/sparc/t-elf +++ b/gcc/config/sparc/t-elf @@ -8,10 +8,10 @@ LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3 # crt0 is built elsewhere LIBGCC1_TEST = -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/sparc/t-sparcbare b/gcc/config/sparc/t-sparcbare index 8bd978b..01562b2 100644 --- a/gcc/config/sparc/t-sparcbare +++ b/gcc/config/sparc/t-sparcbare @@ -4,10 +4,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a LIB1ASMSRC = sparc/lb1spc.asm LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3 -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/sparc/t-sparclite b/gcc/config/sparc/t-sparclite index 7cdfbb0..b5ccbb1 100644 --- a/gcc/config/sparc/t-sparclite +++ b/gcc/config/sparc/t-sparclite @@ -2,10 +2,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a LIB1ASMSRC = sparc/lb1spl.asm LIB1ASMFUNCS = _divsi3 _udivsi3 _modsi3 _umodsi3 -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 echo '#define US_SOFTWARE_GOFAST' > dp-bit.c diff --git a/gcc/config/sparc/t-splet b/gcc/config/sparc/t-splet index 3329e0b..ecead40 100644 --- a/gcc/config/sparc/t-splet +++ b/gcc/config/sparc/t-splet @@ -4,10 +4,10 @@ CROSS_LIBGCC1 = libgcc1-asm.a LIB1ASMSRC = sparc/lb1spc.asm LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3 -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 cat $(srcdir)/config/fp-bit.c > dp-bit.c diff --git a/gcc/config/v850/t-v850 b/gcc/config/v850/t-v850 index 12af46b..290d28b 100644 --- a/gcc/config/v850/t-v850 +++ b/gcc/config/v850/t-v850 @@ -33,10 +33,10 @@ LIB1ASMFUNCS = _mulsi3 \ _save_all_interrupt -# These are really part of libgcc1, but this will cause them to be -# built correctly, so... - -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 echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c |