rpms/gcc/devel .cvsignore, 1.115, 1.116 gcc4-weakref.patch, 1.2, 1.3 gcc4.spec, 1.87, 1.88 sources, 1.117, 1.118 gcc4-dv.patch, 1.2, NONE gcc4-dwarf2-frame_base.patch, 1.1, NONE gcc4-dwarf2-inline-details.patch, 1.2, NONE gcc4-dwarf2-pr20268.patch, 1.1, NONE gcc4-dwarf2-prefer-1elt-vartracking.patch, 1.1, NONE gcc4-dwarf2-usefbreg.patch, 1.1, NONE gcc4-g++-struct-layout.patch, 1.2, NONE gcc4-java-pangoft2.patch, 1.1, NONE gcc4-java-rh163099.patch, 1.1, NONE gcc4-libffi-x86.patch, 1.1, NONE gcc4-libjava-ia64-backtrace.patch, 1.1, NONE gcc4-libltdl-multilib.patch, 1.2, NONE gcc4-libstdc++-mt-alloc.patch, 1.1, NONE gcc4-pr17828-test.patch, 1.1, NONE gcc4-pr17965.patch, 1.1, NONE gcc4-pr19450.patch, 1.1, NONE gcc4-pr23863.patch, 1.1, NONE gcc4-rh172652.patch, 1.1, NONE gcc4-struct-layout.patch, 1.2, NONE gcc4-vsb-stack.patch, 1.2, NONE

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Nov 21 10:34:37 UTC 2005


Author: jakub

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

Modified Files:
	.cvsignore gcc4-weakref.patch gcc4.spec sources 
Removed Files:
	gcc4-dv.patch gcc4-dwarf2-frame_base.patch 
	gcc4-dwarf2-inline-details.patch gcc4-dwarf2-pr20268.patch 
	gcc4-dwarf2-prefer-1elt-vartracking.patch 
	gcc4-dwarf2-usefbreg.patch gcc4-g++-struct-layout.patch 
	gcc4-java-pangoft2.patch gcc4-java-rh163099.patch 
	gcc4-libffi-x86.patch gcc4-libjava-ia64-backtrace.patch 
	gcc4-libltdl-multilib.patch gcc4-libstdc++-mt-alloc.patch 
	gcc4-pr17828-test.patch gcc4-pr17965.patch gcc4-pr19450.patch 
	gcc4-pr23863.patch gcc4-rh172652.patch 
	gcc4-struct-layout.patch gcc4-vsb-stack.patch 
Log Message:
4.0.2-7



Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/.cvsignore,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- .cvsignore	9 Nov 2005 12:21:57 -0000	1.115
+++ .cvsignore	21 Nov 2005 10:34:30 -0000	1.116
@@ -1 +1 @@
-gcc-4.0.2-20051109.tar.bz2
+gcc-4.0.2-20051121.tar.bz2

gcc4-weakref.patch:
 gcc/c-common.c                         |   42 +++++
 gcc/config.in                          |    6 
 gcc/configure                          |   37 +++++
 gcc/configure.ac                       |    5 
 gcc/defaults.h                         |   21 ++
 gcc/doc/extend.texi                    |   32 ++++
 gcc/gthr-dce.h                         |  119 ++++++++--------
 gcc/gthr-posix.h                       |  157 +++++++++++----------
 gcc/gthr-posix95.h                     |  163 +++++++++++-----------
 gcc/gthr-solaris.h                     |  123 +++++++++-------
 gcc/gthr-tpf.h                         |   49 +++---
 gcc/testsuite/gcc.dg/attr-weakref-1.c  |  228 +++++++++++++++++++++++++++++++
 gcc/testsuite/gcc.dg/attr-weakref-1a.c |    8 +
 gcc/tree.h                             |   13 +
 gcc/varasm.c                           |  241 +++++++++++++++++++++++++++++----
 libobjc/thr-objc.c                     |   30 ++++
 16 files changed, 963 insertions(+), 311 deletions(-)

