rpms/gcc/devel gcc4-pr17828-test.patch, NONE, 1.1 gcc4.spec, 1.60, 1.61 gcc4-pr20606.patch, 1.2, NONE gcc4-pr21149-test.patch, 1.1, NONE gcc4-pr22503.patch, 1.1, NONE

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Jul 29 08:11:21 UTC 2005


Author: jakub

Update of /cvs/dist/rpms/gcc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv12420

Modified Files:
	gcc4.spec 
Added Files:
	gcc4-pr17828-test.patch 
Removed Files:
	gcc4-pr20606.patch gcc4-pr21149-test.patch gcc4-pr22503.patch 
Log Message:
4.0.1-6


gcc4-pr17828-test.patch:
 comdat5-aux.cc |    1 +
 comdat5.C      |    6 ++++++
 2 files changed, 7 insertions(+)

--- NEW FILE gcc4-pr17828-test.patch ---
2005-07-29  Jakub Jelinek  <jakub at redhat.com>

	PR target/17828
	* g++.old-deja/g++.other/comdat5.C: New test.
	* g++.old-deja/g++.other/comdat5-aux.cc: New file.

--- gcc/testsuite/g++.old-deja/g++.other/comdat5.C.jj	2005-07-26 11:29:02.000000000 +0200
+++ gcc/testsuite/g++.old-deja/g++.other/comdat5.C	2005-07-26 11:29:02.000000000 +0200
@@ -0,0 +1,6 @@
+// PR target/17828
+// { dg-do link }
+// { dg-additional-sources " comdat5-aux.cc" }
+// { dg-options "-O2 -fPIC" }
+
+#include "comdat4.C"
--- gcc/testsuite/g++.old-deja/g++.other/comdat5-aux.cc.jj	2005-07-26 11:29:02.000000000 +0200
+++ gcc/testsuite/g++.old-deja/g++.other/comdat5-aux.cc	2005-07-26 11:29:02.000000000 +0200
@@ -0,0 +1 @@
+#include "comdat4-aux.cc"


Index: gcc4.spec
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc4.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- gcc4.spec	27 Jul 2005 09:23:46 -0000	1.60
+++ gcc4.spec	29 Jul 2005 08:11:19 -0000	1.61
@@ -1,6 +1,6 @@
-%define DATE 20050727
+%define DATE 20050729
 %define gcc_version 4.0.1
-%define gcc_release 5
+%define gcc_release 6
 %define _unpackaged_files_terminate_build 0
 %define multilib_64_archs sparc64 ppc64 s390x x86_64
 %ifarch %{ix86} alpha ia64 x86_64 s390 sparc sparc64
@@ -32,8 +32,9 @@
 URL: http://gcc.gnu.org
 BuildRoot: /var/tmp/gcc-root
 # Need binutils with -pie support >= 2.14.90.0.4-4
-# Need binutils which can omit dot symbols and overlap .opd on ppc64
-BuildRequires: binutils >= 2.15.91.0.2-4
+# Need binutils which can omit dot symbols and overlap .opd on ppc64 >= 2.15.91.0.2-4
+# Need binutils which handle -msecure-plt on ppc
+BuildRequires: binutils >= 2.16.91.0.2-2
 BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo
 # Make sure pthread.h doesn't contain __thread tokens
 # Make sure glibc supports stack protector
@@ -54,6 +55,10 @@
 # On ppc64, need omit dot symbols support and --non-overlapping-opd
 # Need binutils that owns /usr/bin/c++filt
 Requires: binutils >= 2.15.94.0.2-2
+%ifarch ppc ppc64
+# On ppc, need binutils with -msecure-plt support
+Requires: binutils >= 2.16.91.0.2-2
+%endif
 # Make sure gdb will understand DW_FORM_strp
 Conflicts: gdb < 5.1-2
 Requires: glibc-devel >= 2.2.90-12
@@ -96,10 +101,8 @@
 Patch19: gcc4-s390-stack-protector.patch
 Patch20: gcc4-pr22052.patch
 Patch21: gcc4-fortran-equiv.patch
-Patch22: gcc4-pr21149-test.patch
-Patch23: gcc4-ppc32-msecure-plt.patch
-Patch24: gcc4-pr20606.patch
-Patch25: gcc4-pr22503.patch
+Patch22: gcc4-ppc32-msecure-plt.patch
+Patch23: gcc4-pr17828-test.patch
 
 %define _gnu %{nil}
 %ifarch sparc
@@ -430,10 +433,8 @@
 %patch19 -p0 -b .s390-stack-protector~
 %patch20 -p0 -b .pr22052~
 %patch21 -p0 -b .fortran-equiv~
-%patch22 -p0 -b .pr21149-test~
-#%patch23 -p0 -b .ppc32-msecure-plt~
-%patch24 -p0 -b .pr20606~
-%patch25 -p0 -b .pr22503~
+%patch22 -p0 -b .ppc32-msecure-plt~
+%patch23 -p0 -b .pr17828-test~
 
 perl -pi -e 's/4\.0\.2/4.0.1/' gcc/version.c
 perl -pi -e 's/"%{gcc_version}"/"%{gcc_version} \(release\)"/' gcc/version.c
@@ -524,6 +525,9 @@
 	--enable-java-awt=gtk \
 	--with-java-home=%{_prefix}/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre \
 %endif
+%ifarch ppc ppc64
+	--enable-secureplt \
+%endif
 %ifarch sparc
 	--host=%{gcc_target_platform} --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=v7
 %endif
@@ -1458,6 +1462,14 @@
 %endif
 
 %changelog
+* Fri Jul 29 2005 Jakub Jelinek  <jakub at redhat.com> 4.0.1-6
+- update from CVS
+  - PRs c++/22545, c/20187, c/22589, c/23106, debug/20161,
+	middle-end/21362, rtl-opt/22619, target/17692, target/19885
+- add -msecure-plt support on ppc32, enable it by default
+- add testcase for ppc32 problem with .got2 relocs against discarded
+  sections (PR target/17828)
+
 * Wed Jul 27 2005 Jakub Jelinek  <jakub at redhat.com> 4.0.1-5
 - update from CVS
   - PRs tree-optimization/22591, fortran/16940, libfortran/22570,


--- gcc4-pr20606.patch DELETED ---


--- gcc4-pr21149-test.patch DELETED ---


--- gcc4-pr22503.patch DELETED ---




More information about the fedora-cvs-commits mailing list