public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] LoongArch: Replace deprecated $v0 with $a0 to eliminate 'as' Warnings.
@ 2023-09-15 1:12 Yinyu Cai
0 siblings, 0 replies; only message in thread
From: Yinyu Cai @ 2023-09-15 1:12 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c6c73e136a51d2372d108fb411e8418593aa79ca
commit c6c73e136a51d2372d108fb411e8418593aa79ca
Author: caiyinyu <caiyinyu@loongson.cn>
Date: Thu Sep 14 19:48:24 2023 +0800
LoongArch: Replace deprecated $v0 with $a0 to eliminate 'as' Warnings.
Diff:
---
sysdeps/loongarch/dl-machine.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/loongarch/dl-machine.h b/sysdeps/loongarch/dl-machine.h
index 8a2db9de3c..57913cefaa 100644
--- a/sysdeps/loongarch/dl-machine.h
+++ b/sysdeps/loongarch/dl-machine.h
@@ -90,7 +90,7 @@ static inline ElfW (Addr) elf_machine_dynamic (void)
or $a0, $sp, $zero \n\
bl _dl_start \n\
# Stash user entry point in s0. \n\
- or $s0, $v0, $zero \n\
+ or $s0, $a0, $zero \n\
# Load the original argument count. \n\
ld.d $a1, $sp, 0 \n\
# Call _dl_init (struct link_map *main_map, int argc, \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-15 1:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-15 1:12 [glibc] LoongArch: Replace deprecated $v0 with $a0 to eliminate 'as' Warnings Yinyu Cai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).