source: rtems/contrib/crossrpms/patches/gcc-core-4.2.0-rtems4.8-20070613.diff @ 3dd61288

4.104.114.95
Last change on this file since 3dd61288 was c0064d39, checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/13/07 at 15:40:32

Add sparc fpu bug fix.

  • Property mode set to 100644
File size: 1.8 KB
  • gcc/config/arm/rtems-elf.h

    diff -uNr gcc-4.2.0.orig/gcc/config/arm/rtems-elf.h gcc-4.2.0/gcc/config/arm/rtems-elf.h
    old new  
    2727#define TARGET_OS_CPP_BUILTINS()                \
    2828    do {                                        \
    2929        builtin_define ("__rtems__");           \
     30        builtin_define ("__USE_INIT_FINI__");   \
    3031        builtin_assert ("system=rtems");        \
    3132    } while (0)
    3233
  • gcc/config/c4x/rtems.h

    diff -uNr gcc-4.2.0.orig/gcc/config/c4x/rtems.h gcc-4.2.0/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

    diff -uNr gcc-4.2.0.orig/gcc/config/mips/elf.h gcc-4.2.0/gcc/config/mips/elf.h
    old new  
    4949#undef  ENDFILE_SPEC
    5050#define ENDFILE_SPEC "crtend%O%s crtn%O%s"
    5151
    52 #define NO_IMPLICIT_EXTERN_C 1
    53 
    5452#define HANDLE_PRAGMA_PACK_PUSH_POP 1
  • gcc/config/sparc/sparc.c

    diff -uNr gcc-4.2.0.orig/gcc/config/sparc/sparc.c gcc-4.2.0/gcc/config/sparc/sparc.c
    old new  
    703703        error ("-mcmodel= is not supported on 32 bit systems");
    704704    }
    705705
    706   fpu = TARGET_FPU; /* save current -mfpu status */
     706  fpu = target_flags & MASK_FPU; /* save current -mfpu status */
    707707
    708708  /* Set the default CPU.  */
    709709  for (def = &cpu_default[0]; def->name; ++def)
Note: See TracBrowser for help on using the repository browser.