public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/gcc/4.5.0/gentoo: 00_all_gcc-4.1-alpha-mieee-default.patch 01_all_gcc-4.1-alpha-asm-mcpu.patch 03_all_gcc43-java-nomulti.patch 08_all_gcc-4.1-cross-compile.patch 10_all_gcc-default-format-security.patch 10_all_gcc-default-fortify-source.patch 11_all_gcc-netbsd-symbolic.patch 14_all_gcc-sparc64-bsd.patch 15_all_gcc-libgomp-no-werror.patch 40_all_gcc-4.4-libiberty.h-asprintf.patch 47_all_arm-unbreak-armv4t.patch 51_all_gcc-3.4-libiberty-pic.patch 53_all_gcc4-superh-default-multilib.patch 61_all_gcc4-ia64-noteGNUstack.patch 74_all_sh-pr24836.patch README.history
@ 2010-04-24 23:44 Mark Loeser (halcy0n)
  0 siblings, 0 replies; only message in thread
From: Mark Loeser (halcy0n) @ 2010-04-24 23:44 UTC (permalink / raw
  To: gentoo-commits

halcy0n     10/04/24 23:44:28

  Added:                00_all_gcc-4.1-alpha-mieee-default.patch
                        01_all_gcc-4.1-alpha-asm-mcpu.patch
                        03_all_gcc43-java-nomulti.patch
                        08_all_gcc-4.1-cross-compile.patch
                        10_all_gcc-default-format-security.patch
                        10_all_gcc-default-fortify-source.patch
                        11_all_gcc-netbsd-symbolic.patch
                        14_all_gcc-sparc64-bsd.patch
                        15_all_gcc-libgomp-no-werror.patch
                        40_all_gcc-4.4-libiberty.h-asprintf.patch
                        47_all_arm-unbreak-armv4t.patch
                        51_all_gcc-3.4-libiberty-pic.patch
                        53_all_gcc4-superh-default-multilib.patch
                        61_all_gcc4-ia64-noteGNUstack.patch
                        74_all_sh-pr24836.patch README.history
  Log:
  Add 4.5.0 patchset, based off of 4.4.3 patchset

Revision  Changes    Path
1.1                  src/patchsets/gcc/4.5.0/gentoo/00_all_gcc-4.1-alpha-mieee-default.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/00_all_gcc-4.1-alpha-mieee-default.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/00_all_gcc-4.1-alpha-mieee-default.patch?rev=1.1&content-type=text/plain

Index: 00_all_gcc-4.1-alpha-mieee-default.patch
===================================================================
Set the default behavior on alpha to use -mieee since the large majority of
time we want this (bad/weird things can happen with packages built without
-mieee).

To satisfy those people who may not want -mieee forced on them all the time,
we also provide -mno-ieee.

Patch by Mike Frysinger <vapier@gentoo.org>

--- gcc-4.3.0/gcc/config/alpha/alpha.h
+++ gcc-4.3.0/gcc/config/alpha/alpha.h
@@ -95,6 +95,8 @@
   while (0)
 #endif
 
+#define CPP_SPEC "%{!no-ieee:-mieee}"
+
 #define WORD_SWITCH_TAKES_ARG(STR)		\
  (!strcmp (STR, "rpath") || DEFAULT_WORD_SWITCH_TAKES_ARG(STR))
 
--- gcc-4.3.0/gcc/config/alpha/alpha.opt
+++ gcc-4.3.0/gcc/config/alpha/alpha.opt
@@ -39,7 +39,7 @@
 Request IEEE-conformant math library routines (OSF/1)
 
 mieee
-Target Report RejectNegative Mask(IEEE)
+Target Report Mask(IEEE)
 Emit IEEE-conformant code, without inexact exceptions
 
 mieee-with-inexact



1.1                  src/patchsets/gcc/4.5.0/gentoo/01_all_gcc-4.1-alpha-asm-mcpu.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/01_all_gcc-4.1-alpha-asm-mcpu.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/01_all_gcc-4.1-alpha-asm-mcpu.patch?rev=1.1&content-type=text/plain

Index: 01_all_gcc-4.1-alpha-asm-mcpu.patch
===================================================================
http://bugs.gentoo.org/170146
http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00403.html

alpha: turn -mcpu=<cpu> into -m<cpu> for assembler all the time

--- gcc-x/gcc/config/alpha/elf.h
+++ gcc-x/gcc/config/alpha/elf.h
@@ -46,7 +46,7 @@
 #define CC1_SPEC  "%{G*}"
 
 #undef  ASM_SPEC
-#define ASM_SPEC  "%{G*} %{relax:-relax} %{!gstabs*:-no-mdebug}%{gstabs*:-mdebug}"
+#define ASM_SPEC  "%{G*} %{relax:-relax} %{!gstabs*:-no-mdebug}%{gstabs*:-mdebug} %{mcpu=*:-m%*}"
 
 #undef  IDENT_ASM_OP
 #define IDENT_ASM_OP "\t.ident\t"



1.1                  src/patchsets/gcc/4.5.0/gentoo/03_all_gcc43-java-nomulti.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/03_all_gcc43-java-nomulti.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/03_all_gcc43-java-nomulti.patch?rev=1.1&content-type=text/plain

Index: 03_all_gcc43-java-nomulti.patch
===================================================================
--- libjava/configure.ac.jj	2007-12-07 17:55:50.000000000 +0100
+++ libjava/configure.ac	2007-12-07 18:36:56.000000000 +0100
@@ -82,6 +82,13 @@ AC_ARG_ENABLE(java-maintainer-mode,
 	[allow rebuilding of .class and .h files]))
 AM_CONDITIONAL(JAVA_MAINTAINER_MODE, test "$enable_java_maintainer_mode" = yes)
 
