]> git.pld-linux.org Git - packages/gcc.git/blobdiff - gcc-moresparcs.patch
- release 2, oneline fix for sigsegv in libgomp
[packages/gcc.git] / gcc-moresparcs.patch
index 38a68ffcfdf701baab0e49439622c325916f49d9..b9c0662ad61acaa47fe2e220912a80ddfa70e6a7 100644 (file)
@@ -1,40 +1,42 @@
---- gcc-4.6.0/gcc/config.gcc.orig      2011-03-14 07:05:29.000000000 +0100
-+++ gcc-4.6.0/gcc/config.gcc   2011-04-30 16:17:12.535045280 +0200
-@@ -2529,7 +2529,7 @@
-       tmake_file="sparc/t-elf sparc/t-crtfm t-rtems"
-       extra_parts="crtbegin.o crtend.o"
+diff -urNp -x '*.orig' gcc-10.2.0.org/gcc/config.gcc gcc-10.2.0/gcc/config.gcc
+--- gcc-10.2.0.org/gcc/config.gcc      2021-03-21 11:32:24.611515690 +0100
++++ gcc-10.2.0/gcc/config.gcc  2021-03-21 11:32:46.784515690 +0100
+@@ -3289,7 +3289,7 @@ sparc-*-rtems*)
+       tm_file="${tm_file} elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
+       tmake_file="${tmake_file} sparc/t-sparc sparc/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"
+       tm_file="${tm_file} 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"
        case ${target} in
-@@ -2623,7 +2623,7 @@
-       tmake_file="${tmake_file} sparc/t-crtfm t-rtems"
-       extra_parts="crtbegin.o crtend.o"
+@@ -3343,7 +3343,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/linux64.h"
+       tm_file="sparc/biarch64.h ${tm_file} 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"
---- gcc-4.6.0/libgcc/config.host.orig  2011-03-14 07:06:23.000000000 +0100
-+++ gcc-4.6.0/libgcc/config.host       2011-04-30 16:18:16.995047438 +0200
-@@ -548,7 +548,7 @@
-       ;;
- sparc-*-elf*)
+       tmake_file="${tmake_file} sparc/t-sparc sparc/t-linux64"
+diff -urNp -x '*.orig' gcc-10.2.0.org/libgcc/config.host gcc-10.2.0/libgcc/config.host
+--- gcc-10.2.0.org/libgcc/config.host  2020-07-23 08:35:18.752400064 +0200
++++ gcc-10.2.0/libgcc/config.host      2021-03-21 11:32:46.785515690 +0100
+@@ -1363,7 +1363,7 @@ sparc-*-elf*)
+       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"
+@@ -1411,7 +1411,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*
+       tmake_file="$tmake_file t-crtfm"
        extra_parts="$extra_parts crtfastmath.o"
-       tmake_file="${tmake_file} sparc/t-crtfm"
-       ;;
-@@ -564,7 +564,7 @@
-       ;;
- 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.041971 seconds and 4 git commands to generate.