]> TLD Linux GIT Repositories - packages/gcc.git/blob - gcc-moresparcs.patch
- fixed branch.diff, bug-111413.patch already in branch.diff
[packages/gcc.git] / gcc-moresparcs.patch
1 diff -urNp -x '*.orig' gcc-10.2.0.org/gcc/config.gcc gcc-10.2.0/gcc/config.gcc
2 --- gcc-10.2.0.org/gcc/config.gcc       2021-03-21 11:32:24.611515690 +0100
3 +++ gcc-10.2.0/gcc/config.gcc   2021-03-21 11:32:46.784515690 +0100
4 @@ -3289,7 +3289,7 @@ sparc-*-rtems*)
5         tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
6         tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems"
7         ;;
8 -sparc-*-linux*)
9 +sparc-*-linux* | sparcv[789]*-*-linux*)
10         tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
11         extra_options="${extra_options} sparc/long-double-switch.opt"
12         case ${target} in
13 @@ -3343,7 +3343,7 @@ sparc64-*-rtems*)
14         extra_options="${extra_options}"
15         tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
16         ;;
17 -sparc64-*-linux*)
18 +sparc64*-*-linux*)
19         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"
20         extra_options="${extra_options} sparc/long-double-switch.opt"
21         tmake_file="${tmake_file} sparc/t-sparc sparc/t-linux64"
22 diff -urNp -x '*.orig' gcc-10.2.0.org/libgcc/config.host gcc-10.2.0/libgcc/config.host
23 --- gcc-10.2.0.org/libgcc/config.host   2020-07-23 08:35:18.752400064 +0200
24 +++ gcc-10.2.0/libgcc/config.host       2021-03-21 11:32:46.785515690 +0100
25 @@ -1363,7 +1363,7 @@ sparc-*-elf*)
26         tmake_file="${tmake_file} t-fdpbit t-crtfm"
27         extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
28         ;;
29 -sparc-*-linux*)                # SPARC's running GNU/Linux, libc6
30 +sparc-*-linux* | sparcv[789]*-*-linux*)                # SPARC's running GNU/Linux, libc6
31         tmake_file="${tmake_file} t-crtfm"
32         if test "${host_address}" = 64; then
33                 tmake_file="$tmake_file sparc/t-linux64"
34 @@ -1411,7 +1411,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*
35         tmake_file="$tmake_file t-crtfm"
36         extra_parts="$extra_parts crtfastmath.o"
37         ;;
38 -sparc64-*-linux*)              # 64-bit SPARC's running GNU/Linux
39 +sparc64*-*-linux*)             # 64-bit SPARC's running GNU/Linux
40         extra_parts="$extra_parts crtfastmath.o"
41         tmake_file="${tmake_file} t-crtfm sparc/t-linux"
42         if test "${host_address}" = 64; then