+AC_ARG_ENABLE(libjava-multilib,
+	AS_HELP_STRING([--enable-libjava-multilib], [build libjava as multilib]))
+if test "$enable_libjava_multilib" = no; then
+  multilib=no
+  ac_configure_args="$ac_configure_args --disable-multilib"
+fi
+
 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
 GCC_NO_EXECUTABLES
 
--- libjava/configure.jj	2007-12-07 17:55:50.000000000 +0100
+++ libjava/configure	2007-12-07 18:39:58.000000000 +0100
@@ -1018,6 +1018,8 @@ Optional Features:
   --enable-gconf-peer     compile GConf native peers for util.preferences
   --enable-java-maintainer-mode
                           allow rebuilding of .class and .h files
+  --enable-libjava-multilib
+                          build libjava as multilib
   --disable-dependency-tracking  speeds up one-time build
   --enable-dependency-tracking   do not reject slow dependency extractors
   --enable-maintainer-mode  enable make rules and dependencies not useful
@@ -1848,6 +1850,16 @@ else
 fi
 
 
+# Check whether --enable-libjava-multilib was given.
+if test "${enable_libjava_multilib+set}" = set; then
+  enableval=$enable_libjava_multilib;
+fi
+
+if test "$enable_libjava_multilib" = no; then
+  multilib=no
+  ac_configure_args="$ac_configure_args --disable-multilib"
+fi
+
 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
 
 



1.1                  src/patchsets/gcc/4.5.0/gentoo/08_all_gcc-4.1-cross-compile.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/08_all_gcc-4.1-cross-compile.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/08_all_gcc-4.1-cross-compile.patch?rev=1.1&content-type=text/plain

Index: 08_all_gcc-4.1-cross-compile.patch
===================================================================
Some notes on the 'bootstrap with or without libc headers' debate:
http://linuxfromscratch.org/pipermail/lfs-dev/2005-July/052409.html
http://gcc.gnu.org/ml/gcc/2005-07/msg01195.html

--- gcc/unwind-dw2.c
+++ gcc/unwind-dw2.c
@@ -253,9 +253,11 @@
 }
 #endif
 
+#ifndef inhibit_libc
 #ifdef MD_UNWIND_SUPPORT
 #include MD_UNWIND_SUPPORT
 #endif
