<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 22 Oct 2020 at 20:07, Kinsey Moore <<a href="mailto:kinsey.moore@oarcorp.com">kinsey.moore@oarcorp.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">This ensures that the saved SP register is sized appropriately depending<br>
on the chosen ABI and prevents a warning in the libmisc stack checker.<br>
---<br>
cpukit/score/cpu/aarch64/include/rtems/score/cpu.h | 5 ++++-<br>
1 file changed, 4 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/cpukit/score/cpu/aarch64/include/rtems/score/cpu.h b/cpukit/score/cpu/aarch64/include/rtems/score/cpu.h<br>
index da2140a2a8..b33f6a1c85 100644<br>
--- a/cpukit/score/cpu/aarch64/include/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/aarch64/include/rtems/score/cpu.h<br>
@@ -489,7 +489,10 @@ typedef struct {<br>
#ifdef AARCH64_MULTILIB_ARCH_V8_ILP32<br>
uint32_t _register_lr_top;<br>
#endif<br>
- uint64_t register_sp;<br>
+ uintptr_t register_sp;<br>
+#ifdef AARCH64_MULTILIB_ARCH_V8_ILP32<br>
+ uint32_t _register_sp_top;</blockquote><div dir="auto">Won’t uintptr_t work here (and for all of the other integer registers) as well and consequently we get rid of all of such multiarch ifdefs?</div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir="auto"><br>
+#endif<br>
void *register_pc;<br>
#ifdef AARCH64_MULTILIB_ARCH_V8_ILP32<br>
uint32_t _register_pc_top;</blockquote><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir="auto">-- <br>
2.20.1<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Hesham</div>