1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

riscv: Pack the veneer struct

This commit is contained in:
Ekaitz Zarraga 2024-11-07 19:51:37 +01:00
parent 775d11b21e
commit 76549a674a

View file

@ -160,7 +160,7 @@ bless_function_pointer(void *ptr)
/*
* Veneers
*/
struct veneer{
struct __attribute__((packed)) veneer{
instr_t auipc;
instr_t load; // `ld` in RV64 and `lw` in RV32
instr_t jalr;