+#endif
 \f
 /* Extract any interesting information from the CIE for the translation
    unit F belongs to.  Return a pointer to the byte after the augmentation,
--- gcc/configure
+++ gcc/configure
@@ -12857,7 +12857,7 @@ then
 	    | powerpc*-*-*,powerpc64*-*-*)
 		CROSS="$CROSS -DNATIVE_CROSS" ;;
 	esac
-elif test "x$TARGET_SYSTEM_ROOT" != x; then
+elif test "x$TARGET_SYSTEM_ROOT" != x -o $build != $host; then
         SYSTEM_HEADER_DIR=$build_system_header_dir
 fi
 
--- gcc/configure.ac
+++ gcc/configure.ac
@@ -1717,7 +1717,7 @@ then
 	    | powerpc*-*-*,powerpc64*-*-*)
 		CROSS="$CROSS -DNATIVE_CROSS" ;;
 	esac
-elif test "x$TARGET_SYSTEM_ROOT" != x; then
+elif test "x$TARGET_SYSTEM_ROOT" != x -o $build != $host; then
         SYSTEM_HEADER_DIR=$build_system_header_dir 
 fi
 



1.1                  src/patchsets/gcc/4.5.0/gentoo/10_all_gcc-default-format-security.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/10_all_gcc-default-format-security.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/10_all_gcc-default-format-security.patch?rev=1.1&content-type=text/plain

Index: 10_all_gcc-default-format-security.patch
===================================================================
ripped from Debian

# DP: Turn on -Wformat -Wformat-security by  default for C, C++, ObjC, ObjC++.

--- gcc/c-common.c
+++ gcc/c-common.c
@@ -277,7 +277,7 @@
 /* Warn about format/argument anomalies in calls to formatted I/O functions
    (*printf, *scanf, strftime, strfmon, etc.).  */
 
