From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8376 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH v10] Build process uses script to add CFI directives to x86 asm Date: Wed, 26 Aug 2015 23:47:23 -0400 Message-ID: <20150827034723.GU32742@brightrain.aerifal.cx> References: <1436533404-7195-1-git-send-email-alexinbeijing@gmail.com> <20150826202957.GR32742@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1440647272 31256 80.91.229.3 (27 Aug 2015 03:47:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Aug 2015 03:47:52 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8388-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 27 05:47:39 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZUoA6-0005hF-61 for gllmg-musl@m.gmane.org; Thu, 27 Aug 2015 05:47:38 +0200 Original-Received: (qmail 12135 invoked by uid 550); 27 Aug 2015 03:47:36 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 12111 invoked from network); 27 Aug 2015 03:47:35 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8376 Archived-At: On Thu, Aug 27, 2015 at 05:38:12AM +0200, Alex wrote: > On Wed, Aug 26, 2015 at 10:29 PM, Rich Felker wrote: > > On Fri, Jul 10, 2015 at 03:03:24PM +0200, Alex Dowad wrote: > >> Some functions implemented in asm need to use EBP for purposes other than acting > >> as a frame pointer. (Notably, it is used for the 6th argument to syscalls with > >> 6 arguments.) Without frame pointers, GDB can only show backtraces if it gets > >> CFI information from a .debug_frame or .eh_frame ELF section. > >> [...] > > > > Committed, finally! > > > > Sorry for the long delay. I was using this locally without problem and > > somehow forgot that I had not actually committed it despite saying I > > would do so if no problems were found. > > > > The only change I made was re-folding the commit message to fit well > > in 80 columns. > > So I guess a script for x86-64 is needed now? Yes, that would be great. I'm trying to package up 1.1.11 now, so maybe we can plan to get the x86_64 CFI committed somewhere early in the next release cycle? Thanks again for your work on this! Rich