From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10217 invoked by alias); 14 Feb 2010 21:59:52 -0000 Received: (qmail 10209 invoked by uid 22791); 14 Feb 2010 21:59:52 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_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; Sun, 14 Feb 2010 21:59:46 +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 o1ELxjX2000807 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 14 Feb 2010 16:59:45 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1ELxhJR017832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 14 Feb 2010 16:59:44 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id o1ELxhmJ007803; Sun, 14 Feb 2010 22:59:43 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id o1ELxgat007802; Sun, 14 Feb 2010 22:59:42 +0100 Date: Sun, 14 Feb 2010 21:59:00 -0000 From: Jan Kratochvil To: Mark Kettenis Cc: gdb-patches@sourceware.org Subject: Re: [patch] STT_GNU_IFUNC support Message-ID: <20100214215942.GA7712@host0.dyn.jankratochvil.net> References: <20100214203512.GA838@host0.dyn.jankratochvil.net> <201002142142.o1ELgUYd007120@glazunov.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201002142142.o1ELgUYd007120@glazunov.sibelius.xs4all.nl> User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-02/txt/msg00356.txt.bz2 On Sun, 14 Feb 2010 22:42:30 +0100, Mark Kettenis wrote: > While the symbol may be in the OS-specific range it is actually more > toolchain dependent than OS-dependent. Unless I'm missing something, > all OS'es that use binutils as their toolchain will support > STT_GNU_IFUNC. It is true GDB already does not interpret STT_GNU_IFUNC but it just follows BSF_GNU_INDIRECT_FUNCTION. It is more the bfd/'s task to decide when the STT_GNU_IFUNC numeric value is valid at the specific platform. > And perhaps we should consider enabling support for it on all supported ELF > platforms. OK, that will make this patch also simple. I will send it later. Thanks, Jan