From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23641 invoked by alias); 5 Jan 2005 03:14:38 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 23590 invoked from network); 5 Jan 2005 03:14:29 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 5 Jan 2005 03:14:29 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j053ET6B004327 for ; Tue, 4 Jan 2005 22:14:29 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j053EPr17107; Tue, 4 Jan 2005 22:14:26 -0500 Received: from frothingslosh.sfbay.redhat.com (frothingslosh.sfbay.redhat.com [172.16.24.27]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id j053EJ4a011541; Tue, 4 Jan 2005 22:14:21 -0500 Received: from frothingslosh.sfbay.redhat.com (localhost.localdomain [127.0.0.1]) by frothingslosh.sfbay.redhat.com (8.13.1/8.13.1) with ESMTP id j053EIdu014669; Tue, 4 Jan 2005 19:14:18 -0800 Received: (from rth@localhost) by frothingslosh.sfbay.redhat.com (8.13.1/8.13.1/Submit) id j053EHCR014668; Tue, 4 Jan 2005 19:14:17 -0800 X-Authentication-Warning: frothingslosh.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Wed, 05 Jan 2005 03:14:00 -0000 From: Richard Henderson To: Simon Burge Cc: Jakub Jelinek , Nick Clifton , Ian Lance Taylor , binutils@sources.redhat.com Subject: Re: .eh_frame section on alpha Message-ID: <20050105031417.GD14376@redhat.com> References: <20041229073919.8EEE02356C@thoreau.thistledown.com.au> <41DA653D.6030101@redhat.com> <20050104095809.GQ3168@sunsite.mff.cuni.cz> <41DA6C6B.1090807@redhat.com> <20050104175111.GG3605@redhat.com> <20050104212720.GA23945@thoreau.thistledown.com.au> <20050104224021.GU3168@sunsite.mff.cuni.cz> <20050105021713.GA4414@thoreau.thistledown.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050105021713.GA4414@thoreau.thistledown.com.au> User-Agent: Mutt/1.4.1i X-SW-Source: 2005-01/txt/msg00033.txt.bz2 On Wed, Jan 05, 2005 at 01:17:13PM +1100, Simon Burge wrote: > Back to part of my original question - why did the .eh_frame section > become mandatory on alpha when it doesn't appear to be on any other > architecture? Oh, but it does appear with other architectures. x86-64, s390, and ia64, at least. > I'm not a C++ person, but I understood that this section was used > with the exception handling mechanism. Yes, but exceptions are the only reasonable way to implement POSIX thread cancellation. So we need to be able to handle exceptions propagating through C and assembly code as well. Alpha is (nearly) unique in that the original assembly language specified directives from which unwind information can be derived. Which meant that we don't have to go back and modify the assembly specifically to add dwarf2 annotations to get things to work. r~