public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/gcc/4.4.5/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:37

  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.8                  src/patchsets/gcc/4.4.5/gentoo/README.history

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

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.4.5/gentoo/README.history,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- README.history	10 Apr 2011 16:27:59 -0000	1.7
+++ README.history	10 Apr 2011 18:31:37 -0000	1.8
@@ -1,5 +1,6 @@
 1.3		[pending]
 	+ 30_all_gcc-4.4-ppc-msingle-pic-base.patch
+	+ 31_all_gcc-4.4-ppc-fpic-mrelocatable.patch
 	+ 41_all_4.4.5-msabi.patch
 
 1.2		12.02.2011



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

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.4.5/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.4.5/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.4.5/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