-int warn_format;
+int warn_format = 1;
 
 /* Warn about using __null (as NULL in C++) as sentinel.  For code compiled
    with GCC this doesn't matter as __null is guaranteed to have the right
--- gcc/c.opt
+++ gcc/c.opt
@@ -228,7 +228,7 @@
 Warn about format strings that contain NUL bytes
 
 Wformat-security
-C ObjC C++ ObjC++ Var(warn_format_security) Warning
+C ObjC C++ ObjC++ Var(warn_format_security) Init(1) Warning
 Warn about possible security problems with format functions
 
 Wformat-y2k
--- gcc/doc/invoke.texi
+++ gcc/doc/invoke.texi
@@ -2802,6 +2802,9 @@
 @option{-Wformat-nonliteral}, @option{-Wformat-security}, and
 @option{-Wformat=2} are available, but are not included in @option{-Wall}.
 
+NOTE: In Gentoo, this option is enabled by default for C, C++, ObjC, ObjC++.
+To disable, use @option{-Wformat=0}.
+
 @item -Wformat-y2k
 @opindex Wformat-y2k
 @opindex Wno-format-y2k
@@ -2849,6 +2852,11 @@
 in future warnings may be added to @option{-Wformat-security} that are not
 included in @option{-Wformat-nonliteral}.)
 
+NOTE: In Gentoo, this option is enabled by default for C, C++, ObjC, ObjC++.
+To disable, use @option{-Wno-format-security}, or disable all format warnings
+with @option{-Wformat=0}.  To make format security warnings fatal, specify
+@option{-Werror=format-security}.
+
 @item -Wformat=2
 @opindex Wformat=2
 @opindex Wno-format=2



1.1                  src/patchsets/gcc/4.5.0/gentoo/10_all_gcc-default-fortify-source.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/10_all_gcc-default-fortify-source.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/10_all_gcc-default-fortify-source.patch?rev=1.1&content-type=text/plain

Index: 10_all_gcc-default-fortify-source.patch
===================================================================
ripped from Debian

# DP: Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, ObjC, ObjC++.

--- gcc/doc/invoke.texi
+++ gcc/doc/invoke.texi
@@ -5204,6 +5204,11 @@
 Please note the warning under @option{-fgcse} about
 invoking @option{-O2} on programs that use computed gotos.
 
+NOTE: In Gentoo, @option{-D_FORTIFY_SOURCE=2} is set by default, and is
+activated when @option{-O} is set to 2 or higher.  This enables additional
+compile-time and run-time checks for several libc functions.  To disable,
+specify either @option{-U_FORTIFY_SOURCE} or @option{-D_FORTIFY_SOURCE=0}.
+
 @item -O3
 @opindex O3
 Optimize yet more.  @option{-O3} turns on all optimizations specified by
--- gcc/gcc.c
+++ gcc/gcc.c
@@ -802,6 +802,7 @@
  %{H} %C %{D*&U*&A*} %{i*} %Z %i\
  %{fmudflap:-D_MUDFLAP -include mf-runtime.h}\
  %{fmudflapth:-D_MUDFLAP -D_MUDFLAPTH -include mf-runtime.h}\
+ %{!D_FORTIFY_SOURCE:%{!D_FORTIFY_SOURCE=*:%{!U_FORTIFY_SOURCE:-D_FORTIFY_SOURCE=2}}}\
  %{E|M|MM:%W{o*}}";
 
 /* This contains cpp options which are common with cc1_options and are passed



1.1                  src/patchsets/gcc/4.5.0/gentoo/11_all_gcc-netbsd-symbolic.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/11_all_gcc-netbsd-symbolic.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/11_all_gcc-netbsd-symbolic.patch?rev=1.1&content-type=text/plain

Index: 11_all_gcc-netbsd-symbolic.patch
===================================================================
http://bugs.gentoo.org/122698

--- gcc/config/netbsd-elf.h
+++ gcc/config/netbsd-elf.h
@@ -83,6 +83,7 @@
 #define NETBSD_LINK_SPEC_ELF \
   "%{assert*} %{R*} %{rpath*} \
    %{shared:-shared} \
+   %{symbolic:-Bsymbolic} \
    %{!shared: \
      -dc -dp \
      %{!nostdlib: \



1.1                  src/patchsets/gcc/4.5.0/gentoo/14_all_gcc-sparc64-bsd.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/14_all_gcc-sparc64-bsd.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/14_all_gcc-sparc64-bsd.patch?rev=1.1&content-type=text/plain

Index: 14_all_gcc-sparc64-bsd.patch
===================================================================
--- a/gcc/config/sparc/freebsd.h	2006-02-02 19:55:09 +0000
+++ b/gcc/config/sparc/freebsd.h	2007-09-06 23:55:21 +0100
@@ -26,9 +26,22 @@
 /* FreeBSD needs the platform name (sparc64) defined.
    Emacs needs to know if the arch is 64 or 32-bits.  */
 
-#undef  CPP_CPU64_DEFAULT_SPEC
-#define CPP_CPU64_DEFAULT_SPEC \
-  "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__arch64__"
+#undef  FBSD_TARGET_CPU_CPP_BUILTINS
+#define FBSD_TARGET_CPU_CPP_BUILTINS()                  \
+  do                                                    \
+    {                                                   \
+      if (TARGET_ARCH64)                                \
+        {                                               \
+          builtin_define ("__sparc64__");               \
+          builtin_define ("__sparc_v9__");              \
+          builtin_define ("__sparcv9");                 \
+        }                                               \
+      else                                              \
+        builtin_define ("__sparc");                     \
+      builtin_define ("__sparc__");                     \
+    }                                                   \
+  while (0)
+
 
 #define LINK_SPEC "%(link_arch)						\
   %{!mno-relax:%{!r:-relax}}						\



1.1                  src/patchsets/gcc/4.5.0/gentoo/15_all_gcc-libgomp-no-werror.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/15_all_gcc-libgomp-no-werror.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/15_all_gcc-libgomp-no-werror.patch?rev=1.1&content-type=text/plain

Index: 15_all_gcc-libgomp-no-werror.patch
===================================================================
libgomp does not respect --disable-werror

http://bugs.gentoo.org/229059
http://gcc.gnu.org/PR38436

--- gcc-4.3.2/libgomp/configure
+++ gcc-4.3.2/libgomp/configure
@@ -3297,7 +3297,7 @@
 
 # Add -Wall -Werror if we are using GCC.
 if test "x$GCC" = "xyes"; then
