rpms/gcc/devel gcc4-libffi-ppc-cfi.patch, NONE, 1.1 .cvsignore, 1.103, 1.104 gcc4-stack-protector.patch, 1.3, 1.4 gcc4.spec, 1.61, 1.62 sources, 1.105, 1.106 gcc4-fortran-equiv.patch, 1.1, NONE

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Aug 8 14:48:48 UTC 2005


Author: jakub

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

Modified Files:
	.cvsignore gcc4-stack-protector.patch gcc4.spec sources 
Added Files:
	gcc4-libffi-ppc-cfi.patch 
Removed Files:
	gcc4-fortran-equiv.patch 
Log Message:
4.0.1-7


gcc4-libffi-ppc-cfi.patch:
 ppc_closure.S |    4 ++--
 sysv.S        |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

--- NEW FILE gcc4-libffi-ppc-cfi.patch ---
2005-08-06  Jakub Jelinek  <jakub at redhat.com>

	* src/powerpc/ppc_closure.S (ffi_closure_SYSV): Use
	DW_CFA_offset_extended_sf rather than
	DW_CFA_GNU_negative_offset_extended.
	* src/powerpc/sysv.S (ffi_call_SYSV): Likewise.

--- libffi/src/powerpc/ppc_closure.S.jj	2005-08-06 10:40:46.000000000 +0200
+++ libffi/src/powerpc/ppc_closure.S	2005-08-06 11:46:03.000000000 +0200
@@ -319,9 +319,9 @@ END(ffi_closure_SYSV)
 	.uleb128 144
 	.byte	0x4	 # DW_CFA_advance_loc4
 	.4byte	.LCFI1-.LCFI0
-	.byte	0x2f	 # DW_CFA_GNU_negative_offset_extended
+	.byte	0x11	 # DW_CFA_offset_extended_sf
 	.uleb128 0x41
-	.uleb128 0x1
+	.sleb128 -1
 	.align 2
 .LEFDE1:
 
--- libffi/src/powerpc/sysv.S.jj	2005-08-06 10:40:46.000000000 +0200
+++ libffi/src/powerpc/sysv.S	2005-08-06 11:45:16.000000000 +0200
@@ -191,9 +191,9 @@ END(ffi_call_SYSV)
       .uleb128  0x08
       .byte     0x4      /*  DW_CFA_advance_loc4 */
       .4byte    .LCFI5-.LCFI0
-      .byte     0x2f     /*  DW_CFA_GNU_negative_offset_extended */
+      .byte     0x11     /*  DW_CFA_offset_extended_sf */
       .uleb128  0x41
-      .uleb128  0x1
+      .sleb128  -1
       .byte     0x9f     /*  DW_CFA_offset, column 0x1f */
       .uleb128  0x1
       .byte     0x9e     /*  DW_CFA_offset, column 0x1e */


Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/.cvsignore,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- .cvsignore	29 Jul 2005 08:22:34 -0000	1.103
+++ .cvsignore	8 Aug 2005 14:48:45 -0000	1.104
@@ -1 +1 @@
-gcc-4.0.1-20050729.tar.bz2
+gcc-4.0.1-20050808.tar.bz2

gcc4-stack-protector.patch:
 Makefile.in             |   10 +-
 c-cppbuiltin.c          |    6 +
 calls.c                 |    3 
 cfgexpand.c             |  216 +++++++++++++++++++++++++++++++++++++++++++++++-
 common.opt              |   12 ++
 config.in               |    6 +
 config/i386/i386.c      |   25 +++++
 config/i386/i386.h      |    1 
 config/i386/i386.md     |  184 ++++++++++++++++++++++++++++++----------
 config/i386/linux.h     |    5 +
 config/i386/linux64.h   |    6 +
 config/rs6000/darwin.h  |   14 +--
 config/rs6000/linux.h   |    5 +
 config/rs6000/linux64.h |    6 +
 config/rs6000/rs6000.c  |  162 +++++++++++++++++++++++++++++++-----
 config/rs6000/rs6000.h  |   93 ++++++++++----------
 config/rs6000/rs6000.md |   82 ++++++++++++++++++
 config/rs6000/sysv4.h   |    5 -
 config/s390/s390.c      |   24 +++--
 config/s390/s390.h      |   10 +-
 config/sparc/linux.h    |    5 +
 config/sparc/linux64.h  |    6 +
 config/sparc/sparc.c    |   10 ++
 config/sparc/sparc.h    |    1 
 config/sparc/sparc.md   |   93 ++++++++++++++++++++
 configure               |   48 ++++++++++
 configure.ac            |   39 ++++++++
 doc/md.texi             |   34 ++++++-
 doc/tm.texi             |   26 +++++
 function.c              |  104 +++++++++++++++++++++++
 function.h              |    4 
 gcc.c                   |   12 ++
 params.def              |    5 +
 regrename.c             |    6 +
 target-def.h            |    5 +
 target.h                |   11 ++
 targhooks.c             |   91 ++++++++++++++++++++
 targhooks.h             |    4 
 toplev.c                |   10 ++
 tree.h                  |    2 
 40 files changed, 1235 insertions(+), 156 deletions(-)

Index: gcc4-stack-protector.patch
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc4-stack-protector.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gcc4-stack-protector.patch	14 Jul 2005 18:50:49 -0000	1.3
+++ gcc4-stack-protector.patch	8 Aug 2005 14:48:45 -0000	1.4
@@ -1,3 +1,10 @@
+2005-08-03  Richard Henderson  <rth at redhat.com>
+
+	PR 23221
+	* function.c (stack_protect_epilogue): Export.
+	* tree.h (stack_protect_epilogue): Declare.
+	* calls.c (expand_call): Call it.
+
 2005-07-11  Jakub Jelinek  <jakub at redhat.com>
 
 	* cfgexpand.c (stack_protect_classify_type): Use TYPE_SIZE_UNIT (type)
