From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7377 invoked by alias); 24 Mar 2010 17:16:20 -0000 Received: (qmail 7224 invoked by uid 22791); 24 Mar 2010 17:16:17 -0000 X-SWARE-Spam-Status: No, hits=-7.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 24 Mar 2010 17:16:11 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2OHG9YY007138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 24 Mar 2010 13:16:10 -0400 Received: from x61.akkadia.org (vpn1-6-188.ams2.redhat.com [10.36.6.188]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2OHG7KR028917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 24 Mar 2010 13:16:09 -0400 Message-ID: <4BAA48D7.3010308@redhat.com> Date: Wed, 24 Mar 2010 17:16:00 -0000 From: Ulrich Drepper User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de-DE; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3 MIME-Version: 1.0 To: libc-hacker@sourceware.org Subject: Re: [PATCH] Fix handling of STB_GNU_UNIQUE in LD_TRACE_PRELINKING References: <20100323103348.GE3601@sunsite.ms.mff.cuni.cz> In-Reply-To: <20100323103348.GE3601@sunsite.ms.mff.cuni.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00011.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/23/2010 03:33 AM, Jakub Jelinek wrote: > Attached are two possible patches. The second, shorter one, is all that is > needed currently (I believe). The difference between the patches is in > handling libraries with DT_SYMBOLIC and STB_GNU_UNIQUE symbols. Apparently > current GNU ld if there is a relocation against STB_GNU_UNIQUE symbol > defined in the library itself, doesn't emit any relocation and resolves at > link time (possibly through a relative relocation). Is that what we want > though? Then the STB_GNU_UNIQUE symbols aren't really unique... Right. The linker has to be fixed. I've applied the first patch. - -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkuqSNcACgkQ2ijCOnn/RHQkNACgu14Wmhn6JxpmuDbE3PEUG82a qO8AniThFZts0yE1zJ+IXaBQjD3P1XOW =2rjh -----END PGP SIGNATURE-----