patches/binutils/2.20/120-sh-targets.patch
author Arnaud Lacombe <lacombar@gmail.com>
Thu Aug 05 17:59:49 2010 +0200 (2010-08-05)
changeset 2067 477c7955e6b0
parent 1614 3f76cdbceb6e
permissions -rw-r--r--
complibs/ppl: fix PPL build with GMP 5.x.x

From http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commitdiff;h=9c19bc2b318a35016e0189f9552c98910be37f53

Author: Roberto Bagnara <bagnara@cs.unipr.it>
Revision log: Added support for GMP 5.0.

Adapted manually to match and not having to re-generate the configure script.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
     1 --- binutils-2.20-dist/configure
     2 +++ binutils-2.20/configure
     3 @@ -3054,7 +3054,7 @@
     4    am33_2.0-*-linux*)
     5      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
     6      ;;
     7 -  sh-*-linux*)
     8 +  sh*-*-linux*)
     9      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    10      ;;
    11    sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    12 @@ -3390,7 +3390,7 @@
    13    romp-*-*)
    14      noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    15      ;;
    16 -  sh-*-* | sh64-*-*)
    17 +  sh*-*-* | sh64-*-*)
    18      case "${host}" in
    19        i[3456789]86-*-vsta) ;; # don't add gprof back in
    20        i[3456789]86-*-go32*) ;; # don't add gprof back in
    21 --- binutils-2.20-dist/configure.ac
    22 +++ binutils-2.20/configure.ac
    23 @@ -424,7 +424,7 @@
    24    am33_2.0-*-linux*)
    25      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    26      ;;
    27 -  sh-*-linux*)
    28 +  sh*-*-linux*)
    29      noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
    30      ;;    
    31    sh*-*-pe|mips*-*-pe|*arm-wince-pe)
    32 @@ -712,7 +712,7 @@
    33    romp-*-*)
    34      noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
    35      ;;
    36 -  sh-*-* | sh64-*-*)
    37 +  sh*-*-* | sh64-*-*)
    38      case "${host}" in
    39        i[[3456789]]86-*-vsta) ;; # don't add gprof back in
    40        i[[3456789]]86-*-go32*) ;; # don't add gprof back in