gcc/gcc46-sparc-config-detection.patch

41 lines
1.6 KiB
Diff
Raw Normal View History

2008-06-09 11:42:57 +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
2011-01-22 10:26:14 +00:00
@@ -2483,7 +2483,7 @@ sparc-*-rtems*)
tmake_file="sparc/t-elf sparc/t-crtfm t-rtems"
extra_parts="crtbegin.o crtend.o"
2008-06-09 11:42:57 +00:00
;;
2011-01-22 10:26:14 +00:00
-sparc-*-linux*)
+sparc-*-linux* | sparcv9-*-linux*)
2011-01-22 11:21:01 +00:00
tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h"
2008-06-09 11:42:57 +00:00
extra_options="${extra_options} sparc/long-double-switch.opt"
2011-01-22 10:26:14 +00:00
case ${target} in
@@ -2577,7 +2577,7 @@ sparc64-*-rtems*)
tmake_file="${tmake_file} sparc/t-crtfm t-rtems"
extra_parts="crtbegin.o crtend.o"
;;
-sparc64-*-linux*)
+sparc64*-*-linux*)
2011-01-22 11:21:01 +00:00
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"
2008-06-09 11:42:57 +00:00
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*)
;;
-sparc-*-linux*) # SPARC's running GNU/Linux, libc6
+sparc-*-linux* | sparcv9*-*-linux*) # SPARC's running GNU/Linux, libc6
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"
;;