source: rtems/contrib/crossrpms/patches/gcc-core-4.2.1-rtems4.8-20071129.diff @ 385451b

4.8
Last change on this file since 385451b was 385451b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 29, 2007 at 1:37:27 PM

Backport from CVS-HEAD/rtems-4.9

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

    diff -uNr gcc-4.2.1.orig/configure gcc-4.2.1/configure
    old new  
    37433743    # For an installed makeinfo, we require it to be from texinfo 4.4 or
    37443744    # higher, else we use the "missing" dummy.
    37453745    if ${MAKEINFO} --version \
    3746        | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
     3746       | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
    37473747      :
    37483748    else
    37493749      MAKEINFO="$MISSING makeinfo"
  • configure.in

    diff -uNr gcc-4.2.1.orig/configure.in gcc-4.2.1/configure.in
    old new  
    22462246    # For an installed makeinfo, we require it to be from texinfo 4.4 or
    22472247    # higher, else we use the "missing" dummy.
    22482248    if ${MAKEINFO} --version \
    2249        | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
     2249       | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
    22502250      :
    22512251    else
    22522252      MAKEINFO="$MISSING makeinfo"
  • gcc/config/arm/rtems-elf.h

    diff -uNr gcc-4.2.1.orig/gcc/config/arm/rtems-elf.h gcc-4.2.1/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.1.orig/gcc/config/c4x/rtems.h gcc-4.2.1/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/m68k/t-rtems

    diff -uNr gcc-4.2.1.orig/gcc/config/m68k/t-rtems gcc-4.2.1/gcc/config/m68k/t-rtems
    old new  
    11# Custom multilibs for RTEMS
    22
    3 MULTILIB_OPTIONS = m68000/m68020/m5200/mcpu32/m68030/m68040/m68060 m68881/msoft-float
     3MULTILIB_OPTIONS = m68000/m68020/m5200/m528x/mcpu32/m68030/m68040/m68060/m5307/m5407/mcfv4e
     4MULTILIB_OPTIONS += m68881/msoft-float
    45MULTILIB_DIRNAMES =
    56MULTILIB_MATCHES = m68000=mc68000 m68000=m68302 mcpu32=m68332 m68020=mc68020 m68030=mc68030
    6 MULTILIB_MATCHES += m5200=m528x
    7 MULTILIB_EXCEPTIONS = m68000/msoft-float m5200/m68881 m5200/msoft-float mcpu32/m68881 mcpu32/msoft-float m68040/m68881 m68060/m68881
     7MULTILIB_MATCHES += m5200=m5206e
     8MULTILIB_EXCEPTIONS = m68000/msoft-float m68040/m68881 m68060/m68881
     9MULTILIB_EXCEPTIONS += mcpu32/m68881 mcpu32/msoft-float
     10MULTILIB_EXCEPTIONS += m5200/m68881 m5200/msoft-float
     11MULTILIB_EXCEPTIONS += m528x/m68881 m528x/msoft-float
     12MULTILIB_EXCEPTIONS += m5307/m68881 m5307/msoft-float
     13MULTILIB_EXCEPTIONS += m5407/m68881 m5407/msoft-float
     14MULTILIB_EXCEPTIONS += mcfv4e/m68881 mcfv4e/msoft-float
  • gcc/config/mips/elf.h

    diff -uNr gcc-4.2.1.orig/gcc/config/mips/elf.h gcc-4.2.1/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/configure

    diff -uNr gcc-4.2.1.orig/gcc/configure gcc-4.2.1/gcc/configure
    old new  
    76547654  echo "configure:7654: version of makeinfo is $ac_prog_version" >&5
    76557655  case $ac_prog_version in
    76567656    '')     gcc_cv_prog_makeinfo_modern=no;;
    7657     4.[4-9]*)
     7657    4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)
    76587658            gcc_cv_prog_makeinfo_modern=yes;;
    76597659    *)      gcc_cv_prog_makeinfo_modern=no;;
    76607660  esac
     
    1393713937  ld_ver=`$gcc_cv_ld --version 2>/dev/null | sed 1q`
    1393813938  if echo "$ld_ver" | grep GNU > /dev/null; then
    1393913939    ld_vers=`echo $ld_ver | sed -n \
    13940         -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
    13941         -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
    13942         -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
     13940        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*.*\)$,\1,p' \
    1394313941        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\)[  ].*$,\1,p' \
    1394413942        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[     ].*$,\1,p' \
    1394513943        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[       ].*$,\1,p' \
  • gcc/configure.ac

    diff -uNr gcc-4.2.1.orig/gcc/configure.ac gcc-4.2.1/gcc/configure.ac
    old new  
    878878# that we can use it.
    879879gcc_AC_CHECK_PROG_VER(MAKEINFO, makeinfo, --version,
    880880  [GNU texinfo.* \([0-9][0-9.]*\)],
    881   [4.[4-9]*])
     881  [4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*])
    882882if test $gcc_cv_prog_makeinfo_modern = no; then
    883883  MAKEINFO="$MISSING makeinfo"
    884884  AC_MSG_WARN([
     
    20942094  if echo "$ld_ver" | grep GNU > /dev/null; then
    20952095changequote(,)dnl
    20962096    ld_vers=`echo $ld_ver | sed -n \
    2097         -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
    2098         -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
    2099         -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
     2097        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*.*\)$,\1,p' \
    21002098        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\)[  ].*$,\1,p' \
    21012099        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[     ].*$,\1,p' \
    21022100        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[       ].*$,\1,p' \
  • gcc/gthr-rtems.h

    diff -uNr gcc-4.2.1.orig/gcc/gthr-rtems.h gcc-4.2.1/gcc/gthr-rtems.h
    old new  
    3838#define __GTHREADS 1
    3939
    4040#define __GTHREAD_ONCE_INIT  0
    41 #define __GTHREAD_MUTEX_INIT 0
    4241#define __GTHREAD_MUTEX_INIT_FUNCTION  rtems_gxx_mutex_init
    4342#define __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION  rtems_gxx_recursive_mutex_init
    4443
Note: See TracBrowser for help on using the repository browser.