[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
rpms/gcc/devel gcc4-stack-protector-shortsize.patch, NONE, 1.1 .cvsignore, 1.98, 1.99 gcc4-ia64-stack-protector.patch, 1.1, 1.2 gcc4.spec, 1.54, 1.55 sources, 1.100, 1.101 gcc4-fortran-altreturn.patch, 1.2, NONE gcc4-fortran-forall-logical1.patch, 1.1, NONE gcc4-fortran-rh161634.patch, 1.1, NONE gcc4-fortran-rh161669.patch, 1.1, NONE gcc4-fortran-rh161679.patch, 1.1, NONE gcc4-fortran-rh161680.patch, 1.1, NONE gcc4-i386-masm=intel.patch, 1.1, NONE gcc4-pr22028.patch, 1.2, NONE gcc4-tree-chrec.patch, 1.1, NONE gcc4-var-tracking-fix.patch, 1.2, NONE
- From: fedora-cvs-commits redhat com
- To: fedora-cvs-commits redhat com
- Subject: rpms/gcc/devel gcc4-stack-protector-shortsize.patch, NONE, 1.1 .cvsignore, 1.98, 1.99 gcc4-ia64-stack-protector.patch, 1.1, 1.2 gcc4.spec, 1.54, 1.55 sources, 1.100, 1.101 gcc4-fortran-altreturn.patch, 1.2, NONE gcc4-fortran-forall-logical1.patch, 1.1, NONE gcc4-fortran-rh161634.patch, 1.1, NONE gcc4-fortran-rh161669.patch, 1.1, NONE gcc4-fortran-rh161679.patch, 1.1, NONE gcc4-fortran-rh161680.patch, 1.1, NONE gcc4-i386-masm=intel.patch, 1.1, NONE gcc4-pr22028.patch, 1.2, NONE gcc4-tree-chrec.patch, 1.1, NONE gcc4-var-tracking-fix.patch, 1.2, NONE
- Date: Sun, 10 Jul 2005 08:47:02 -0400
Author: jakub
Update of /cvs/dist/rpms/gcc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31949
Modified Files:
.cvsignore gcc4-ia64-stack-protector.patch gcc4.spec sources
Added Files:
gcc4-stack-protector-shortsize.patch
Removed Files:
gcc4-fortran-altreturn.patch
gcc4-fortran-forall-logical1.patch gcc4-fortran-rh161634.patch
gcc4-fortran-rh161669.patch gcc4-fortran-rh161679.patch
gcc4-fortran-rh161680.patch gcc4-i386-masm=intel.patch
gcc4-pr22028.patch gcc4-tree-chrec.patch
gcc4-var-tracking-fix.patch
Log Message:
4.0.1-2
gcc4-stack-protector-shortsize.patch:
cfgexpand.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
--- NEW FILE gcc4-stack-protector-shortsize.patch ---
2005-07-09 Jakub Jelinek <jakub redhat com>
* cfgexpand.c (stack_protect_classify_type): Use TYPE_SIZE_UNIT (type)
instead of TYPE_MAX_VALUE (TYPE_DOMAIN (type)) to get array size in
bytes.
--- gcc/cfgexpand.c.jj 2005-07-09 21:20:07.000000000 +0200
+++ gcc/cfgexpand.c 2005-07-09 21:40:41.000000000 +0200
@@ -770,15 +770,14 @@ stack_protect_classify_type (tree type)
|| t == signed_char_type_node
|| t == unsigned_char_type_node)
{
- HOST_WIDE_INT max = PARAM_VALUE (PARAM_SSP_BUFFER_SIZE);
- HOST_WIDE_INT len;
+ unsigned HOST_WIDE_INT max = PARAM_VALUE (PARAM_SSP_BUFFER_SIZE);
+ unsigned HOST_WIDE_INT len;
- if (!TYPE_DOMAIN (type)
- || !TYPE_MAX_VALUE (TYPE_DOMAIN (type))
- || !host_integerp (TYPE_MAX_VALUE (TYPE_DOMAIN (type)), 1))
- len = max + 1;
+ if (!TYPE_SIZE_UNIT (type)
+ || !host_integerp (TYPE_SIZE_UNIT (type), 1))
+ len = max;
else
- len = tree_low_cst (TYPE_MAX_VALUE (TYPE_DOMAIN (type)), 1);
+ len = tree_low_cst (TYPE_SIZE_UNIT (type), 1);
if (len < max)
ret = SPCT_HAS_SMALL_CHAR_ARRAY | SPCT_HAS_ARRAY;
Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/.cvsignore,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- .cvsignore 8 Jul 2005 21:09:20 -0000 1.98
+++ .cvsignore 10 Jul 2005 12:46:57 -0000 1.99
@@ -1 +1 @@
-gcc-4.0.1-20050708.tar.bz2
+gcc-4.0.1-20050710.tar.bz2
gcc4-ia64-stack-protector.patch:
ia64.c | 27 ++++++++++-----------------
ia64.h | 2 +-
ia64.md | 37 +++++++++++++++++++++++++++++++++++++
linux.h | 5 +++++
4 files changed, 53 insertions(+), 18 deletions(-)
Index: gcc4-ia64-stack-protector.patch
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc4-ia64-stack-protector.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcc4-ia64-stack-protector.patch 8 Jul 2005 21:09:22 -0000 1.1
+++ gcc4-ia64-stack-protector.patch 10 Jul 2005 12:46:57 -0000 1.2
@@ -64,7 +64,7 @@
- offset = 16 + current_function_outgoing_args_size;
- }
- else
-+ offset = -current_frame_info.total_size;
++ offset -= current_frame_info.total_size;
+ else if (to != STACK_POINTER_REGNUM)
abort ();
break;
Index: gcc4.spec
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc4.spec,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- gcc4.spec 8 Jul 2005 22:16:03 -0000 1.54
+++ gcc4.spec 10 Jul 2005 12:46:57 -0000 1.55
@@ -1,6 +1,6 @@
-%define DATE 20050708
+%define DATE 20050710
%define gcc_version 4.0.1
-%define gcc_release 1
+%define gcc_release 2
%define _unpackaged_files_terminate_build 0
%define multilib_64_archs sparc64 ppc64 s390x x86_64
%ifarch %{ix86} alpha ia64 x86_64 s390 sparc sparc64
@@ -81,26 +81,17 @@
Patch8: gcc4-libstdc++-mt-alloc.patch
Patch9: gcc4-struct-layout.patch
Patch10: gcc4-ppc32-hwint32.patch
-Patch11: gcc4-var-tracking-fix.patch
-Patch12: gcc4-pr17965.patch
-Patch13: gcc4-fortran-altreturn.patch
-Patch14: gcc4-tree-chrec.patch
-Patch15: gcc4-fortran-forall.patch
-Patch16: gcc4-fortran-forall-logical1.patch
-Patch17: gcc4-libltdl-multilib.patch
-Patch18: gcc4-pr22028.patch
-Patch19: gcc4-fortran-legacy.patch
-Patch20: gcc4-fortran-logical-integer.patch
-Patch21: gcc4-fortran-hollerith.patch
-Patch22: gcc4-fortran-rh161634.patch
-Patch23: gcc4-fortran-rh161669.patch
-Patch24: gcc4-fortran-rh161679.patch
-Patch25: gcc4-fortran-rh161680.patch
-Patch26: gcc4-i386-masm=intel.patch
-Patch27: gcc4-stack-protector.patch
-Patch28: gcc4-ia64-stack-protector.patch
-Patch29: gcc4-s390-stack-protector.patch
-Patch30: gcc4-libstdc++-pr22309.patch
+Patch11: gcc4-pr17965.patch
+Patch12: gcc4-fortran-forall.patch
+Patch13: gcc4-libltdl-multilib.patch
+Patch14: gcc4-fortran-legacy.patch
+Patch15: gcc4-fortran-logical-integer.patch
+Patch16: gcc4-fortran-hollerith.patch
+Patch17: gcc4-stack-protector.patch
+Patch18: gcc4-ia64-stack-protector.patch
+Patch19: gcc4-s390-stack-protector.patch
+Patch20: gcc4-stack-protector-shortsize.patch
+Patch21: gcc4-libstdc++-pr22309.patch
%define _gnu %{nil}
%ifarch sparc
@@ -420,28 +411,17 @@
%patch8 -p0 -b .libstdc++-mt-alloc~
%patch9 -p0 -b .struct-layout~
#%patch10 -p0 -b .ppc32-hwint32~
-%patch11 -p0 -b .var-tracking-fix~
-%patch12 -p0 -b .pr17965~
-%patch13 -p0 -b .fortran-altreturn~
-%patch14 -p0 -b .tree-chrec~
-%patch15 -p0 -b .fortran-forall~
-%patch16 -p0 -b .fortran-forall-logical1~
-%patch17 -p0 -b .libltdl-multilib~
-%patch18 -p0 -b .pr22028~
-%patch19 -p0 -b .fortran-legacy~
-%patch20 -p0 -b .fortran-logical-integer~
-%patch21 -p0 -b .fortran-hollerith~
-%patch22 -p0 -b .fortran-rh161634~
-%patch23 -p0 -b .fortran-rh161669~
-%patch24 -p0 -b .fortran-rh161679~
-%patch25 -p0 -b .fortran-rh161680~
-%patch26 -p0 -b .i386-masm=intel~
-%ifnarch ia64
-%patch27 -p0 -b .stack-protector~
-%patch28 -p0 -b .ia64-stack-protector~
-%patch29 -p0 -b .s390-stack-protector~
-%endif
-%patch30 -p0 -b .libstdc++-pr22309~
+%patch11 -p0 -b .pr17965~
+%patch12 -p0 -b .fortran-forall~
+%patch13 -p0 -b .libltdl-multilib~
+%patch14 -p0 -b .fortran-legacy~
+%patch15 -p0 -b .fortran-logical-integer~
+%patch16 -p0 -b .fortran-hollerith~
+%patch17 -p0 -b .stack-protector~
+%patch18 -p0 -b .ia64-stack-protector~
+%patch19 -p0 -b .s390-stack-protector~
+%patch20 -p0 -b .stack-protector-shortsize~
+%patch21 -p0 -b .libstdc++-pr22309~
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
@@ -549,12 +529,20 @@
make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS" bootstrap-lean
%endif
+%if %{build_ada}
+for i in gcc/ada/rts/lib*-*.so.1; do
+ ln -sf `basename $i` gcc/ada/rts/`basename $i .1`
+done
+%endif
+
# run the tests.
make %{?_smp_mflags} -k check || :
%ifnarch ia64
cd gcc
mv testsuite{,.normal}
-make %{?_smp_mflags} -k check RUNTESTFLAGS=--target_board=unix/-fstack-protector || :
+make %{?_smp_mflags} -k \
+ `sed -n 's/check-ada//;s/^CHECK_TARGETS[[:blank:]]*=[[:blank:]]*//p' Makefile` \
+ RUNTESTFLAGS=--target_board=unix/-fstack-protector || :
mv testsuite{,.ssp}
mv testsuite{.normal,}
cd ..
@@ -1460,6 +1448,15 @@
%endif
%changelog
+* Sun Jul 10 2005 Jakub Jelinek <jakub redhat com> 4.0.1-2
+- update from CVS
+ - PRs fortran/17792, fortran/19926, fortran/21257, fortran/21375
+- don't run check-ada twice
+- create libgna{t,rl}-4.0.so symlinks in the build dir, so that
+ check-ada doesn't link against installed libgnat
+- add ia64 -fstack-protector support
+- fix stack protector test for short arrays
+
* Fri Jul 8 2005 Jakub Jelinek <jakub redhat com> 4.0.1-1
- update from CVS
- GCC 4.0.1 release
Index: sources
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/sources,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- sources 8 Jul 2005 21:09:22 -0000 1.100
+++ sources 10 Jul 2005 12:46:57 -0000 1.101
@@ -1 +1 @@
-4e680f96bc432057ab00cc46f750950c gcc-4.0.1-20050708.tar.bz2
+158f94a28dc1e04943d0e29dae3bb9b8 gcc-4.0.1-20050710.tar.bz2
--- gcc4-fortran-altreturn.patch DELETED ---
--- gcc4-fortran-forall-logical1.patch DELETED ---
--- gcc4-fortran-rh161634.patch DELETED ---
--- gcc4-fortran-rh161669.patch DELETED ---
--- gcc4-fortran-rh161679.patch DELETED ---
--- gcc4-fortran-rh161680.patch DELETED ---
--- gcc4-i386-masm=intel.patch DELETED ---
--- gcc4-pr22028.patch DELETED ---
--- gcc4-tree-chrec.patch DELETED ---
--- gcc4-var-tracking-fix.patch DELETED ---
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]