From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SMXid-0004xD-LD for garchives@archives.gentoo.org; Tue, 24 Apr 2012 04:51:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1731E0D05; Tue, 24 Apr 2012 04:47:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 96A12E0CFF for ; Tue, 24 Apr 2012 04:47:32 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 043ED1B401C for ; Tue, 24 Apr 2012 04:47:31 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id 38E6420078; Tue, 24 Apr 2012 04:47:28 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo commit in src/patchsets/binutils/2.18.50.0.4: 91_all_libiberty-pic.patch X-VCS-Repository: gentoo X-VCS-Files: 91_all_libiberty-pic.patch X-VCS-Directories: src/patchsets/binutils/2.18.50.0.4 X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: <20120424044728.38E6420078@flycatcher.gentoo.org> Date: Tue, 24 Apr 2012 04:47:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 3a137c87-0f7d-4699-85dd-2f6e323ec823 X-Archives-Hash: 3874ffefb908faa79fb1cfa477e92517 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.18.50.0.4/91_all_libiberty-= pic.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils= /2.18.50.0.4/91_all_libiberty-pic.patch?rev=3D1.2&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils= /2.18.50.0.4/91_all_libiberty-pic.patch?rev=3D1.2&content-type=3Dtext/pla= in diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils= /2.18.50.0.4/91_all_libiberty-pic.patch?r1=3D1.1&r2=3D1.2 Index: 91_all_libiberty-pic.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo/src/patchsets/binutils/2.18.50.0.4/91_all_l= ibiberty-pic.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 91_all_libiberty-pic.patch 9 Feb 2008 04:12:12 -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-pi= c +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 luc= k. +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 th= e +non-PIE users, but the counter point is that people using this library i= n +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); \