gcc/gcc14-sparc-config-detection.patch

41 lines
1.8 KiB
Diff
Raw Normal View History

2012-01-03 14:17:22 +00:00
--- gcc/config.gcc.jj 2008-04-24 15:42:46.000000000 -0500
+++ gcc/config.gcc 2008-04-24 15:44:51.000000000 -0500
2023-01-15 12:51:18 +00:00
@@ -3330,7 +3330,7 @@ sparc-*-rtems*)
tm_file="${tm_file} elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
2014-12-12 14:19:55 +00:00
tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems"
2012-01-03 14:17:22 +00:00
;;
-sparc-*-linux*)
+sparc-*-linux* | sparcv9-*-linux*)
2023-01-15 12:51:18 +00:00
tm_file="${tm_file} elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
2012-01-03 14:17:22 +00:00
extra_options="${extra_options} sparc/long-double-switch.opt"
case ${target} in
2023-01-15 12:51:18 +00:00
@@ -3384,7 +3384,7 @@ sparc64-*-rtems*)
2012-01-03 14:17:22 +00:00
extra_options="${extra_options}"
2014-04-09 06:46:36 +00:00
tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
2012-01-03 14:17:22 +00:00
;;
-sparc64-*-linux*)
+sparc64*-*-linux*)
2023-01-15 12:51:18 +00:00
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"
2012-01-03 14:17:22 +00:00
extra_options="${extra_options} sparc/long-double-switch.opt"
tmake_file="${tmake_file} sparc/t-sparc sparc/t-linux64"
--- libgcc/config.host.jj 2008-04-24 15:46:19.000000000 -0500
+++ libgcc/config.host 2008-04-24 15:46:49.000000000 -0500
@@ -1002,7 +1002,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* | sparcv9-*-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"
@@ -1050,7 +1050,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*
tmake_file="$tmake_file t-crtfm"
extra_parts="$extra_parts crtfastmath.o"
;;
-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} t-crtfm sparc/t-linux"
if test "${host_address}" = 64; then