public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/gcc/4.5.2/gentoo: 31_all_gcc-4.4-ppc-fpic-mrelocatable.patch README.history
@ 2011-04-10 18:31 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-04-10 18:31 UTC (permalink / raw
  To: gentoo-commits

vapier      11/04/10 18:31:39

  Modified:             README.history
  Added:                31_all_gcc-4.4-ppc-fpic-mrelocatable.patch
  Log:
  add patch from gcc-4.6 for ppc -fpic with -mrelocatable #347281

Revision  Changes    Path
1.13                 src/patchsets/gcc/4.5.2/gentoo/README.history

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.2/gentoo/README.history?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.2/gentoo/README.history?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.2/gentoo/README.history?r1=1.12&r2=1.13

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.5.2/gentoo/README.history,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- README.history	10 Apr 2011 16:27:59 -0000	1.12
+++ README.history	10 Apr 2011 18:31:39 -0000	1.13
@@ -1,6 +1,7 @@
 1.2		[pending]
 	+ 24_all_4.5.2_pr43653_clang_ICE.patch
 	+ 30_all_gcc-4.5-ppc-msingle-pic-base.patch
+	+ 31_all_gcc-4.4-ppc-fpic-mrelocatable.patch
 
 1.1		13.02.2011
 	+ 22_all_4.6_pr45094_arm-dword-move.patch



1.1                  src/patchsets/gcc/4.5.2/gentoo/31_all_gcc-4.4-ppc-fpic-mrelocatable.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.2/gentoo/31_all_gcc-4.4-ppc-fpic-mrelocatable.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.5.2/gentoo/31_all_gcc-4.4-ppc-fpic-mrelocatable.patch?rev=1.1&content-type=text/plain

Index: 31_all_gcc-4.4-ppc-fpic-mrelocatable.patch
===================================================================
https://bugs.gentoo.org/347281

backported from gcc-4.6

From d8ff0b3f0b44480542eab04d1659f4368b6b09cf Mon Sep 17 00:00:00 2001
From: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Date: Sun, 10 Oct 2010 10:34:50 +0200
Subject: [PATCH] powerpc: Support -fpic too with mrelocatable


Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
---
 sysv4.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 8da8410..e4b8280 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -227,7 +227,8 @@ do {									\
     }									\
 									\
   else if (TARGET_RELOCATABLE)						\
-    flag_pic = 2;							\
+    if (!flag_pic)							\
+      flag_pic = 2;							\
 } while (0)
 
 #ifndef RS6000_BI_ARCH
-- 
1.7.2.2







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

only message in thread, other threads:[~2011-04-10 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-10 18:31 [gentoo-commits] gentoo commit in src/patchsets/gcc/4.5.2/gentoo: 31_all_gcc-4.4-ppc-fpic-mrelocatable.patch README.history Mike Frysinger (vapier)

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