gcc 3.0 patch left to submit

Ralf Corsepius corsepiu at faw.uni-ulm.de
Tue Jun 19 15:21:27 UTC 2001


Joel Sherrill wrote:
> 
> Attached is a PARTIAL patch to gcc 3.0 for RTEMS.  I am in
> the process of ripping it apart and reviewing it.  I need
> help writing ChangeLog entries for the remaining portions.
> The files included are:
> 
> gcc-3.0-20010614/gcc/config/i386/rtems.h
> gcc-3.0-20010614/gcc/config/i386/rtemself.h
> gcc-3.0-20010614/gcc/config/i386/t-i386bare
> gcc-3.0-20010614/gcc/config/i386/t-rtems-i386
> 
> The i386 ones seems to be a mix of soft-float and multilib
> support.

> diff -uNr /usr1/rtems/work-tools/original/gcc-3.0-20010614/gcc/config/i386/t-rtems-i386 gcc-3.0-20010614/gcc/config/i386/t-rtems-i386
> --- /usr1/rtems/work-tools/original/gcc-3.0-20010614/gcc/config/i386/t-rtems-i386       Tue Sep 14 04:52:06 1999
> +++ gcc-3.0-20010614/gcc/config/i386/t-rtems-i386       Fri Jun 15 08:24:02 2001

> +MULTILIB_OPTIONS = m486/mpentium/mpentiumpro/mcpu=k6 msoft-float \
> +mno-fp-ret-in-387
> +MULTILIB_DIRNAMES= m486 mpentium mpentiumpro k6 soft-float nofp
> +MULTILIB_MATCHES = msoft-float=mno-m80387
> +MULTILIB_EXCEPTIONS = \
> +mno-fp-ret-in-387 \
> +m486/*mno-fp-ret-in-387* \
> +mpentium/*msoft-float* mpentium/*mno-fp-ret-in-387* \
> +mpentiumpro/*msoft-float* mpentiumpro/*mno-fp-ret-in-387* \
> +mcpu=k6/*msoft-float* mcpu=k6/*mno-fp-ret-in-387*
> +
> +EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
> +
> +LIBGCC = stmp-multilib
> +INSTALL_LIBGCC = install-multilib

Huh? Didn't you receive my fix from earlier today?

This is conforming to gcc-3.0, your patch violates gcc-3.0
requirements:

> +MULTILIB_OPTIONS = mcpu=i486/mcpu=pentium/mcpu=pentiumpro/mcpu=k6/mcpu=athlon
> +msoft-float mno-fp-ret-in-387
> +MULTILIB_DIRNAMES= m486 mpentium mpentiumpro k6 athlon soft-float nofp
> +MULTILIB_MATCHES = msoft-float=mno-m80387
> +MULTILIB_EXCEPTIONS = \
> +mno-fp-ret-in-387 \
> +mcpu=i486/*mno-fp-ret-in-387* \
> +mcpu=pentium/*msoft-float* mcpu=pentium/*mno-fp-ret-in-387* \
> +mcpu=pentiumpro/*msoft-float* mcpu=pentiumpro/*mno-fp-ret-in-387* \
> +mcpu=k6/*msoft-float* mcpu=k6/*mno-fp-ret-in-387* \
> +mcpu=athlon/*msoft-float* mcpu=athlon/*mno-fp-ret-in-387*
> +

Ralf

-- 
Ralf Corsepius 
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
(FAW)
Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
mailto:corsepiu at faw.uni-ulm.de           FAX: +49/731/501-999  
http://www.faw.uni-ulm.de



More information about the users mailing list