From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id EEACC385B51C for ; Mon, 5 Dec 2022 09:43:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EEACC385B51C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 24B441F45F; Mon, 5 Dec 2022 09:43:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1670233389; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lNk3BY6Fki4O+v2dp2EW7jfTxl5AfyA/qVMajTGJo/w=; b=JdpI8fXL0/ylCvQcn/hxu16kt0IjYHRKUuG6c9qVBWcA9KR2npwd6RWMnqNwRfCyEbhoSf uGLeattoRlCfygHRzlyuqMYIXEouxCRGqPhwETtXtd7086BrzGgwl2xFDhBjm+1HW49oM2 MWILnta0BgLOnk85dlCZNT3+2dgrBZo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1670233389; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lNk3BY6Fki4O+v2dp2EW7jfTxl5AfyA/qVMajTGJo/w=; b=Nd9xI3xjSZ7s3UezME0DCx5HlGp4KfmZLakRWQiU3w8WmSxC+p+TnkMKBtWwDcYMSQB0Qw lpN9m5GLXYofxLCA== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 630A72C141; Mon, 5 Dec 2022 09:43:08 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id D2A6B4409A6; Mon, 5 Dec 2022 10:43:05 +0100 (CET) From: Andreas Schwab To: mengqinggang Cc: binutils@sourceware.org, xuchenghua@loongson.cn, liuzhensong@loongson.cn, chenglulu@loongson.cn, xry111@xry111.site, i.swmail@xen0n.name, maskray@google.com Subject: Re: [PATCH v1 3/6] LoongArch: opcodes: Add support for linker relaxation. References: <20221205080453.1352069-1-mengqinggang@loongson.cn> <20221205080453.1352069-4-mengqinggang@loongson.cn> X-Yow: He is the MELBA-BEING... the ANGEL CAKE... XEROX him... XEROX him -- Date: Mon, 05 Dec 2022 10:43:05 +0100 In-Reply-To: <20221205080453.1352069-4-mengqinggang@loongson.cn> (mengqinggang@loongson.cn's message of "Mon, 5 Dec 2022 16:04:50 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-9.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Dez 05 2022, mengqinggang wrote: > diff --git a/opcodes/loongarch-opc.c b/opcodes/loongarch-opc.c > index 1b510048c29..49e9df56f67 100644 > --- a/opcodes/loongarch-opc.c > +++ b/opcodes/loongarch-opc.c > @@ -22,7 +22,10 @@ > #include "opcode/loongarch.h" > #include "libiberty.h" > > -struct loongarch_ASEs_option LARCH_opts; > +struct loongarch_ASEs_option LARCH_opts = > +{ > + relax : 1 > +}; This uses the obsolete GCC extension. Please use the C99 designated initializer syntax. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."