public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/binutils/2.19.51.0.1: 91_all_libiberty-pic.patch
@ 2012-04-24  4:47 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2012-04-24  4:47 UTC (permalink / raw
  To: gentoo-commits

vapier      12/04/24 04:47:28

  Modified:             91_all_libiberty-pic.patch
  Log:
  document this patch better

Revision  Changes    Path
1.2                  src/patchsets/binutils/2.19.51.0.1/91_all_libiberty-pic.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.19.51.0.1/91_all_libiberty-pic.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.19.51.0.1/91_all_libiberty-pic.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.19.51.0.1/91_all_libiberty-pic.patch?r1=1.1&r2=1.2

Index: 91_all_libiberty-pic.patch
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/binutils/2.19.51.0.1/91_all_libiberty-pic.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 91_all_libiberty-pic.patch	10 Jan 2009 12:49:26 -0000	1.1
+++ 91_all_libiberty-pic.patch	24 Apr 2012 04:47:28 -0000	1.2
@@ -1,5 +1,14 @@
---- libiberty/Makefile.in.mps	2004-05-13 15:53:17.000000000 +0200
-+++ libiberty/Makefile.in	2004-05-13 15:52:53.000000000 +0200
+this will install a pic version of libiberty.a by overwriting the non-pic
+version of libiberty.a while compiling.  we do this because there is no
+shared version of libiberty for random apps to link against which means if
+someone wants to use this in a shared library or PIE, they're out of luck.
+it's arguable whether people should be able to use this in a shared lib,
+but usage in PIE should be fine.  you could argue that this penalizes the
+non-PIE users, but the counter point is that people using this library in
+general are fairly low, and we'd rather have things work for all of them.
+
+--- libiberty/Makefile.in
++++ libiberty/Makefile.in
 @@ -224,6 +224,7 @@ $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA
  	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
  	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \






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

only message in thread, other threads:[~2012-04-24  4:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-24  4:47 [gentoo-commits] gentoo commit in src/patchsets/binutils/2.19.51.0.1: 91_all_libiberty-pic.patch 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