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] AArch64 nosys still uses semihosing call



> -----Original Message-----
> From: newlib-owner@sourceware.org [mailto:newlib-
> owner@sourceware.org] On Behalf Of Corinna Vinschen
> Sent: 24 August 2017 09:50
> To: newlib@sourceware.org
> Subject: Re: [PATCH] AArch64 nosys still uses semihosing call
> 
> On Aug 24 11:23, Alexander Fedotov wrote:
> > Move ILP32 code with AngelSVC call under ARM_RDI_MONITOR directive.
> 
> Can we get some input from arm devs?
> 

This looks correct to me, as the nosys stuff only initialize the stack, aside from the semihosting calls
HeapBase won't be defined either without ARM_RDI_MONITOR, and even worse x0 is used uninitialized.

Likely it would just segfault at the moment with ILP32 without this patch. 

Thanks,
Tamar

> 
> Thanks,
> Corinna
> 
> --
> Corinna Vinschen
> Cygwin Maintainer
> Red Hat

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