patches/gcc/4.4.4/270-sh-pr24836.patch
author Cody P Schafer <dev@codyps.com>
Mon May 12 00:02:13 2014 +0200 (2014-05-12)
changeset 3322 eb13867a034c
parent 1948 d341be24dc68
permissions -rw-r--r--
arch/powerpc: add powerpc64le support

Technically, I don't forbid powerpcle support either, but I'm not sure that
there is any library/compiler support for that at the moment (though the hw
technically makes it possible).

powerpc64le needs glibc 2.19 and gcc 4.9. I haven't looked into the support
tools, but at least gdb 7.5 is too old (7.7.1 definitely has support).

Also make powerpc64 non-experimental. It's practically old at this point.

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: use ${target_endian_le} and ${target_bits_64}]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <64bfbbced9dd8f62e0d6.1399801945@gun>
Patchwork-Id: 347775
yann@1948
     1
diff -durN gcc-4.4.4.orig/gcc/configure gcc-4.4.4/gcc/configure
yann@1948
     2
--- gcc-4.4.4.orig/gcc/configure	2010-05-16 19:11:00.000000000 +0200
yann@1948
     3
+++ gcc-4.4.4/gcc/configure	2010-05-16 19:14:31.000000000 +0200
yann@1948
     4
@@ -22241,7 +22241,7 @@
yann@1948
     5
 	tls_first_minor=14
yann@1948
     6
 	tls_as_opt="-m64 -Aesame --fatal-warnings"
yann@1948
     7
 	;;
yann@1948
     8
-  sh-*-* | sh[34]-*-*)
yann@1948
     9
+  sh-*-* | sh[34]*-*-*)
yann@1948
    10
     conftest_s='
yann@1948
    11
 	.section ".tdata","awT",@progbits
yann@1948
    12
 foo:	.long	25
yann@1948
    13
diff -durN gcc-4.4.4.orig/gcc/configure.ac gcc-4.4.4/gcc/configure.ac
yann@1948
    14
--- gcc-4.4.4.orig/gcc/configure.ac	2010-05-16 19:11:00.000000000 +0200
yann@1948
    15
+++ gcc-4.4.4/gcc/configure.ac	2010-05-16 19:14:31.000000000 +0200
yann@1948
    16
@@ -2684,7 +2684,7 @@
yann@1948
    17
 	tls_first_minor=14
yann@1948
    18
 	tls_as_opt="-m64 -Aesame --fatal-warnings"
yann@1948
    19
 	;;
yann@1948
    20
-  sh-*-* | sh[34]-*-*)
yann@1948
    21
+  sh-*-* | sh[34]*-*-*)
yann@1948
    22
     conftest_s='
yann@1948
    23
 	.section ".tdata","awT",@progbits
yann@1948
    24
 foo:	.long	25