#
4a566dd7 |
| 03-Aug-2022 |
Dwight Engen <dwight.engen@gmail.com> |
aarch64: fix setjmp overrun
The assembly code uses fixed offsets into the jmp_buf and leaves an 8 byte gap between the GPRs and the FPRs, but the jmp_buf structure was not laid out to account for th
aarch64: fix setjmp overrun
The assembly code uses fixed offsets into the jmp_buf and leaves an 8 byte gap between the GPRs and the FPRs, but the jmp_buf structure was not laid out to account for this so the code would overrun the jmp_buf by 8 bytes.
Found-by: Oskar Engen <oskar.engen@gmail.com> Signed-off-by: Dwight Engen <dwight.engen@gmail.com>
show more ...
|
#
5b74db0e |
| 15-Mar-2019 |
Nigel Croxon <ncroxon@redhat.com> |
Redefine jmp_buf to comply with C calling convention.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com> Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
|
#
9ce3546d |
| 23-Sep-2015 |
Nigel Croxon <nigel.croxon@hpe.com> |
From: Pete Batard <pete@akeo.ie> Subject: [PATCH] Fix MSVC breakage due to GNU align extensions in setjmp
* __attribute__((__aligned__(x))), which is used in setjmp, is GNU only => use a macro inste
From: Pete Batard <pete@akeo.ie> Subject: [PATCH] Fix MSVC breakage due to GNU align extensions in setjmp
* __attribute__((__aligned__(x))), which is used in setjmp, is GNU only => use a macro instead
Signed-off-by: Pete Batard <pete@akeo.ie> Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>
show more ...
|
#
dae0b4b0 |
| 14-May-2015 |
Nigel Croxon <nigel.croxon@hp.com> |
Turns out we actually need setjmp in one of gnu-efi's prominent users, and it seems to make more sense to put it here than in the application.
All of these are derived from the Tiano code, but I re-
Turns out we actually need setjmp in one of gnu-efi's prominent users, and it seems to make more sense to put it here than in the application.
All of these are derived from the Tiano code, but I re-wrote the x86_64 one because we use the ELF psABI calling conventions instead of the MS ABI calling conventions. Which is to say you probably shouldn't setjmp()/longjmp() between functions with EFIAPI (aka __attribute__((ms_abi))) and those without.
Signed-off-by: Peter Jones <pjones@redhat.com> Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>
show more ...
|