diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-30 08:25:59 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-30 08:25:59 +0000 |
commit | a8bda0a129c4d74b7a99f2a57a0de7559e5567e0 (patch) | |
tree | 7441c7d8a77c3e8620a3862b2da31c90152db14c | |
parent | f3573c9afb52dbe80276ce2300e4713fcacae1c3 (diff) | |
download | ppe42-gcc-a8bda0a129c4d74b7a99f2a57a0de7559e5567e0.tar.gz ppe42-gcc-a8bda0a129c4d74b7a99f2a57a0de7559e5567e0.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37868 138bc75d-0d04-0410-961f-82ee72b054a4
-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 654e0237d05..8ce00fedeff 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 6faa09102b5..6faa09102b5 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 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 index 1395e9cc940..1395e9cc940 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 83c2340c2f8..83c2340c2f8 100644 --- a/gcc/config/mn10200/udivmodsi4.c +++ b/gcc/config/udivmodsi4.c |