Index: gcc4-weakref.patch
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc4-weakref.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gcc4-weakref.patch	11 Nov 2005 14:11:31 -0000	1.2
+++ gcc4-weakref.patch	21 Nov 2005 10:34:34 -0000	1.3
@@ -1,3 +1,12 @@
+2005-11-17  Alexandre Oliva  <aoliva at redhat.com>
+
+	* config/rs6000/rs6000.h (ASM_OUTPUT_WEAKREF): Define.
+	* defaults.h (ASM_OUTPUT_WEAKREF): Add decl argument.
+	* varasm.c (do_assemble_alias): Adjust call.
+	(weak_finish): Don't use ASM_WEAKEN_LABEL if ASM_WEAKEN_DECL
+	is defined.
+	* doc/tm.texi (ASM_OUTPUT_WEAKREF): Document it.
+
 2005-11-10  Alexandre Oliva  <aoliva at redhat.com>
 
 	PR target/24778
@@ -97,7 +106,7 @@
 +   the latter is referenced directly, a strong reference prevails.  */
 +#ifndef ASM_OUTPUT_WEAKREF
 +#if defined HAVE_GAS_WEAKREF
-+#define ASM_OUTPUT_WEAKREF(FILE, NAME, VALUE)				\
++#define ASM_OUTPUT_WEAKREF(FILE, DECL, NAME, VALUE)			\
 +  do									\
 +    {									\
 +      fprintf ((FILE), "\t.weakref\t");					\
@@ -890,7 +899,10 @@
 +#ifndef ASM_OUTPUT_WEAKREF
 +      else if (! TREE_SYMBOL_REFERENCED (target))
 +	{
-+# ifdef ASM_WEAKEN_LABEL
++	  /* Use ASM_WEAKEN_LABEL only if ASM_WEAKEN_DECL is not
++	     defined, otherwise we and weak_finish_1 would use a
++	     different macros.  */
++# if defined ASM_WEAKEN_LABEL && ! defined ASM_WEAKEN_DECL
 +	  ASM_WEAKEN_LABEL (asm_out_file, IDENTIFIER_POINTER (target));
 +# else
 +	  tree decl = find_decl_and_mark_needed (alias_decl, target);
@@ -978,7 +990,7 @@
 +	weakref_targets = tree_cons (decl, target, weakref_targets);
 +
 +#ifdef ASM_OUTPUT_WEAKREF
-+      ASM_OUTPUT_WEAKREF (asm_out_file,
++      ASM_OUTPUT_WEAKREF (asm_out_file, decl,
 +			  IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)),
 +			  IDENTIFIER_POINTER (target));
 +#else
@@ -2501,3 +2513,47 @@
  #include "tconfig.h"
  #include "coretypes.h"
  #include "tm.h"
+--- gcc/doc/tm.texi	(revision 107155)
++++ gcc/doc/tm.texi	(revision 107156)
+@@ -6766,6 +6766,12 @@
+ to make @var{name} weak.
+ @end defmac
+ 
++ at defmac ASM_OUTPUT_WEAKREF (@var{stream}, @var{decl}, @var{name}, @var{value})
++Outputs a directive that enables @var{name} to be used to refer to
++symbol @var{value} with weak-symbol semantics.  @code{decl} is the
++declaration of @code{name}.
++ at end defmac
++
+ @defmac SUPPORTS_WEAK
+ A C expression which evaluates to true if the target supports weak symbols.
+ 
+--- gcc/config/rs6000/rs6000.h	(revision 107155)
++++ gcc/config/rs6000/rs6000.h	(revision 107156)
+@@ -2033,6 +2033,26 @@
+   while (0)
+ #endif
+ 
++#if HAVE_GAS_WEAKREF
++#define ASM_OUTPUT_WEAKREF(FILE, DECL, NAME, VALUE)			\
++  do									\
++    {									\
++      fputs ("\t.weakref\t", (FILE));					\
++      RS6000_OUTPUT_BASENAME ((FILE), (NAME)); 				\
++      fputs (", ", (FILE));						\
++      RS6000_OUTPUT_BASENAME ((FILE), (VALUE));				\
++      if ((DECL) && TREE_CODE (DECL) == FUNCTION_DECL			\
++	  && DEFAULT_ABI == ABI_AIX && DOT_SYMBOLS)			\
++	{								\
++	  fputs ("\n\t.weakref\t.", (FILE));				\
++	  RS6000_OUTPUT_BASENAME ((FILE), (NAME)); 			\
++	  fputs (", .", (FILE));					\
++	  RS6000_OUTPUT_BASENAME ((FILE), (VALUE));			\
++	}								\
++      fputc ('\n', (FILE));						\
++    } while (0)
++#endif
++
+ /* This implements the `alias' attribute.  */
+ #undef	ASM_OUTPUT_DEF_FROM_DECLS
+ #define	ASM_OUTPUT_DEF_FROM_DECLS(FILE, DECL, TARGET)			\


Index: gcc4.spec
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc4.spec,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- gcc4.spec	11 Nov 2005 14:11:31 -0000	1.87
+++ gcc4.spec	21 Nov 2005 10:34:35 -0000	1.88
@@ -1,6 +1,6 @@
-%define DATE 20051109
+%define DATE 20051121
 %define gcc_version 4.0.2
-%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
@@ -83,31 +83,11 @@
 Patch3: gcc4-ia64-libunwind.patch
 Patch4: gcc4-gnuc-rh-release.patch
 Patch5: gcc4-java-nomulti.patch
-Patch6: gcc4-g++-struct-layout.patch
-Patch7: gcc4-libstdc++-mt-alloc.patch
-Patch8: gcc4-struct-layout.patch
-Patch9: gcc4-ppc32-hwint32.patch
-Patch10: gcc4-pr17965.patch
-Patch11: gcc4-vsb-stack.patch
-Patch12: gcc4-libltdl-multilib.patch
-Patch13: gcc4-java-rh163099.patch
-Patch14: gcc4-java-pangoft2.patch
-Patch15: gcc4-libjava-ia64-backtrace.patch
-Patch16: gcc4-stack-protector.patch
-Patch17: gcc4-ia64-stack-protector.patch
-Patch18: gcc4-pr23863.patch
-Patch19: gcc4-libffi-x86.patch
-Patch20: gcc4-ppc32-msecure-plt.patch
-Patch21: gcc4-pr17828-test.patch
-Patch22: gcc4-dwarf2-usefbreg.patch
-Patch23: gcc4-dwarf2-prefer-1elt-vartracking.patch
-Patch24: gcc4-dwarf2-pr20268.patch
-Patch25: gcc4-dwarf2-inline-details.patch
-Patch26: gcc4-dv.patch
-Patch27: gcc4-dwarf2-frame_base.patch
-Patch28: gcc4-pr19450.patch
-Patch29: gcc4-rh172652.patch
-Patch30: gcc4-weakref.patch
+Patch6: gcc4-ppc32-hwint32.patch
+Patch7: gcc4-stack-protector.patch
+Patch8: gcc4-ia64-stack-protector.patch
+Patch9: gcc4-ppc32-msecure-plt.patch
+Patch10: gcc4-weakref.patch
 
 %define _gnu %{nil}
 %ifarch sparc
@@ -422,31 +402,11 @@
 %patch3 -p0 -b .ia64-libunwind~
 %patch4 -p0 -b .gnuc-rh-release~
 %patch5 -p0 -b .java-nomulti~
-%patch6 -p0 -b .g++-struct-layout~
-%patch7 -p0 -b .libstdc++-mt-alloc~
-%patch8 -p0 -b .struct-layout~
-#%patch9 -p0 -b .ppc32-hwint32~
-%patch10 -p0 -b .pr17965~
-%patch11 -p0 -b .vsb-stack~
-%patch12 -p0 -b .libltdl-multilib~
-%patch13 -p0 -b .java-rh163099~
-%patch14 -p0 -b .java-pangoft2~
-%patch15 -p0 -b .libjava-ia64-backtrace~
-%patch16 -p0 -b .stack-protector~
-%patch17 -p0 -b .ia64-stack-protector~
-%patch18 -p0 -b .pr23863~
-%patch19 -p0 -b .libffi-x86~
-%patch20 -p0 -b .ppc32-msecure-plt~
-%patch21 -p0 -b .pr17828-test~
-%patch22 -p0 -b .dwarf2-usefbreg~
-%patch23 -p0 -b .dwarf2-prefer-1elt-vartracking~
-%patch24 -p0 -b .dwarf2-pr20268~
-%patch25 -p0 -b .dwarf2-inline-details~
-%patch26 -p0 -b .dv~
-%patch27 -p0 -b .dwarf2-frame_base~
-%patch28 -p0 -b .pr19450~
-%patch29 -p0 -b .rh172652~
-%patch30 -p0 -b .weakref~
+#%patch6 -p0 -b .ppc32-hwint32~
+%patch7 -p0 -b .stack-protector~
+%patch8 -p0 -b .ia64-stack-protector~
+%patch9 -p0 -b .ppc32-msecure-plt~
+%patch10 -p0 -b .weakref~
 
 perl -pi -e 's/4\.0\.3/4.0.2/' gcc/version.c
 perl -pi -e 's/"%{gcc_version}"/"%{gcc_version} \(release\)"/' gcc/version.c
@@ -1474,6 +1434,20 @@
 %endif
 
 %changelog
+* Mon Nov 21 2005 Jakub Jelinek  <jakub at redhat.com> 4.0.2-7
+- update from SVN (-r106678:107266)
+  - PRs ada/18434, ada/23995, c++/21123, c++/22489, c++/24580, c++/24667,
+	c++/24686, c++/24687, c++/24761, c++/24780, fortran/15976,
+	fortran/20811, fortran/22607, fortran/24409, fortran/24643,
+	fortran/24655, fortran/24755, fortran/24892, libgfortran/24584,
+	libgfortran/24699, libgfortran/24700, libgfortran/24719,
+	libgfortran/24785, libgfortran/24787, libstdc++/24799,
+	libstdc++/24805, libstdc++/24808, libstdc++/24809, libstdc++/24818,
+	middle-end/22127, middle-end/24820, rtl-optimization/22002,
+	rtl-optimization/23392, target/24779, target/24861, target/24914,
+	tree-opt/24665
+- ppc64 -mcall-aixdesc fixes for weakref patch (Alexandre Oliva)
+
 * Fri Nov 11 2005 Jakub Jelinek  <jakub at redhat.com> 4.0.2-6
 - fix tiny problems in the weakref patch (Alexandre Oliva)
 - rebuild against binutils 2.16.91.0.3-1 (and require it) to use


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/sources,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -r1.117 -r1.118
--- sources	9 Nov 2005 12:21:57 -0000	1.117
+++ sources	21 Nov 2005 10:34:35 -0000	1.118
@@ -1 +1 @@
-0d012dfc0185d34037ce36e490072a71  gcc-4.0.2-20051109.tar.bz2
+b86ed46e2feb3747ac4fa9b45ed74ce9  gcc-4.0.2-20051121.tar.bz2


--- gcc4-dv.patch DELETED ---


--- gcc4-dwarf2-frame_base.patch DELETED ---


--- gcc4-dwarf2-inline-details.patch DELETED ---


--- gcc4-dwarf2-pr20268.patch DELETED ---


--- gcc4-dwarf2-prefer-1elt-vartracking.patch DELETED ---


--- gcc4-dwarf2-usefbreg.patch DELETED ---


--- gcc4-g++-struct-layout.patch DELETED ---


--- gcc4-java-pangoft2.patch DELETED ---


--- gcc4-java-rh163099.patch DELETED ---


--- gcc4-libffi-x86.patch DELETED ---


--- gcc4-libjava-ia64-backtrace.patch DELETED ---


--- gcc4-libltdl-multilib.patch DELETED ---


--- gcc4-libstdc++-mt-alloc.patch DELETED ---


--- gcc4-pr17828-test.patch DELETED ---


--- gcc4-pr17965.patch DELETED ---


--- gcc4-pr19450.patch DELETED ---


--- gcc4-pr23863.patch DELETED ---


--- gcc4-rh172652.patch DELETED ---


--- gcc4-struct-layout.patch DELETED ---


--- gcc4-vsb-stack.patch DELETED ---




More information about the fedora-cvs-commits mailing list