From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32499 invoked by alias); 13 Oct 2010 07:04:11 -0000 Received: (qmail 32469 invoked by uid 22791); 13 Oct 2010 07:04:10 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Oct 2010 07:04:04 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 867C8CB025A; Wed, 13 Oct 2010 09:04:02 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TNQbSl9KIirN; Wed, 13 Oct 2010 09:04:02 +0200 (CEST) Received: from [192.168.1.2] (bon31-9-83-155-120-49.fbx.proxad.net [83.155.120.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 08C70CB01DD; Wed, 13 Oct 2010 09:04:01 +0200 (CEST) From: Eric Botcazou To: Richard Henderson Subject: Re: [RFC] Centralize knowledge of eh personality routines Date: Wed, 13 Oct 2010 07:04:00 -0000 User-Agent: KMail/1.9.9 Cc: GCC Patches , rguenther@suse.de, joseph@codesourcery.com, jason@redhat.com, java@gcc.gnu.org, ian@airs.com, Olivier Hainque References: <4CB4E841.1090308@redhat.com> In-Reply-To: <4CB4E841.1090308@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201010130903.00490.ebotcazou@adacore.com> Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg00014.txt.bz2 > The driver for this patch is SEH, which will add yet another function > name variant in each of these places in each front end. While I could > adjust each language appropriately, it seems to me that it is a bit > cleaner to centralize this knowledge. -/* Build a decl for a EH personality function named NAME. */ +/* Build a personality function given a language. LANG is really an + enum dwarf_source_language. */ Left-overs from when it was only an integer? + case DW_LANG_Ada83: + case DW_LANG_Ada95: + prefix = "__gnat_eh_personality"; + /* The GNAT folk did not follow the standard naming format. + That can change if we ever have to increment the version. */ + if (ui == UI_DWARF2 || ui == UI_TARGET) + unwind = ""; + version = ""; + break; Let's change that right now, we don't guarantee any ABI compatibility between different major releases. Olivier, any objections? -- Eric Botcazou