From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28956 invoked by alias); 13 Jun 2011 17:34:13 -0000 Received: (qmail 28712 invoked by uid 22791); 13 Jun 2011 17:34:12 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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; Mon, 13 Jun 2011 17:33:55 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DHXsWN010870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Jun 2011 13:33:54 -0400 Received: from anchor.twiddle.net (vpn-238-34.phx2.redhat.com [10.3.238.34]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p5DHXrB6021129; Mon, 13 Jun 2011 13:33:54 -0400 Message-ID: <4DF64A01.5030403@redhat.com> Date: Mon, 13 Jun 2011 17:34:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10 MIME-Version: 1.0 To: Jakub Jelinek CC: Richard Henderson , libc-alpha@sourceware.org, binutils@sourceware.org, gdb@sourceware.org, Mark Wielaard , Frank Eigler Subject: Re: RFC: Unwind info for PLT References: <20110610074524.GR17079@tyan-ft48-01.lab.bos.redhat.com> <4DF23519.7050607@twiddle.net> <20110613171352.GY11563@sunsite.ms.mff.cuni.cz> In-Reply-To: <20110613171352.GY11563@sunsite.ms.mff.cuni.cz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00093.txt.bz2 On 06/13/2011 10:13 AM, Jakub Jelinek wrote: > Yeah, easier to write and easier to change. Anyway, if you prefer to do > it in ld, I can try to do it there. Just a question, should it be done > unconditionally, or guarded with some ld cmdline option (either existing one, like > abuse --eh-frame-hdr for it, or a new one)? I don't have a real preference. I could see abusing --eh-frame-hdr makes sense. > On other targets like SPARC or PowerPC -mbss-plt it is the dynamic linker > which updates or completely writes .plt section though, should in that > case the dynamic linker provide the unwind info instead? I thought that those ABIs were deprecated. At which point I don't find myself caring much. Besides -- the RISC PLT formats don't adjust the stack, so the "default" unwinding rule of looking at the return address works. r~