From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ldgk6-00023P-90 for garchives@archives.gentoo.org; Sun, 01 Mar 2009 08:09:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A751E01AE; Sun, 1 Mar 2009 08:09:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7B6C5E01AE for ; Sun, 1 Mar 2009 08:09:45 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 1DF5A64478 for ; Sun, 1 Mar 2009 08:09:45 +0000 (UTC) Received: from vapier by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1Ldgk4-0005ym-Py for gentoo-commits@lists.gentoo.org; Sun, 01 Mar 2009 08:09:44 +0000 From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain-funcs.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: toolchain-funcs.eclass X-VCS-Directories: eclass X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: Sender: Mike Frysinger Date: Sun, 01 Mar 2009 08:09:44 +0000 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: 37a86267-42eb-4554-b35a-d72d976b8560 X-Archives-Hash: 52771d57232dbd99b0c241adc2c60234 vapier 09/03/01 08:09:44 Modified: toolchain-funcs.eclass Log: add more comments to the linker script Revision Changes Path 1.87 eclass/toolchain-funcs.eclass file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-f= uncs.eclass?rev=3D1.87&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-f= uncs.eclass?rev=3D1.87&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-f= uncs.eclass?r1=3D1.86&r2=3D1.87 Index: toolchain-funcs.eclass =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-x86/eclass/toolchain-funcs.eclass,v retrieving revision 1.86 retrieving revision 1.87 diff -u -r1.86 -r1.87 --- toolchain-funcs.eclass 25 Feb 2009 00:25:51 -0000 1.86 +++ toolchain-funcs.eclass 1 Mar 2009 08:09:44 -0000 1.87 @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.86 = 2009/02/25 00:25:51 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.87 = 2009/03/01 08:09:44 vapier Exp $ =20 # @ECLASS: toolchain-funcs.eclass # @MAINTAINER: @@ -435,10 +435,11 @@ fi cat > "${D}/usr/${libdir}/${lib}" <<-END_LDSCRIPT /* GNU ld script - Since Gentoo has critical dynamic libraries - in /lib, and the static versions in /usr/lib, - we need to have a "fake" dynamic lib in /usr/lib, - otherwise we run into linking problems. + Since Gentoo has critical dynamic libraries in /lib, and the stati= c versions + in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, oth= erwise we + run into linking problems. This "fake" dynamic lib is a linker sc= ript that + redirects the linker to the real lib. And yes, this works in the = cross- + compiling scenario as the sysroot-ed linker will prepend the real = path. =20 See bug http://bugs.gentoo.org/4411 for more info. */