[PATCH 05/24] RISC-V sim: Fix stack pointer alignment.
Mike Frysinger
vapier@gentoo.org
Mon Apr 19 03:58:30 GMT 2021
On 17 Apr 2021 10:58, Jim Wilson wrote:
> Initialize stack pointer to 16-byte aligned in both rv32 and rv64 as
> per the ABI.
this is good ...
> + /* Synchronize sp alignment with GCC's STACK_BOUNDARY. */
... this is not. this should state the reason as ABI requirements, not a
random toolchain implementation.
otherwise change is fine of course.
-mike
More information about the Gdb-patches
mailing list