This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: [PATCH] AArch64 nosys still uses semihosing call
- From: Tamar Christina <Tamar dot Christina at arm dot com>
- To: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Cc: nd <nd at arm dot com>
- Date: Thu, 24 Aug 2017 10:15:05 +0000
- Subject: RE: [PATCH] AArch64 nosys still uses semihosing call
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tamar dot Christina at arm dot com;
- Nodisclaimer: True
- References: <CAN8C2Cqie5O3FKfuy219PnCk2c-Dz=HEO+5O8Crt5Ujh=sf-FQ@mail.gmail.com> <20170824084934.GC29964@calimero.vinschen.de>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
> -----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