-  XCFLAGS="$XCFLAGS -Wall -Werror"
+  XCFLAGS="$XCFLAGS -Wall"
 fi
 
 # Find other programs we need.



1.1                  src/patchsets/gcc/4.5.0/gentoo/40_all_gcc-4.4-libiberty.h-asprintf.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/40_all_gcc-4.4-libiberty.h-asprintf.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/40_all_gcc-4.4-libiberty.h-asprintf.patch?rev=1.1&content-type=text/plain

Index: 40_all_gcc-4.4-libiberty.h-asprintf.patch
===================================================================
2008-07-25  Magnus Granberg  <zorry@ume.nu>

	* include/libiberty.h (asprintf): Don't declare if defined as a macro

--- include/libiberty.h.zorry
+++ include/libiberty.h
@@ -554,8 +554,11 @@
 /* Like sprintf but provides a pointer to malloc'd storage, which must
    be freed by the caller.  */
 
+/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL.  */
+#ifndef asprintf
 extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2;
 #endif
+#endif
 
 #if !HAVE_DECL_VASPRINTF
 /* Like vsprintf but provides a pointer to malloc'd storage, which



1.1                  src/patchsets/gcc/4.5.0/gentoo/47_all_arm-unbreak-armv4t.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/47_all_arm-unbreak-armv4t.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/47_all_arm-unbreak-armv4t.patch?rev=1.1&content-type=text/plain

Index: 47_all_arm-unbreak-armv4t.patch
===================================================================
http://sourceware.org/ml/crossgcc/2008-05/msg00009.html

gcc defaults to armv5t for all targets even armv4t

--- gcc/config/arm/linux-eabi.h
+++ gcc/config/arm/linux-eabi.h
@@ -45,7 +45,7 @@
    The ARM10TDMI core is the default for armv5t, so set
    SUBTARGET_CPU_DEFAULT to achieve this.  */
 #undef  SUBTARGET_CPU_DEFAULT
-#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi
 
 /* TARGET_BIG_ENDIAN_DEFAULT is set in
    config.gcc for big endian configurations.  */



1.1                  src/patchsets/gcc/4.5.0/gentoo/51_all_gcc-3.4-libiberty-pic.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/51_all_gcc-3.4-libiberty-pic.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/51_all_gcc-3.4-libiberty-pic.patch?rev=1.1&content-type=text/plain

Index: 51_all_gcc-3.4-libiberty-pic.patch
===================================================================
--- gcc-4.1.0-orig/libiberty/Makefile.in	2006-03-01 15:49:14.000000000 -0500
+++ gcc-4.1.0/libiberty/Makefile.in	2006-03-01 18:10:46.000000000 -0500
@@ -232,6 +232,7 @@
 	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
 	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
 	  $(RANLIB) $(TARGETLIB); \
+	  cp $(TARGETLIB) ../ ; \
 	  cd ..; \
 	else true; fi
 



1.1                  src/patchsets/gcc/4.5.0/gentoo/53_all_gcc4-superh-default-multilib.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/53_all_gcc4-superh-default-multilib.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/53_all_gcc4-superh-default-multilib.patch?rev=1.1&content-type=text/plain

Index: 53_all_gcc4-superh-default-multilib.patch
===================================================================
The gcc-3.x toolchains would contain all the targets by default.  With gcc-4,
you have to actually list out the multilibs you want or you will end up with
just one when using targets like 'sh4-linux-gnu'.

The resulting toolchain can't even build a kernel as the kernel needs to build
with the nofpu flag to be sure that no fpu ops are generated.

Here we restore the gcc-3.x behavior; the additional overhead of building all
of these multilibs by default is negligible.

http://bugs.gentoo.org/140205

--- gcc-4.2.0/gcc/config.gcc
+++ gcc-4.2.0/gcc/config.gcc
@@ -2092,7 +2092,7 @@
 	if test x${sh_multilibs} = x ; then
 		case ${target} in
 		sh64-superh-linux* | \
