From patchwork Thu Aug 22 11:10:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: mengqinggang X-Patchwork-Id: 1975445 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WqL8l6w8fz1ybW for ; Thu, 22 Aug 2024 21:10:31 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8B16C385DDCA for ; Thu, 22 Aug 2024 11:10:29 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by sourceware.org (Postfix) with ESMTP id 199783858283 for ; Thu, 22 Aug 2024 11:10:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 199783858283 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=loongson.cn ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 199783858283 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=114.242.206.163 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724325016; cv=none; b=Cz3+QM8jIKj3ZEkfD6KGBuiUtRtJ6yBPaB7KbNYzWao/AgZUmvkt21tvUJBURg0kOPPAtTGyZLRu6GYpkl/4cDMXLrx8A8QyuaBksSblxW+98Xs9pscC4imEvVQGCMIAgAb7Vl61Uro/mbSG3fPb1jeKdemszqS/6gQLk1fABJY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724325016; c=relaxed/simple; bh=VeGABE39W9NOY0601gPHY7x9kLsRP7vsqJHsNZYmcqw=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=ku0N5xfuT6vL9lV0/y29iON1IC3aZj14uqv4QLU/S+n4L6BMyv3cU3BUYr9RNBSiKdczJQdT2RUbZyEpnS1i9tGROCWvryuxiAWX70iyVS3919aG4j88meZUjT3sW6q0aC09XdVRrtH/Es3JG7syoC7YqEo79nBKpadIy2GMAoc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from loongson.cn (unknown [10.2.6.5]) by gateway (Coremail) with SMTP id _____8DxOJqPHMdmgiocAA--.22894S3; Thu, 22 Aug 2024 19:10:08 +0800 (CST) Received: from 5.5.5 (unknown [10.2.6.5]) by front1 (Coremail) with SMTP id qMiowMBxZOCNHMdm298dAA--.65177S2; Thu, 22 Aug 2024 19:10:07 +0800 (CST) From: mengqinggang To: libc-alpha@sourceware.org Cc: adhemerval.zanella@linaro.org, xuchenghua@loongson.cn, caiyinyu@loongson.cn, chenglulu@loongson.cn, cailulu@loongson.cn, xry111@xry111.site, i.swmail@xen0n.name, maskray@google.com, luweining@loongson.cn, wanglei@loongson.cn, hejinyang@loongson.cn, mengqinggang@loongson.cn Subject: [PATCH] LoongArch: Fix macro redefined warning in dl-tlsdesc.S Date: Thu, 22 Aug 2024 19:10:04 +0800 Message-Id: <20240822111004.2468463-1-mengqinggang@loongson.cn> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 X-CM-TRANSID: qMiowMBxZOCNHMdm298dAA--.65177S2 X-CM-SenderInfo: 5phqw15lqjwttqj6z05rqj20fqof0/ X-Coremail-Antispam: 1Uk129KBj9xXoWrZFyr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am-Status: No, score=-12.8 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org Undef macro to avoid redefined warning. --- sysdeps/loongarch/dl-tlsdesc.S | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sysdeps/loongarch/dl-tlsdesc.S b/sysdeps/loongarch/dl-tlsdesc.S index b6cfd6121d..9038669b78 100644 --- a/sysdeps/loongarch/dl-tlsdesc.S +++ b/sysdeps/loongarch/dl-tlsdesc.S @@ -69,6 +69,15 @@ _dl_tlsdesc_undefweak: #define Lslow Lslow_lasx #include "dl-tlsdesc-dynamic.h" #undef FRAME_SIZE +#undef FRAME_SIZE_LSX +#undef FRAME_SIZE_LASX +#undef FRAME_SIZE_FLOAT +#undef V_REG_S +#undef V_REG_L +#undef V_SPACE +#undef V_REG +#undef V_REGS +#undef V_REGSZ #undef USE_LASX #undef _dl_tlsdesc_dynamic #undef Lret @@ -80,6 +89,15 @@ _dl_tlsdesc_undefweak: #define Lslow Lslow_lsx #include "dl-tlsdesc-dynamic.h" #undef FRAME_SIZE +#undef FRAME_SIZE_LSX +#undef FRAME_SIZE_LASX +#undef FRAME_SIZE_FLOAT +#undef V_REG_S +#undef V_REG_L +#undef V_SPACE +#undef V_REG +#undef V_REGS +#undef V_REGSZ #undef USE_LSX #undef _dl_tlsdesc_dynamic #undef Lret