@@ -2129,8 +2136,8 @@
  @node Varargs
  @section Implementing the Varargs Macros
  @cindex varargs implementation
---- gcc/function.c	26 Jun 2005 05:18:16 -0000	1.627
-+++ gcc/function.c	27 Jun 2005 07:40:48 -0000	1.634
+--- gcc/function.c	26 Jun 2005 05:18:16 -0000
++++ gcc/function.c	27 Jun 2005 07:40:48 -0000
 @@ -61,6 +61,8 @@ Software Foundation, 59 Temple Place - S
  #include "target.h"
  #include "cfglayout.h"
@@ -2204,7 +2211,7 @@
 +# define gen_stack_protect_test(x, y, z)	(gcc_unreachable (), NULL_RTX)
 +#endif
 +
-+static void
++void
 +stack_protect_epilogue (void)
 +{
 +  tree guard_decl = targetm.stack_protect_guard ();
@@ -2524,13 +2531,26 @@
  }
  
  /* Initialize the compiler back end.  */
---- gcc/tree.h	25 Jun 2005 02:01:56 -0000	1.739
-+++ gcc/tree.h	27 Jun 2005 07:40:45 -0000	1.740
-@@ -3659,6 +3659,7 @@ extern int simple_cst_list_equal (tree, 
+--- gcc/tree.h	25 Jun 2005 02:01:56 -0000
++++ gcc/tree.h	27 Jun 2005 07:40:45 -0000
+@@ -3659,6 +3659,8 @@ extern int simple_cst_list_equal (tree, 
  extern void dump_tree_statistics (void);
  extern void expand_function_end (void);
  extern void expand_function_start (tree);
 +extern void stack_protect_prologue (void);
++extern void stack_protect_epilogue (void);
  extern void recompute_tree_invarant_for_addr_expr (tree);
  extern bool is_global_var (tree t);
  extern bool needs_to_live_in_memory (tree);
+--- gcc/calls.c	26 Jul 2005 13:53:48 -0000	1.398
++++ gcc/calls.c	4 Aug 2005 03:57:40 -0000	1.399
+@@ -2247,6 +2247,9 @@ expand_call (tree exp, rtx target, int i
+       if (pass && (flags & (ECF_LIBCALL_BLOCK | ECF_MALLOC)))
+ 	start_sequence ();
+ 
++      if (pass == 0 && cfun->stack_protect_guard)
++	stack_protect_epilogue ();
++
+       adjusted_args_size = args_size;
+       /* Compute the actual size of the argument block required.  The variable
+ 	 and constant sizes must be combined, the size may have to be rounded,


Index: gcc4.spec
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc4.spec,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- gcc4.spec	29 Jul 2005 08:11:19 -0000	1.61
+++ gcc4.spec	8 Aug 2005 14:48:45 -0000	1.62
@@ -1,6 +1,6 @@
-%define DATE 20050729
+%define DATE 20050808
 %define gcc_version 4.0.1
-%define gcc_release 6
+%define gcc_release 7
 %define _unpackaged_files_terminate_build 0
 %define multilib_64_archs sparc64 ppc64 s390x x86_64
 %ifarch %{ix86} alpha ia64 x86_64 s390 sparc sparc64
@@ -100,7 +100,7 @@
 Patch18: gcc4-ia64-stack-protector.patch
 Patch19: gcc4-s390-stack-protector.patch
 Patch20: gcc4-pr22052.patch
-Patch21: gcc4-fortran-equiv.patch
+Patch21: gcc4-libffi-ppc-cfi.patch
 Patch22: gcc4-ppc32-msecure-plt.patch
 Patch23: gcc4-pr17828-test.patch
 
@@ -432,7 +432,7 @@
 %patch18 -p0 -b .ia64-stack-protector~
 %patch19 -p0 -b .s390-stack-protector~
 %patch20 -p0 -b .pr22052~
-%patch21 -p0 -b .fortran-equiv~
+%patch21 -p0 -b .libffi-ppc-cfi~
 %patch22 -p0 -b .ppc32-msecure-plt~
 %patch23 -p0 -b .pr17828-test~
 
@@ -1462,6 +1462,18 @@
 %endif
 
 %changelog
+* Mon Aug  8 2005 Jakub Jelinek  <jakub at redhat.com> 4.0.1-7
+- update from CVS
+  - PRs c++/23191, c/22311, c/22458, fortran/22010, libfortran/23178,
+	middle-end/21291, middle-end/21529, middle-end/21728,
+	middle-end/21964, target/18582, target/20621, target/20673,
+	target/21723, tree-optimization/19899, tree-optimization/23192
+- check -fstack-protector* canary even before doing tail calls
+  (Richard Henderson, PR middle-end/23221)
+- use DWARF3 DW_CFA_offset_extended_sf instead of obsolete
+  DW_CFA_GNU_negative_offset_extended in libffi handwritten assembly
+  on ppc (#165039)
+
 * 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,


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/sources,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- sources	29 Jul 2005 08:22:34 -0000	1.105
+++ sources	8 Aug 2005 14:48:45 -0000	1.106
@@ -1 +1 @@
-c5625e3aa6fb454db88ffff996718230  gcc-4.0.1-20050729.tar.bz2
+22bcd7ef4b40e18afdc0a16ac20f7d58  gcc-4.0.1-20050808.tar.bz2


--- gcc4-fortran-equiv.patch DELETED ---




More information about the fedora-cvs-commits mailing list