Re: [PATCH 0/1] x86_64: Fix stack aligment for x86-64 SysV ABI

2024-03-23 Thread Matheus Pecoraro
Thanks! Just for clarification, should I create a new ticket for this specific bug and then add "Closes #" to the commit message? On Sat, Mar 23, 2024 at 12:08 PM Joel Sherrill wrote: > This is a great explanation. Would you mind filing a ticket with this > explanatino and referencing the t

Re: [PATCH 0/1] x86_64: Fix stack aligment for x86-64 SysV ABI

2024-03-23 Thread Joel Sherrill
This is a great explanation. Would you mind filing a ticket with this explanatino and referencing the ticket in the commit message of the patch? When someone wonders about the change in the future, the ticket explanation will be useful On Fri, Mar 22, 2024 at 9:24 PM Matheus Pecoraro wrote: > I

[PATCH 0/1] x86_64: Fix stack aligment for x86-64 SysV ABI

2024-03-22 Thread Matheus Pecoraro
I kept getting a general protection fault whenever attempting to execute the amd64 BSP while preparing for my GSOC proposal. The GPF was being caused by an instruction attempting to move an SSE register to an address on the stack not aligned to 16 bytes. After some debugging I noticed that the cod