Message ID | 20230207001618.458947-3-christoph.muellner@vrull.eu |
---|---|
State | New |
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0A80B385783F for <patchwork@sourceware.org>; Tue, 7 Feb 2023 00:17:40 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id 4B50D3858D37 for <libc-alpha@sourceware.org>; Tue, 7 Feb 2023 00:16:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4B50D3858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vrull.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrull.eu Received: by mail-wm1-x331.google.com with SMTP id c4-20020a1c3504000000b003d9e2f72093so12043045wma.1 for <libc-alpha@sourceware.org>; Mon, 06 Feb 2023 16:16:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gYmctAQB3ZzYxVFHCKBucn0X/zwXMtqCGXXbdyEuwY0=; b=UagEb76suXcPOoOSV/zpSo4OY0zwi841DjiLjhYlj1jqadlF7F3XahHWWP8+R4Xhey asJT9Si4i3kFZ3In/DhZFv7sRGbiLA58OG0fE1Bf5X0fqzGqoxasrm94LkoI0fB50E1j qRTwnu5REXqLJjwyaqr3SJgjnBoyYi/MrpP3St4NR6pV/+kAgrf8h6GHaTUqDtFH1579 /hSdeJbD0e0f/LlXbluGfRxX/XyODb75+glBvO6583QUHco+W6hR7oNLN8zSeV/uupo2 xFeO1YQmLR30QvUxFwKVdD3H0Ymb/R4eli5ozRmBkPJom29mHw/WKi0WSX69bZufxTCp hurA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gYmctAQB3ZzYxVFHCKBucn0X/zwXMtqCGXXbdyEuwY0=; b=Sdzg0pNZcXQ69Kq/TpaDSBio+YUdRvvX6PtsWBkuSax+w63SpSsvkpGXgUQTNPVy93 5vlBZMzbZsdCa45eyXbwwbbLQwDKL/IZoey5pGqCiPRPGG4qCeRI/TMrwUIkICvdddOm wLJWSd9gzF0NfXoEpUWGkVeiB7mEa4Bti2g+LrZVYsPFI/JKasLsFbEDFMDiIifFi+7J lKIwJENIin9OVLrG2zAoMrMsRI5OHIVB9vxOYpKF9ox5GEz2IEx75UNihe/LWmddebqD vCRVt/015HGG2IqoT2t6fJmn2hrm4siBU8NdMColN6yjK196Go25Dp8dIWEIwhkcZF2J 8mew== X-Gm-Message-State: AO0yUKVD9LRGnVFK55KVvlLUGtxh2YTG9ygZ3KfDd0IfvCRZUDhOsIK6 sxQwIzubnGPHYIdsxzRRxcPfKASkBvt+ttgA X-Google-Smtp-Source: AK7set8kBHF/CG0a0mV5x3SfgSAyDxooEcNvSm4VDaqQiLJUDuPF9JNahlUxhKmixd0MY7P+Nl868g== X-Received: by 2002:a05:600c:3c8a:b0:3df:1f48:3d01 with SMTP id bg10-20020a05600c3c8a00b003df1f483d01mr773919wmb.37.1675728993619; Mon, 06 Feb 2023 16:16:33 -0800 (PST) Received: from beast.fritz.box (62-178-148-172.cable.dynamic.surfer.at. [62.178.148.172]) by smtp.gmail.com with ESMTPSA id f1-20020a1cc901000000b003df14531724sm16862050wmb.21.2023.02.06.16.16.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Feb 2023 16:16:33 -0800 (PST) From: Christoph Muellner <christoph.muellner@vrull.eu> To: libc-alpha@sourceware.org, Palmer Dabbelt <palmer@dabbelt.com>, Darius Rad <darius@bluespec.com>, Andrew Waterman <andrew@sifive.com>, DJ Delorie <dj@redhat.com>, Vineet Gupta <vineetg@rivosinc.com>, Kito Cheng <kito.cheng@sifive.com>, Jeff Law <jeffreyalaw@gmail.com>, Philipp Tomsich <philipp.tomsich@vrull.eu>, Heiko Stuebner <heiko.stuebner@vrull.eu> Cc: =?utf-8?q?Christoph_M=C3=BCllner?= <christoph.muellner@vrull.eu> Subject: [RFC PATCH 02/19] riscv: LEAF: Use C_LABEL() to construct the asm name for a C symbol Date: Tue, 7 Feb 2023 01:16:01 +0100 Message-Id: <20230207001618.458947-3-christoph.muellner@vrull.eu> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230207001618.458947-1-christoph.muellner@vrull.eu> References: <20230207001618.458947-1-christoph.muellner@vrull.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_MANYTO, RCVD_IN_DNSWL_NONE, 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 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
riscv: ifunc support with optimized mem*/str*/cpu_relax routines
|
|
Checks
Context | Check | Description |
---|---|---|
dj/TryBot-apply_patch | success | Patch applied to master at the time it was sent |
Commit Message
Christoph Müllner
Feb. 7, 2023, 12:16 a.m. UTC
From: Christoph Müllner <christoph.muellner@vrull.eu> It is common practice in glibc to use C_LABEL() to construct the asm name for a C symbol. Let's do this for RISC-V as well, even if this is essentially a non-functional change. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> --- sysdeps/riscv/sys/asm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/riscv/sys/asm.h b/sysdeps/riscv/sys/asm.h index 5432f2d5d2..b782cfa2f2 100644 --- a/sysdeps/riscv/sys/asm.h +++ b/sysdeps/riscv/sys/asm.h @@ -51,7 +51,7 @@ .globl symbol; \ .align 2; \ .type symbol,@function; \ -symbol: \ + C_LABEL(symbol) \ cfi_startproc; /* Mark end of function. */