From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 7342F3971430; Fri, 5 Feb 2021 09:32:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7342F3971430 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] RISC-V: Use __bss_start for the starting point of .bss. X-Act-Checkin: newlib-cygwin X-Git-Author: Yeting Kuo X-Git-Refname: refs/heads/master X-Git-Oldrev: d4a756f13a3440576c866d0a0cfc3a001f86ad59 X-Git-Newrev: 6aa0ab1c5ddeef7a970127c22a1c33a01d801e94 Message-Id: <20210205093238.7342F3971430@sourceware.org> Date: Fri, 5 Feb 2021 09:32:38 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2021 09:32:38 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6aa0ab1c5ddeef7a970127c22a1c33a01d801e94 commit 6aa0ab1c5ddeef7a970127c22a1c33a01d801e94 Author: Yeting Kuo Date: Thu Feb 4 15:34:00 2021 +0800 RISC-V: Use __bss_start for the starting point of .bss. It's more flexible for the positions of .bss and .data. Diff: --- libgloss/riscv/crt0.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgloss/riscv/crt0.S b/libgloss/riscv/crt0.S index 160c07853..7a4e4e32c 100644 --- a/libgloss/riscv/crt0.S +++ b/libgloss/riscv/crt0.S @@ -27,7 +27,7 @@ _start: .option pop # Clear the bss segment - la a0, _edata + la a0, __bss_start la a2, _end sub a2, a2, a0 li a1, 0