diff options
author | caiyinyu <caiyinyu@loongson.cn> | 2023-09-14 19:48:24 +0800 |
---|---|---|
committer | caiyinyu <caiyinyu@loongson.cn> | 2023-09-15 09:07:47 +0800 |
commit | c6c73e136a51d2372d108fb411e8418593aa79ca (patch) | |
tree | b1112de1106ddc6fb19e02db38505c288159ef1f /sysdeps/loongarch | |
parent | f5242db159b9e326336e0eca60d11a986bc2015a (diff) | |
download | glibc-c6c73e136a51d2372d108fb411e8418593aa79ca.tar.gz glibc-c6c73e136a51d2372d108fb411e8418593aa79ca.tar.xz glibc-c6c73e136a51d2372d108fb411e8418593aa79ca.zip |
LoongArch: Replace deprecated $v0 with $a0 to eliminate 'as' Warnings.
Diffstat (limited to 'sysdeps/loongarch')
-rw-r--r-- | sysdeps/loongarch/dl-machine.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, \ |