OSDN Git Service

* config/mn10200/udivmod.c, config/mn10200/divmod.c,
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Nov 2000 08:25:59 +0000 (08:25 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Nov 2000 08:25:59 +0000 (08:25 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37868 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/divmod.c [moved from gcc/config/mn10200/divmod.c with 100% similarity]
gcc/config/m68hc11/t-m68hc11-gas
gcc/config/mn10200/t-mn10200
gcc/config/udivmod.c [moved from gcc/config/mn10200/udivmod.c with 100% similarity]
gcc/config/udivmodsi4.c [moved from gcc/config/mn10200/udivmodsi4.c with 100% similarity]

index 654e023..8ce00fe 100644 (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.
index 221a853..ec4b59e 100644 (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 =
index f27815a..072d6f4 100644 (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