forgot patch, updated changelog

This commit is contained in:
Tom Callaway 2008-05-19 03:16:03 +00:00
parent da3be60e44
commit 009551a5c9
2 changed files with 46 additions and 1 deletions

View File

@ -0,0 +1,42 @@
diff -up gcc-4.3.0-20080416/gcc/config.gcc.BAD gcc-4.3.0-20080416/gcc/config.gcc
--- gcc-4.3.0-20080416/gcc/config.gcc.BAD 2008-04-24 15:42:46.000000000 -0500
+++ gcc-4.3.0-20080416/gcc/config.gcc 2008-04-24 15:44:51.000000000 -0500
@@ -2343,7 +2343,7 @@ sparc-*-elf*)
extra_parts="crti.o crtn.o crtbegin.o crtend.o"
use_fixproto=yes
;;
-sparc-*-linux*) # SPARC's running GNU/Linux, libc6
+sparc-*-linux* | sparcv9*-*-linux*) # SPARC's running GNU/Linux, libc6
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux.h"
extra_options="${extra_options} sparc/long-double-switch.opt"
tmake_file="${tmake_file} sparc/t-linux sparc/t-crtfm"
@@ -2477,7 +2477,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*
esac
need_64bit_hwint=yes
;;
-sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
+sparc64*-*-linux*) # 64-bit SPARC's running GNU/Linux
tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux64.h"
extra_options="${extra_options} sparc/long-double-switch.opt"
tmake_file="${tmake_file} sparc/t-linux sparc/t-linux64 sparc/t-crtfm"
diff -up gcc-4.3.0-20080416/libgcc/config.host.BAD gcc-4.3.0-20080416/libgcc/config.host
--- gcc-4.3.0-20080416/libgcc/config.host.BAD 2008-04-24 15:46:19.000000000 -0500
+++ gcc-4.3.0-20080416/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"
;;

View File

@ -1,6 +1,6 @@
%define DATE 20080428
%define gcc_version 4.3.0
%define gcc_release 9
%define gcc_release 10
%define _unpackaged_files_terminate_build 0
%define multilib_64_archs sparc64 ppc64 s390x x86_64
%define include_gappletviewer 1
@ -1672,6 +1672,9 @@ fi
%doc rpm.doc/changelogs/libmudflap/ChangeLog*
%changelog
* Sun May 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.3.0-10
- make sparcv9 the multilib_32_arch for sparc64
* Sun May 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.3.0-9
- sparcv9 support and detection