mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
RISC-V: Use __bss_start for the starting point of .bss.
It's more flexible for the positions of .bss and .data.
This commit is contained in:
parent
d4a756f13a
commit
6aa0ab1c5d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user