]> git.pld-linux.org Git - packages/gcc.git/blobdiff - gcc-moresparcs.patch
8.0.1 requires binutils >= 2.30
[packages/gcc.git] / gcc-moresparcs.patch
index df1ca70781997ee81ea994ec3ee17458eb756e80..0a243b52e2df56f9946dbb4d2e038ab8feb4609f 100644 (file)
@@ -1,40 +1,40 @@
---- gcc/config.gcc.jj  2008-04-24 15:42:46.000000000 -0500
-+++ gcc/config.gcc     2008-04-24 15:44:51.000000000 -0500
-@@ -2370,7 +2370,7 @@
-       tmake_file="sparc/t-elf sparc/t-crtfm"
-       extra_parts="crti.o crtn.o crtbegin.o crtend.o"
-       ;;
--sparc-*-linux*)               # SPARC's running GNU/Linux, libc6
-+sparc-*-linux* | sparcv[789]*-*-linux*)               # SPARC's running GNU/Linux, libc6
-       tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h glibc-stdint.h"
+--- gcc-4.7.1/gcc/config.gcc.orig      2012-07-10 17:33:40.596463050 +0200
++++ gcc-4.7.1/gcc/config.gcc   2012-07-12 18:39:03.475713361 +0200
+@@ -2401,7 +2401,7 @@
+       tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
+       tmake_file="sparc/t-sparc sparc/t-elf t-rtems"
+       ;;
+-sparc-*-linux*)
++sparc-*-linux* | sparcv[789]*-*-linux*)
+       tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
        extra_options="${extra_options} sparc/long-double-switch.opt"
-       tmake_file="${tmake_file} sparc/t-linux"
-@@ -2458,7 +2458,7 @@
-               *) echo "$with_cpu not supported for freebsd target"; exit 1 ;;
-       esac
-       ;;
--sparc64-*-linux*)             # 64-bit SPARC's running GNU/Linux
-+sparc64*-*-linux*)            # 64-bit SPARC's running GNU/Linux
-       tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h glibc-stdint.h sparc/linux64.h"
+       case ${target} in
+@@ -2878,7 +2878,7 @@ sparc64-*-rtems*)
+       extra_options="${extra_options}"
+       tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
+       ;;
+-sparc64-*-linux*)
++sparc64*-*-linux*)
+       tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default64.h sparc/linux64.h sparc/tso.h"
        extra_options="${extra_options} sparc/long-double-switch.opt"
-       tmake_file="${tmake_file} sparc/t-linux sparc/t-linux64 sparc/t-crtfm"
---- libgcc/config.host.jj      2008-04-24 15:46:19.000000000 -0500
-+++ libgcc/config.host 2008-04-24 15:46:49.000000000 -0500
-@@ -572,7 +572,7 @@ sparc64-*-openbsd*)
-       ;;
- sparc-*-elf*)
+       tmake_file="${tmake_file} sparc/t-sparc sparc/t-linux64"
+--- gcc-4.7.1/libgcc/config.host.orig  2012-04-30 19:39:57.000000000 +0200
++++ gcc-4.7.1/libgcc/config.host       2012-07-12 18:39:51.112378028 +0200
+@@ -1012,7 +1012,7 @@
+       tmake_file="${tmake_file} t-fdpbit t-crtfm"
+       extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
        ;;
 -sparc-*-linux*)               # SPARC's running GNU/Linux, libc6
 +sparc-*-linux* | sparcv[789]*-*-linux*)               # SPARC's running GNU/Linux, libc6
+       tmake_file="${tmake_file} t-crtfm"
+       if test "${host_address}" = 64; then
+               tmake_file="$tmake_file sparc/t-linux64"
+@@ -1060,7 +1060,7 @@
+       tmake_file="$tmake_file t-crtfm"
        extra_parts="$extra_parts crtfastmath.o"
-       tmake_file="${tmake_file} sparc/t-crtfm"
-       ;;
-@@ -590,7 +590,7 @@ sparc-wrs-vxworks)
-       ;;
- sparc64-*-freebsd*|ultrasparc-*-freebsd*)
        ;;
 -sparc64-*-linux*)             # 64-bit SPARC's running GNU/Linux
 +sparc64*-*-linux*)            # 64-bit SPARC's running GNU/Linux
        extra_parts="$extra_parts crtfastmath.o"
-       tmake_file="${tmake_file} sparc/t-crtfm"
-       ;;
+       tmake_file="${tmake_file} t-crtfm sparc/t-linux"
+       if test "${host_address}" = 64; then
This page took 0.037001 seconds and 4 git commands to generate.