diff options
Diffstat (limited to 'ports/sysdeps/powerpc/soft-fp/sfp-machine.h')
-rw-r--r-- | ports/sysdeps/powerpc/soft-fp/sfp-machine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/sysdeps/powerpc/soft-fp/sfp-machine.h b/ports/sysdeps/powerpc/soft-fp/sfp-machine.h index c2a190e7ef..508d8698d4 100644 --- a/ports/sysdeps/powerpc/soft-fp/sfp-machine.h +++ b/ports/sysdeps/powerpc/soft-fp/sfp-machine.h @@ -54,6 +54,11 @@ #define FP_ROUNDMODE __sim_round_mode #define FP_TRAPPING_EXCEPTIONS (~__sim_disabled_exceptions & 0x3e000000) +/* FIXME: these variables should be thread specific (see bugzilla bug + 15483) and ideally preserved across signal handlers, like hardware + FP status words, but the latter is quite difficult to accomplish in + userland. */ + extern int __sim_exceptions; libc_hidden_proto (__sim_exceptions); extern int __sim_disabled_exceptions; |