This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Move mn10200 *div*.c files to common config directory
- To: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>
- Subject: Re: [PATCH]: Move mn10200 *div*.c files to common config directory
- From: Jeffrey A Law <law at redhat dot com>
- Date: Thu, 30 Nov 2000 01:27:46 -0700
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <3A053F9D.8FC93424@worldnet.fr>you write:
> Il s'agit d'un message multivolet au format MIME.
> --------------DE7C197D398CEBEB828880C5
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Hi!
>
> This patch moves the following files that implement 32-bit divisions:
>
> gcc/config/mn10200/udivmod.c
> gcc/config/mn10200/udivmodsi4.c
> gcc/config/mn10200/divmod.c
>
> to the gcc/config directory so that several ports can use them. The C files
> are not changed. The patch fixes mn10200 and m68hc11 targets to take this
> move into account.
>
> I've built the mn10200 (after Michael libgcc2.h patch). It compiled as far
> as this patch is concerned but gcc crashed in:
> ./libgcc2.c:748: Internal compiler error in update_equiv_regs, at local-all
> oc.c:1093
>
>
> Do you agree with this patch?
>
> Stephane
>
> 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.
Thanks. Installed.
jeff