From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 5ttuBn5HoF8xFgAAWB0awg (envelope-from ) for ; Mon, 02 Nov 2020 12:53:02 -0500 Received: by simark.ca (Postfix, from userid 112) id 0DA9F1F08B; Mon, 2 Nov 2020 12:53:02 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 42CE61E58F for ; Mon, 2 Nov 2020 12:53:01 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EEF3A38708AB; Mon, 2 Nov 2020 17:52:59 +0000 (GMT) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by sourceware.org (Postfix) with ESMTPS id 4F2B838708AB for ; Mon, 2 Nov 2020 17:52:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4F2B838708AB Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=whitebox@nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4CQ0r816Vfz1qs11; Mon, 2 Nov 2020 18:52:56 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4CQ0r80t09z1qtZ0; Mon, 2 Nov 2020 18:52:56 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id tn34kr20Sn93; Mon, 2 Nov 2020 18:52:55 +0100 (CET) X-Auth-Info: pfx62dyHj4jCTGgey6eBMc+NKxiPrYwuZjkRe6uvqJs8RXEw5/7BIOWbuR1ljUYM Received: from igel.home (ppp-46-244-190-239.dynamic.mnet-online.de [46.244.190.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 2 Nov 2020 18:52:55 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 06B292C368C; Mon, 2 Nov 2020 18:52:55 +0100 (CET) From: Andreas Schwab To: Gary Benson via Gdb-patches Subject: Re: [PATCH] Fix gdb.dwarf2/clztest.exp with Clang References: <1604336929-1338-1-git-send-email-gbenson@redhat.com> X-Yow: Do you have exactly what I want in a plaid poindexter bar bat?? Date: Mon, 02 Nov 2020 18:52:54 +0100 In-Reply-To: <1604336929-1338-1-git-send-email-gbenson@redhat.com> (Gary Benson via Gdb-patches's message of "Mon, 2 Nov 2020 17:08:49 +0000") Message-ID: <87pn4vzlvt.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On Nov 02 2020, Gary Benson via Gdb-patches wrote: > diff --git a/gdb/testsuite/gdb.dwarf2/clztest.S b/gdb/testsuite/gdb.dwarf2/clztest.S > index a904fee..08a8bac 100644 > --- a/gdb/testsuite/gdb.dwarf2/clztest.S > +++ b/gdb/testsuite/gdb.dwarf2/clztest.S > @@ -22,6 +22,12 @@ > > */ > > +#if defined(__clang__) > +# define EH_FRAME_SH_FLAGS "a" > +#else > +# define EH_FRAME_SH_FLAGS "aw" > +#endif > + > .file "clztest.c" > .text > .Ltext0: > @@ -178,7 +184,7 @@ _start: > .LEFDE4: > #NO_APP > #APP > - .section .eh_frame,"aw",@progbits > + .section .eh_frame,EH_FRAME_SH_FLAGS,@progbits Shouldn't .eh_frame always be read-only? It certainly is when compiled with gcc. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."