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: [AArch64] use stack symbol provided by linker for nosys


Yes, there is a typo - it should be ARM_RDI_MONITOR

Thanks  !

On Tue, Aug 15, 2017 at 3:46 PM, Tamar Christina
<Tamar.Christina@arm.com> wrote:
>> > diff --git a/libgloss/aarch64/crt0.S b/libgloss/aarch64/crt0.S index
>> > 3bf0278..0c669d9 100644
>> > --- a/libgloss/aarch64/crt0.S
>> > +++ b/libgloss/aarch64/crt0.S
>> > @@ -83,7 +83,7 @@
>> >     FUNC_START      _start
>> >
>> >  /* Start by setting up a stack */
>> > -
>> > +#ifdef ARM_RDI_MONITOR
>>
>> i think this should match
>>
>> ...
>> > +#ifdef ARM_RDP_MONITOR
>
> We don't define ARM_RDP_MONITOR in AArch64, so this should be ARM_RDI_MONITOR.
>
>>
>> this.
>>
>> >  .LC0:
>> >     GEN_DWORD HeapBase
>



-- 
Best regards,
AF
diff --git a/libgloss/aarch64/crt0.S b/libgloss/aarch64/crt0.S
index 0c669d9..cc7e84d 100644
--- a/libgloss/aarch64/crt0.S
+++ b/libgloss/aarch64/crt0.S
@@ -243,7 +243,7 @@ FUNCTION (_cpu_init_hook):
 	ret
 
 	.align 3
-#ifdef ARM_RDP_MONITOR
+#ifdef ARM_RDI_MONITOR
 .LC0:
 	GEN_DWORD HeapBase
 #else

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