Dash:
[t2.git] / package / develop / gcc / sparcv789.patch
blob1acfdb1c3d005d386150ef99d8d9eb0d0e79cb87
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/*/gcc/sparcv789.patch
5 # Copyright (C) 2020 - 2021 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- gcc-10.2.0/gcc/config.gcc.vanilla 2020-10-03 12:59:15.994020808 +0200
18 +++ gcc-10.2.0/gcc/config.gcc 2020-10-03 13:00:44.134020333 +0200
19 @@ -3288,7 +3288,7 @@
20 tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
21 tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems"
23 -sparc-*-linux*)
24 +sparc-*-linux*|sparcv*-*-linux*)
25 tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
26 extra_options="${extra_options} sparc/long-double-switch.opt"
27 case ${target} in
28 @@ -5057,7 +5057,7 @@
29 for which in cpu cpu_32 cpu_64 tune tune_32 tune_64; do
30 eval "val=\$with_$which"
31 case ${val} in
32 - "" | sparc | sparcv9 | sparc64 \
33 + "" | sparc | sparcv7 | sparcv8 | sparcv9 | sparc64 \
34 | v7 | cypress \
35 | v8 | supersparc | hypersparc | leon | leon3 | leon3v7 \
36 | sparclite | f930 | f934 | sparclite86x \
37 --- gcc-10.2.0/libgcc/config.host.vanilla 2020-10-03 14:28:28.829991995 +0200
38 +++ gcc-10.2.0/libgcc/config.host 2020-10-03 14:28:52.561991867 +0200
39 @@ -1363,7 +1363,7 @@
40 tmake_file="${tmake_file} t-fdpbit t-crtfm"
41 extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
43 -sparc-*-linux*) # SPARC's running GNU/Linux, libc6
44 +sparc-*-linux*|sparcv*-*-linux*) # SPARC's running GNU/Linux, libc6
45 tmake_file="${tmake_file} t-crtfm"
46 if test "${host_address}" = 64; then
47 tmake_file="$tmake_file sparc/t-linux64"