source: rtems/contrib/crossrpms/patches/gcc-core-4.3.2-rtems4.9-20081205.diff @ b72be3b

4.9
Last change on this file since b72be3b was b72be3b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 5, 2008 at 8:26:25 AM

gcc/config/rs6000/t-rtems: Fix silly typo.
gcc/config/arm/rtems-elf.h: Undefine LINK_GCC_C_SEQUENCE_SPEC.

  • Property mode set to 100644
File size: 5.2 KB
  • configure

    diff -Naur gcc-4.3.2.orig/configure gcc-4.3.2/configure
    old new  
    21852185    noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
    21862186    ;;
    21872187  *-*-rtems*)
     2188    skipdirs="$skipdirs target-libiberty"
    21882189    noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
    21892190    ;;
    21902191    # The tpf target doesn't support gdb yet.
     
    58295830       # to it.  This is right: we don't want to search that directory
    58305831       # for binaries, but we want the header files in there, so add
    58315832       # them explicitly.
    5832        FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
     5833       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
    58335834
    58345835       # Someone might think of using the pre-installed headers on
    58355836       # Canadian crosses, in case the installed compiler is not fully
  • configure.ac

    diff -Naur gcc-4.3.2.orig/configure.ac gcc-4.3.2/configure.ac
    old new  
    462462    noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
    463463    ;;
    464464  *-*-rtems*)
     465    skipdirs="$skipdirs target-libiberty"
    465466    noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
    466467    ;;
    467468    # The tpf target doesn't support gdb yet.
     
    23402341       # to it.  This is right: we don't want to search that directory
    23412342       # for binaries, but we want the header files in there, so add
    23422343       # them explicitly.
    2343        FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
     2344       FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
    23442345
    23452346       # Someone might think of using the pre-installed headers on
    23462347       # Canadian crosses, in case the installed compiler is not fully
  • gcc/config/arm/rtems-elf.h

    diff -Naur gcc-4.3.2.orig/gcc/config/arm/rtems-elf.h gcc-4.3.2/gcc/config/arm/rtems-elf.h
    old new  
    4343 *  with how this used to be defined.
    4444 */
    4545#undef LINK_GCC_C_SEQUENCE_SPEC
    46 #define LINK_GCC_C_SEQUENCE_SPEC "%G %L"
  • gcc/config/m68k/t-rtems

    diff -Naur gcc-4.3.2.orig/gcc/config/m68k/t-rtems gcc-4.3.2/gcc/config/m68k/t-rtems
    old new  
    44                     || MLIB == "5206" \
    55                     || MLIB == "5208" \
    66                     || MLIB == "5307" \
     7                     || MLIB == "5329" \
    78                     || MLIB == "5407" \
    89                     || MLIB == "5475")
  • gcc/config/mips/elf.h

    diff -Naur gcc-4.3.2.orig/gcc/config/mips/elf.h gcc-4.3.2/gcc/config/mips/elf.h
    old new  
    4848#undef  ENDFILE_SPEC
    4949#define ENDFILE_SPEC "crtend%O%s crtn%O%s"
    5050
    51 #define NO_IMPLICIT_EXTERN_C 1
    52 
    5351#define HANDLE_PRAGMA_PACK_PUSH_POP 1
  • gcc/config/rs6000/rtems.h

    diff -Naur gcc-4.3.2.orig/gcc/config/rs6000/rtems.h gcc-4.3.2/gcc/config/rs6000/rtems.h
    old new  
    4949%{mcpu=604:  %{!Dppc*: %{!Dmpc*: -Dmpc604}  } } \
    5050%{mcpu=750:  %{!Dppc*: %{!Dmpc*: -Dmpc750}  } } \
    5151%{mcpu=821:  %{!Dppc*: %{!Dmpc*: -Dmpc821}  } } \
    52 %{mcpu=860:  %{!Dppc*: %{!Dmpc*: -Dmpc860}  } }"
     52%{mcpu=860:  %{!Dppc*: %{!Dmpc*: -Dmpc860}  } } \
     53%{mcpu=8540: %{!Dppc*: %{!Dmpc*: -Dppc8540}  } }"
    5354
    5455#undef  SUBSUBTARGET_EXTRA_SPECS
    5556#define SUBSUBTARGET_EXTRA_SPECS \
    5657  { "cpp_os_rtems",             CPP_OS_RTEMS_SPEC }
     58
     59#undef SUBSUBTARGET_OVERRIDE_OPTIONS
     60#define SUBSUBTARGET_OVERRIDE_OPTIONS           \
     61  do {                                          \
     62    if (TARGET_E500)                            \
     63      {                                         \
     64        rs6000_float_gprs = 1;                  \
     65      }                                         \
     66  } while(0)
  • gcc/config/rs6000/t-rtems

    diff -Naur gcc-4.3.2.orig/gcc/config/rs6000/t-rtems gcc-4.3.2/gcc/config/rs6000/t-rtems
    old new  
    11# Multilibs for powerpc RTEMS targets.
    22
    33MULTILIB_OPTIONS        = \
    4 mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400 \
     4mcpu=403/mcpu=505/mcpu=601/mcpu=603e/mcpu=604/mcpu=860/mcpu=7400/mcpu=8540 \
    55Dmpc8260 \
    66msoft-float
    77
    88MULTILIB_DIRNAMES       = \
    9 m403 m505 m601 m603e m604 m860 m7400 \
     9m403 m505 m601 m603e m604 m860 m7400 m8540 \
    1010mpc8260 \
    1111nof
    1212
     
    3131# Map 750 to .
    3232MULTILIB_MATCHES        += mcpu?750=
    3333
     34# Map e500, 8548 to 8540
     35MULTILIB_MATCHES        += mcpu?8540=mcpu?e500
     36MULTILIB_MATCHES        += mcpu?8540=mcpu?8548
     37
    3438# Soft-float only, default implies msoft-float
    3539# NOTE: Must match with MULTILIB_MATCHES_FLOAT and MULTILIB_MATCHES
    3640MULTILIB_SOFTFLOAT_ONLY = \
     
    6468MULTILIB_EXCEPTIONS += *mcpu=750/Dmpc*
    6569MULTILIB_EXCEPTIONS += *mcpu=860/Dmpc*
    6670MULTILIB_EXCEPTIONS += *mcpu=7400/Dmpc*
     71MULTILIB_EXCEPTIONS += *mcpu=8540/Dmpc*
Note: See TracBrowser for help on using the repository browser.