-		sh[1234]*)	sh_multilibs=${sh_cpu_target} ;;
+		sh[1234]*)	sh_multilibs=`cd ${srcdir}/config/sh ; echo t-mlib-sh[1-4]* | sed 's:t-mlib-sh:,m:g;s: ::g'` ;;
 		sh64* | sh5*)	sh_multilibs=m5-32media,m5-32media-nofpu,m5-compact,m5-compact-nofpu,m5-64media,m5-64media-nofpu ;;
 		sh-superh-*)	sh_multilibs=m4,m4-single,m4-single-only,m4-nofpu ;;
 		sh*-*-linux*)	sh_multilibs=m1,m3e,m4 ;;



1.1                  src/patchsets/gcc/4.5.0/gentoo/61_all_gcc4-ia64-noteGNUstack.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/61_all_gcc4-ia64-noteGNUstack.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/61_all_gcc4-ia64-noteGNUstack.patch?rev=1.1&content-type=text/plain

Index: 61_all_gcc4-ia64-noteGNUstack.patch
===================================================================
2004-09-20  Jakub Jelinek  <jakub@redhat.com>

	* config/rs6000/ppc-asm.h: Add .note.GNU-stack section also
	on ppc64-linux.

	* config/ia64/lib1funcs.asm: Add .note.GNU-stack section on
	ia64-linux.
	* config/ia64/crtbegin.asm: Likewise.
	* config/ia64/crtend.asm: Likewise.
	* config/ia64/crti.asm: Likewise.
	* config/ia64/crtn.asm: Likewise.

2004-05-14  Jakub Jelinek  <jakub@redhat.com>

	* config/ia64/linux.h (TARGET_ASM_FILE_END): Define.

--- gcc/config/ia64/linux.h.jj	2004-05-14 07:21:27.000000000 -0400
+++ gcc/config/ia64/linux.h	2004-05-14 09:21:09.000000000 -0400
@@ -5,6 +5,8 @@
 
 #define TARGET_VERSION fprintf (stderr, " (IA-64) Linux");
 
+#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+
 /* This is for -profile to use -lc_p instead of -lc.  */
 #undef CC1_SPEC
 #define CC1_SPEC "%{profile:-p} %{G*}"
--- gcc/config/rs6000/ppc-asm.h.jj	2003-06-04 18:40:59.000000000 +0200
+++ gcc/config/rs6000/ppc-asm.h	2004-09-20 14:17:47.259396058 +0200
@@ -158,7 +158,7 @@ GLUE(.L,name): \
 	.size FUNC_NAME(name),GLUE(.L,name)-FUNC_NAME(name)
 #endif
 
-#if defined __linux__ && !defined __powerpc64__
+#if defined __linux__
 	.section .note.GNU-stack
 	.previous
 #endif
--- gcc/config/ia64/lib1funcs.asm.jj	2003-10-27 11:45:17.000000000 +0100
+++ gcc/config/ia64/lib1funcs.asm	2004-09-20 14:26:28.094132706 +0200
@@ -741,3 +741,7 @@ __floattitf:
 	.endp __floattitf
 
 #endif
+
+#ifdef __linux__
+.section .note.GNU-stack; .previous
+#endif
--- gcc/config/ia64/crtend.asm.jj	2004-05-20 14:36:14.000000000 +0200
+++ gcc/config/ia64/crtend.asm	2004-09-20 14:25:57.329580329 +0200
@@ -113,3 +113,7 @@ __do_global_ctors_aux:
 
 	br.ret.sptk.many rp
 	.endp __do_global_ctors_aux
+
+#ifdef __linux__
+.section .note.GNU-stack; .previous
+#endif
--- gcc/config/ia64/crti.asm.jj	2003-04-02 17:14:15.000000000 +0200
+++ gcc/config/ia64/crti.asm	2004-09-20 14:26:06.852894092 +0200
@@ -64,3 +64,7 @@ _fini:
 	.body
 
 # end of crti.asm
+
+#ifdef __linux__
+.section .note.GNU-stack; .previous
+#endif
--- gcc/config/ia64/crtbegin.asm.jj	2004-05-20 14:36:14.000000000 +0200
+++ gcc/config/ia64/crtbegin.asm	2004-09-20 14:25:47.105390566 +0200
@@ -246,3 +246,7 @@ __do_jv_register_classes:
 .weak __cxa_finalize
 #endif
 .weak _Jv_RegisterClasses
