score/aarch64: Size saved SP register for ABI

This ensures that the saved SP register is sized appropriately depending
on the chosen ABI and prevents a warning in the libmisc stack checker.
This commit is contained in:
Kinsey Moore
2020-10-22 12:58:44 -05:00
committed by Joel Sherrill
parent 21af871992
commit eb3d7fbf65

View File

@@ -488,7 +488,10 @@ typedef struct {
#ifdef AARCH64_MULTILIB_ARCH_V8_ILP32
uint32_t _register_lr_top;
#endif
uint64_t register_sp;
uintptr_t register_sp;
#ifdef AARCH64_MULTILIB_ARCH_V8_ILP32
uint32_t _register_sp_top;
#endif
void *register_pc;
#ifdef AARCH64_MULTILIB_ARCH_V8_ILP32
uint32_t _register_pc_top;