diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-03-01 08:09:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-03-01 08:09:44 +0000 |
commit | 4ff958ee03c67b0c2c11a77a190c7d8893f9b716 (patch) | |
tree | 4f32cd383f4a07ddb465d9aca63bd81194961aee /eclass | |
parent | add xz support by Brandon Berhent #260653 (diff) | |
download | gentoo-2-4ff958ee03c67b0c2c11a77a190c7d8893f9b716.tar.gz gentoo-2-4ff958ee03c67b0c2c11a77a190c7d8893f9b716.tar.bz2 gentoo-2-4ff958ee03c67b0c2c11a77a190c7d8893f9b716.zip |
add more comments to the linker script
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain-funcs.eclass | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index be14976e8c91..4cd5cc6769c7 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -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 $ # @ECLASS: toolchain-funcs.eclass # @MAINTAINER: @@ -435,10 +435,11 @@ gen_usr_ldscript() { 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 static versions + in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we + run into linking problems. This "fake" dynamic lib is a linker script 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. See bug http://bugs.gentoo.org/4411 for more info. */ |