From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7891) id 127BA3858284; Fri, 15 Sep 2023 01:12:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 127BA3858284 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694740325; bh=BbSq0q3BPUz/65bZSYMviQe/Py8E8hP/bvkFNH9piRE=; h=From:To:Subject:Date:From; b=pzRlfkP67SUcMzdXlTvZVtQmZ3IgGsJ2qB4wyXkRwkQRdXitlAlWZlaCV2HUpwpbq Kbt8Q3Vn0Xynspeme1PiI7obJ6Ks0pyxXF/WnPyTJYK43nCJTNlEm0GrcaJLbBtTzy OnoFpm1Z5gTFO7ckeRjKpCCTQblwiZv9NwiMobcs= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Yinyu Cai To: glibc-cvs@sourceware.org Subject: [glibc] LoongArch: Replace deprecated $v0 with $a0 to eliminate 'as' Warnings. X-Act-Checkin: glibc X-Git-Author: caiyinyu X-Git-Refname: refs/heads/master X-Git-Oldrev: f5242db159b9e326336e0eca60d11a986bc2015a X-Git-Newrev: c6c73e136a51d2372d108fb411e8418593aa79ca Message-Id: <20230915011205.127BA3858284@sourceware.org> Date: Fri, 15 Sep 2023 01:12:05 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c6c73e136a51d2372d108fb411e8418593aa79ca commit c6c73e136a51d2372d108fb411e8418593aa79ca Author: caiyinyu 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, \