From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1819 invoked by alias); 12 Jul 2011 23:04:28 -0000 Received: (qmail 1693 invoked by uid 22791); 12 Jul 2011 23:04:27 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-bw0-f41.google.com (HELO mail-bw0-f41.google.com) (209.85.214.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Jul 2011 23:03:53 +0000 Received: by bwd14 with SMTP id 14so2424347bwd.0 for ; Tue, 12 Jul 2011 16:03:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.17.5 with SMTP id q5mr223916bka.73.1310511832120; Tue, 12 Jul 2011 16:03:52 -0700 (PDT) Received: by 10.204.37.80 with HTTP; Tue, 12 Jul 2011 16:03:52 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Jul 2011 23:54:00 -0000 Message-ID: Subject: Re: gold patch committed: Adjust protected symbol function address From: "H.J. Lu" To: Ian Lance Taylor Cc: binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00123.txt.bz2 On Tue, Jul 12, 2011 at 3:32 PM, Ian Lance Taylor wrote: > The glibc testsuite has a test case which checks that when the main > executable refers to a protected function defined in a shared library, > the function address seen in the main executable is the same as the > function address seen in the shared library. =A0I'm not sure this is a > worthwhile test, because it fails when using gcc's visibility attribute. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D19520 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D35513 --=20 H.J.