Add lm32-*-rtems*

Ralf Corsepius ralf.corsepius@rtems.org
Tue Mar 30 13:52:00 GMT 2010


On 03/30/2010 03:25 PM, Joel Sherrill wrote:
> Hi,
>
> We have been using this on gcc 4.4 but it needs
> to be added to the head.  Not a big patch.
>
> OK to commit?
>
> 2010-03-30  Joel Sherrill <joel.sherrill@oarcorp.com>
>
>     * config.gcc: Add lm32-*-rtems*.
>     * config/m32/rtems.h: New file.
>
AFAIS, 2 nits:

a) this patch is missing:

diff -Naur gcc-4.5-20100325/libgcc/config.host 
gcc-4.5-20100330/libgcc/config.host
--- gcc-4.5-20100325/libgcc/config.host 2010-02-22 01:37:30.000000000 +0100
+++ gcc-4.5-20100330/libgcc/config.host 2010-03-30 12:48:29.000000000 +0200
@@ -357,7 +357,7 @@
         ;;
  iq2000*-*-elf*)
          ;;
-lm32-*-elf*)
+lm32-*-elf*|lm32-*-rtems*)
          extra_parts="crtbegin.o crtend.o crti.o crtn.o"
          tmake_file="lm32/t-lm32 lm32/t-elf t-softfp"
         ;;


b) config.gcc needs
tmake_file="lm32/t-lm32 t-rtems"
(lm32/t-lm32 was missing until it was added to svn some hours ago).

Ralf



More information about the Gcc-patches mailing list