[cross-gcc] Fix fuzz in sparc-config-detection patch
David Howells
dhowells at fedoraproject.org
Thu Nov 15 16:20:28 UTC 2012
commit 0dea2fc3b031456405cff69b0026d31694cd7758
Author: David Howells <dhowells at redhat.com>
Date: Thu Nov 15 13:30:41 2012 +0000
Fix fuzz in sparc-config-detection patch
cross-gcc.spec | 1 +
gcc47-sparc-config-detection.patch | 20 ++++++++++----------
2 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/cross-gcc.spec b/cross-gcc.spec
index 595869a..ac3b973 100644
--- a/cross-gcc.spec
+++ b/cross-gcc.spec
@@ -662,6 +662,7 @@ rm -rf %{buildroot}
- Move to the gcc-4.7-aarch64 SVN branch and add a compiler for the aarch64 arch.
- Disable sjlj exception support.
- Compile libgcc for certain platforms.
+- Fix fuzz in sparc-config-detection patch.
* Mon Oct 15 2012 Jon Ciesla <limburgher at gmail.com> - 4.7.1-0.1.20120606.2
- Provides: bundled(libiberty)
diff --git a/gcc47-sparc-config-detection.patch b/gcc47-sparc-config-detection.patch
index ce2acc7..186f34d 100644
--- a/gcc47-sparc-config-detection.patch
+++ b/gcc47-sparc-config-detection.patch
@@ -1,26 +1,26 @@
---- gcc/config.gcc.jj 2008-04-24 15:42:46.000000000 -0500
-+++ gcc/config.gcc 2008-04-24 15:44:51.000000000 -0500
-@@ -2356,7 +2356,7 @@ sparc-*-rtems*)
+--- gcc/config.gcc.jj 2012-11-14 16:13:41.000000000 +0000
++++ gcc/config.gcc 2012-11-15 15:54:55.709893798 +0000
+@@ -2447,7 +2447,7 @@ sparc-*-rtems*)
tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
- tmake_file="sparc/t-sparc sparc/t-elf t-rtems"
+ tmake_file="sparc/t-sparc sparc/t-elf sparc/t-rtems t-rtems"
;;
-sparc-*-linux*)
+sparc-*-linux* | sparcv9-*-linux*)
tm_file="${tm_file} dbxelf.h 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
-@@ -2409,7 +2409,7 @@ sparc64-*-rtems*)
+@@ -2500,7 +2500,7 @@ sparc64-*-rtems*)
extra_options="${extra_options}"
- tmake_file="${tmake_file} sparc/t-sparc t-rtems"
+ tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64 t-rtems"
;;
-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/default-64.h sparc/linux64.h sparc/tso.h"
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*)
+--- libgcc/config.host.jj 2012-11-14 16:13:31.000000000 +0000
++++ libgcc/config.host 2012-11-15 15:54:55.710893785 +0000
+@@ -1032,7 +1032,7 @@ sparc-*-elf*)
tmake_file="${tmake_file} t-fdpbit t-crtfm"
extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
;;
@@ -29,7 +29,7 @@
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*
+@@ -1080,7 +1080,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*
tmake_file="$tmake_file t-crtfm"
extra_parts="$extra_parts crtfastmath.o"
;;
More information about the scm-commits
mailing list