This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] RISC-V: Fix _sbrk, it's failed only when return value is -1.


On Aug 29 16:35, Kito Cheng wrote:
> 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
> From: Denis Ivanov <denis.ivanov@cloudbear.ru>
> 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.
> 
> Signed-off-by: Kito Cheng <kito.cheng@gmail.com>
> ---
>  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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]