Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeting Kuo <fakepaper56@gmail.com>2021-02-04 10:34:00 +0300
committerCorinna Vinschen <corinna@vinschen.de>2021-02-05 12:29:21 +0300
commit6aa0ab1c5ddeef7a970127c22a1c33a01d801e94 (patch)
tree56c27080af84bb0c2d80d8b9c4ee7242751a3709 /libgloss/riscv
parentd4a756f13a3440576c866d0a0cfc3a001f86ad59 (diff)
RISC-V: Use __bss_start for the starting point of .bss.
It's more flexible for the positions of .bss and .data.
Diffstat (limited to 'libgloss/riscv')
-rw-r--r--libgloss/riscv/crt0.S2
1 files changed, 1 insertions, 1 deletions
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