patches/binutils/2.20.1a/120-sh-targets.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 05 00:01:05 2013 +0200 (2013-05-05)
changeset 3218 3709e61ad85b
parent 2088 4f21ba5f8e91
permissions -rw-r--r--
complibs/cloog: add support for the ISL backend

CLooG 0.18+ will use ISL instead of PPL, so we have to configure
adequately depending of which backend is in use.

The Kconfig entries will decide for us which is selected, so we
can rely on either PPL xor ISL to be selected, not both.

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add ISL support,
which this patch is inspired from]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
yann@2088
     1
yann@2088
     2
yann@2088
     3
diff -durN binutils-2.20.1.orig/configure binutils-2.20.1/configure
yann@2088
     4
--- binutils-2.20.1.orig/configure	2010-08-17 19:32:05.000000000 +0200
yann@2088
     5
+++ binutils-2.20.1/configure	2010-08-17 19:32:07.000000000 +0200
fr@1621
     6
@@ -3054,7 +3054,7 @@
yann@1614
     7
   am33_2.0-*-linux*)
yann@1614
     8
     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
yann@1614
     9
     ;;
yann@1614
    10
-  sh-*-linux*)
yann@1614
    11
+  sh*-*-linux*)
yann@1614
    12
     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
fr@1621
    13
     ;;
yann@1614
    14
   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
fr@1621
    15
@@ -3390,7 +3390,7 @@
yann@1614
    16
   romp-*-*)
yann@1614
    17
     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
yann@1614
    18
     ;;
yann@1614
    19
-  sh-*-* | sh64-*-*)
yann@1614
    20
+  sh*-*-* | sh64-*-*)
yann@1614
    21
     case "${host}" in
yann@1614
    22
       i[3456789]86-*-vsta) ;; # don't add gprof back in
yann@1614
    23
       i[3456789]86-*-go32*) ;; # don't add gprof back in
yann@2088
    24
diff -durN binutils-2.20.1.orig/configure.ac binutils-2.20.1/configure.ac
yann@2088
    25
--- binutils-2.20.1.orig/configure.ac	2010-03-03 15:19:08.000000000 +0100
yann@2088
    26
+++ binutils-2.20.1/configure.ac	2010-08-17 19:32:07.000000000 +0200
yann@2088
    27
@@ -541,7 +541,7 @@
yann@1614
    28
   am33_2.0-*-linux*)
yann@1614
    29
     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
yann@1614
    30
     ;;
yann@1614
    31
-  sh-*-linux*)
yann@1614
    32
+  sh*-*-linux*)
yann@1614
    33
     noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
yann@1614
    34
     ;;    
yann@1614
    35
   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
yann@2088
    36
@@ -877,7 +877,7 @@
yann@1614
    37
   romp-*-*)
yann@1614
    38
     noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
yann@1614
    39
     ;;
yann@1614
    40
-  sh-*-* | sh64-*-*)
yann@1614
    41
+  sh*-*-* | sh64-*-*)
yann@1614
    42
     case "${host}" in
yann@1614
    43
       i[[3456789]]86-*-vsta) ;; # don't add gprof back in
yann@1614
    44
       i[[3456789]]86-*-go32*) ;; # don't add gprof back in