+
+#ifdef __linux__
+.section .note.GNU-stack; .previous
+#endif
--- gcc/config/ia64/crtn.asm.jj	2003-04-02 17:14:15.000000000 +0200
+++ gcc/config/ia64/crtn.asm	2004-09-20 14:26:16.381206878 +0200
@@ -54,3 +54,7 @@
 	br.ret.sptk.many b0
 
 # end of crtn.asm
+
+#ifdef __linux__
+.section .note.GNU-stack; .previous
+#endif



1.1                  src/patchsets/gcc/4.5.0/gentoo/74_all_sh-pr24836.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/74_all_sh-pr24836.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/74_all_sh-pr24836.patch?rev=1.1&content-type=text/plain

Index: 74_all_sh-pr24836.patch
===================================================================
http://sourceforge.net/mailarchive/forum.php?thread_id=8959304&forum_id=5348
http://gcc.gnu.org/PR24836

--- gcc/gcc/configure.ac
+++ gcc/gcc/configure.ac
@@ -2446,7 +2446,7 @@
 	tls_first_minor=14
 	tls_as_opt="-m64 -Aesame --fatal-warnings"
 	;;
-  sh-*-* | sh[34]-*-*)
+  sh-*-* | sh[34]*-*-*)
     conftest_s='
 	.section ".tdata","awT",@progbits
 foo:	.long	25
--- gcc/gcc/configure
+++ gcc/gcc/configure
@@ -14846,7 +14846,7 @@
 	tls_first_minor=14
 	tls_as_opt="-m64 -Aesame --fatal-warnings"
 	;;
-  sh-*-* | sh[34]-*-*)
+  sh-*-* | sh[34]*-*-*)
     conftest_s='
 	.section ".tdata","awT",@progbits
 foo:	.long	25



1.1                  src/patchsets/gcc/4.5.0/gentoo/README.history

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/README.history?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.5.0/gentoo/README.history?rev=1.1&content-type=text/plain

Index: README.history
===================================================================
1.0		24.04.2010
	+ 00_all_gcc-4.1-alpha-mieee-default.patch
	+ 01_all_gcc-4.1-alpha-asm-mcpu.patch
	+ 03_all_gcc43-java-nomulti.patch
	+ 08_all_gcc-4.1-cross-compile.patch
	+ 10_all_gcc-default-format-security.patch
	+ 10_all_gcc-default-fortify-source.patch
	+ 11_all_gcc-netbsd-symbolic.patch
	+ 14_all_gcc-sparc64-bsd.patch
	+ 15_all_gcc-libgomp-no-werror.patch
	+ 40_all_gcc-4.4-libiberty.h-asprintf.patch
	+ 47_all_arm-unbreak-armv4t.patch
	+ 51_all_gcc-3.4-libiberty-pic.patch
	+ 53_all_gcc4-superh-default-multilib.patch
	+ 61_all_gcc4-ia64-noteGNUstack.patch
	+ 74_all_sh-pr24836.patch







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-24 23:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-24 23:44 [gentoo-commits] gentoo commit in src/patchsets/gcc/4.5.0/gentoo: 00_all_gcc-4.1-alpha-mieee-default.patch 01_all_gcc-4.1-alpha-asm-mcpu.patch 03_all_gcc43-java-nomulti.patch 08_all_gcc-4.1-cross-compile.patch 10_all_gcc-default-format-security.patch 10_all_gcc-default-fortify-source.patch 11_all_gcc-netbsd-symbolic.patch 14_all_gcc-sparc64-bsd.patch 15_all_gcc-libgomp-no-werror.patch 40_all_gcc-4.4-libiberty.h-asprintf.patch 47_all_arm-unbreak-armv4t.patch 51_all_gcc-3.4-libiberty-pic.patch 53_all_gcc4-superh-default-multilib.patch 61_all_gcc4-ia64-noteGNUstack.patch 74_all_sh-pr24836.patch README.history Mark Loeser (halcy0n)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox