udivmod.c, [...]: Moved from here.

* config/mn10200/udivmod.c, config/mn10200/divmod.c,
	config/mn10200/udivmodsi4.c: Moved from here.
	* config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
	* config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
	C division functions.
	* config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.

From-SVN: r37868
This commit is contained in:
Stephane Carrez 2000-11-30 09:25:59 +01:00 committed by Jeff Law
parent 15c2086a04
commit 75273d0832
6 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,12 @@
2000-11-05 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* config/mn10200/udivmod.c, config/mn10200/divmod.c,
config/mn10200/udivmodsi4.c: Moved from here.
* config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
* config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
C division functions.
* config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.
Thu Nov 30 01:12:52 2000 Jeffrey A Law (law@cygnus.com)
* pa.md (conditional moves): Avoid holes in operand list.

View File

@ -28,10 +28,9 @@ LIB1ASMFUNCS = _mulsi3 \
TARGET_LIBGCC2_CFLAGS = -DUSE_GAS -DIN_GCC
# 32-bit div/mod from the mn10200 port. Prototypes have been added
# to avoid problems in passing 16/32-bit int (last param of udivmodsi4).
LIB2FUNCS_EXTRA = $(srcdir)/config/m68hc11/udivmodsi4.c \
$(srcdir)/config/m68hc11/divmod.c $(srcdir)/config/m68hc11/udivmod.c
# C implementation of 32-bit div/mod.
LIB2FUNCS_EXTRA = $(srcdir)/config/udivmodsi4.c \
$(srcdir)/config/divmod.c $(srcdir)/config/udivmod.c
# Don't compile with -g1 this reduces the size of some sections (.eh_frame).
LIBGCC2_DEBUG_CFLAGS =

View File

@ -33,8 +33,8 @@ LIB1ASMFUNCS = _divhi3 \
# 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 \
$(srcdir)/config/mn10200/divmod.c $(srcdir)/config/mn10200/udivmod.c
LIB2FUNCS_EXTRA = $(srcdir)/config/udivmodsi4.c \
$(srcdir)/config/divmod.c $(srcdir)/config/udivmod.c
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries. The mn10200 only has single