From 75273d0832af1a5ce7bd23bff7221094e197b8e1 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Thu, 30 Nov 2000 09:25:59 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 9 +++++++++ gcc/config/{mn10200 => }/divmod.c | 0 gcc/config/m68hc11/t-m68hc11-gas | 7 +++---- gcc/config/mn10200/t-mn10200 | 4 ++-- gcc/config/{mn10200 => }/udivmod.c | 0 gcc/config/{mn10200 => }/udivmodsi4.c | 0 6 files changed, 14 insertions(+), 6 deletions(-) rename gcc/config/{mn10200 => }/divmod.c (100%) rename gcc/config/{mn10200 => }/udivmod.c (100%) rename gcc/config/{mn10200 => }/udivmodsi4.c (100%) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 654e0237d05..8ce00fedeff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2000-11-05 Stephane Carrez + + * 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. diff --git a/gcc/config/mn10200/divmod.c b/gcc/config/divmod.c similarity index 100% rename from gcc/config/mn10200/divmod.c rename to gcc/config/divmod.c diff --git a/gcc/config/m68hc11/t-m68hc11-gas b/gcc/config/m68hc11/t-m68hc11-gas index 221a8530c93..ec4b59e027b 100644 --- a/gcc/config/m68hc11/t-m68hc11-gas +++ b/gcc/config/m68hc11/t-m68hc11-gas @@ -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 = diff --git a/gcc/config/mn10200/t-mn10200 b/gcc/config/mn10200/t-mn10200 index f27815a2dc0..072d6f42b88 100644 --- a/gcc/config/mn10200/t-mn10200 +++ b/gcc/config/mn10200/t-mn10200 @@ -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 diff --git a/gcc/config/mn10200/udivmod.c b/gcc/config/udivmod.c similarity index 100% rename from gcc/config/mn10200/udivmod.c rename to gcc/config/udivmod.c diff --git a/gcc/config/mn10200/udivmodsi4.c b/gcc/config/udivmodsi4.c similarity index 100% rename from gcc/config/mn10200/udivmodsi4.c rename to gcc/config/udivmodsi4.c -- 2.30.2