diff options
author | Doug Rupp <rupp@adacore.com> | 2021-12-20 14:25:30 -0800 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-09 09:27:30 +0000 |
commit | 82bd388bf08329b4e271ef83adca22b3816ff14f (patch) | |
tree | ada6fcab2df41ea1b31acbeb4d356895e7efc2ea /gcc/system.h | |
parent | 0e9e014cf700a92cb7cf5a24c62b1883451452bb (diff) | |
download | gcc-82bd388bf08329b4e271ef83adca22b3816ff14f.zip gcc-82bd388bf08329b4e271ef83adca22b3816ff14f.tar.gz gcc-82bd388bf08329b4e271ef83adca22b3816ff14f.tar.bz2 |
[Ada] vx21.07: stack-checking on ppc
On VxWorks >= 7.2 and 653, signal processing code is expected to clear
the TCB exception count field when returning control back to user code.
This change arranges to do so. It is believed that this is only an
issue in Kernel mode, and not RTP because there is no exception count
field in RTP mode and no failures have been observed.
gcc/ada/
* init.c [vxworks] (CLEAR_EXCEPTION_COUNT): New macro.
(__gnat_clear_exception_count): Remove.
(__gnat_map_signal): Call CLEAR_EXCEPTION_COUNT().
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions