Discussion:
[PATCH 2/2] RISC-V: Fix _sbrk, it's failed only when return value is -1.
Kito Cheng
2018-08-29 08:35:48 UTC
Permalink
This patch is fix _sbrk for RISC-V libgloss, _sbrk might return an
valid address which MSB is set to 1, but it will treat as fail in
current implementation.
Corinna Vinschen
2018-08-29 13:50:56 UTC
Permalink
Post by Kito Cheng
This patch is fix _sbrk for RISC-V libgloss, _sbrk might return an
valid address which MSB is set to 1, but it will treat as fail in
current implementation.
From d1259a170f228b36be344405bca7a6bf6869c4c1 Mon Sep 17 00:00:00 2001
Date: Fri, 6 Jul 2018 19:03:23 +0300
Subject: [PATCH 2/2] RISC-V: Fix _sbrk, it's failed only when return value is
-1.
---
libgloss/riscv/internal_syscall.h | 11 ++++++++---
libgloss/riscv/sys_sbrk.c | 8 ++++----
2 files changed, 12 insertions(+), 7 deletions(-)
Pushed.


Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
Loading...