source: rtems/contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060720.diff @ 92b61a71

4.104.114.84.95
Last change on this file since 92b61a71 was 45def1d, checked in by Chris Johns <chrisj@…>, on Jul 19, 2006 at 9:51:39 PM

Added patch to fix GCC bug PR28400.

  • Property mode set to 100644
File size: 2.4 KB
  • gcc/config.gcc

    old new  
    15601560        tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64"
    15611561        use_fixproto=yes
    15621562        ;;
    1563 mips*-*-rtems*)
     1563mips-*-rtems*)
    15641564        tm_file="elfos.h ${tm_file} mips/elf.h mips/rtems.h rtems.h"
    15651565        tmake_file="mips/t-elf t-rtems mips/t-rtems"
    15661566        ;;
  • gcc/config/c4x/rtems.h

    old new  
    2424#define TARGET_OS_CPP_BUILTINS()                \
    2525    do {                                        \
    2626        builtin_define ("__rtems__");           \
    27         builtin_define ("__USE_INIT_FINI__");   \
    2827        builtin_assert ("system=rtems");        \
    2928    } while (0)
  • gcc/config/mips/elf.h

    old new  
    4848
    4949#undef  ENDFILE_SPEC
    5050#define ENDFILE_SPEC "crtend%O%s crtn%O%s"
    51 
    52 #define NO_IMPLICIT_EXTERN_C 1
  • gcc/config/mips/t-rtems

    old new  
    11# Custom multilibs for RTEMS
    22
    3 MULTILIB_OPTIONS = mips1/mips3/mips32 msoft-float/msingle-float
    4 MULTILIB_DIRNAMES = mips1 mips3 mips32 soft-float single
    5 MULTILIB_MATCHES = msingle-float=m4650
     3# default is mips1 EB hard-float
     4MULTILIB_OPTIONS = mips1/mips3/mips32 EB/EL msoft-float
     5MULTILIB_DIRNAMES = mips1 mips3 mips32 eb el soft-float
     6MULTILIB_MATCHES = EL=mel EB=meb
     7
     8MULTILIB_EXCEPTIONS =
     9
     10# Big endian only
     11MULTILIB_EXCEPTIONS += EL*
     12MULTILIB_EXCEPTIONS += mips32/EL*
     13
     14# Little endian only
     15MULTILIB_EXCEPTIONS += mips3
     16MULTILIB_EXCEPTIONS += mips3/msoft-float
  • gcc/Makefile.in

    old new  
    36163616install-driver: installdirs xgcc$(exeext)
    36173617        -rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
    36183618        -$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
    3619         -rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)
     3619        -rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)$(exeext)
    36203620        -( cd $(DESTDIR)$(bindir) && \
    3621            $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version) )
     3621           $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version)$(exeext) )
    36223622        -if [ -f gcc-cross$(exeext) ] ; then \
    36233623          if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \
    36243624            rm -f $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \
Note: See TracBrowser for help on using the repository browser.