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


Hi Tamar,

On Aug 24 10:15, Tamar Christina wrote:
> 
> 
> > -----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 for your input.  Patch pushed.


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]