diff options
author | Stephane Carrez <Stephane.Carrez@worldnet.fr> | 2000-11-30 09:25:59 +0100 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-11-30 01:25:59 -0700 |
commit | 75273d0832af1a5ce7bd23bff7221094e197b8e1 (patch) | |
tree | 7441c7d8a77c3e8620a3862b2da31c90152db14c /gcc | |
parent | 15c2086a04403040aad95867e4a2cf89cc25cd17 (diff) | |
download | gcc-75273d0832af1a5ce7bd23bff7221094e197b8e1.zip gcc-75273d0832af1a5ce7bd23bff7221094e197b8e1.tar.gz gcc-75273d0832af1a5ce7bd23bff7221094e197b8e1.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/divmod.c (renamed from gcc/config/mn10200/divmod.c) | 0 | ||||
-rw-r--r-- | gcc/config/m68hc11/t-m68hc11-gas | 7 | ||||
-rw-r--r-- | gcc/config/mn10200/t-mn10200 | 4 | ||||
-rw-r--r-- | gcc/config/udivmod.c (renamed from gcc/config/mn10200/udivmod.c) | 0 | ||||
-rw-r--r-- | gcc/config/udivmodsi4.c (renamed from gcc/config/mn10200/udivmodsi4.c) | 0 |
6 files changed, 14 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 654e023..8ce00fe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/mn10200/divmod.c b/gcc/config/divmod.c index 6faa091..6faa091 100644 --- a/gcc/config/mn10200/divmod.c +++ b/gcc/config/divmod.c diff --git a/gcc/config/m68hc11/t-m68hc11-gas b/gcc/config/m68hc11/t-m68hc11-gas index 221a853..ec4b59e 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 f27815a..072d6f4 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 index 1395e9c..1395e9c 100644 --- a/gcc/config/mn10200/udivmod.c +++ b/gcc/config/udivmod.c diff --git a/gcc/config/mn10200/udivmodsi4.c b/gcc/config/udivmodsi4.c index 83c2340..83c2340 100644 --- a/gcc/config/mn10200/udivmodsi4.c +++ b/gcc/config/udivmodsi4.c |