mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
PR 15483
* sysdeps/powerpc/nofpu/sim-full.c: Add FIXME note about the need for thread-specific variables preserved across signal handlers. * sysdeps/powerpc/nofpu/soft-supp.h: Likewise. * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
This commit is contained in:
parent
91ce40854d
commit
3f8b479fe0
@ -1,3 +1,12 @@
|
|||||||
|
2013-08-17 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
PR 15483
|
||||||
|
* sysdeps/powerpc/nofpu/sim-full.c: Add FIXME note about
|
||||||
|
the need for thread-specific variables preserved across signal
|
||||||
|
handlers.
|
||||||
|
* sysdeps/powerpc/nofpu/soft-supp.h: Likewise.
|
||||||
|
* sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
|
||||||
|
|
||||||
2013-07-03 Joseph Myers <joseph@codesourcery.com>
|
2013-07-03 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
|
* sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
|
||||||
|
@ -21,6 +21,11 @@
|
|||||||
#include "soft-fp.h"
|
#include "soft-fp.h"
|
||||||
#include "soft-supp.h"
|
#include "soft-supp.h"
|
||||||
|
|
||||||
|
/* 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. */
|
||||||
|
|
||||||
/* Global to store sticky exceptions. */
|
/* Global to store sticky exceptions. */
|
||||||
int __sim_exceptions __attribute__ ((nocommon));
|
int __sim_exceptions __attribute__ ((nocommon));
|
||||||
libc_hidden_data_def (__sim_exceptions);
|
libc_hidden_data_def (__sim_exceptions);
|
||||||
|
@ -26,6 +26,11 @@ typedef union
|
|||||||
} fenv_union_t;
|
} fenv_union_t;
|
||||||
|
|
||||||
|
|
||||||
|
/* 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;
|
extern int __sim_exceptions;
|
||||||
libc_hidden_proto (__sim_exceptions);
|
libc_hidden_proto (__sim_exceptions);
|
||||||
extern int __sim_disabled_exceptions;
|
extern int __sim_disabled_exceptions;
|
||||||
|
@ -54,6 +54,11 @@
|
|||||||
#define FP_ROUNDMODE __sim_round_mode
|
#define FP_ROUNDMODE __sim_round_mode
|
||||||
#define FP_TRAPPING_EXCEPTIONS (~__sim_disabled_exceptions & 0x3e000000)
|
#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;
|
extern int __sim_exceptions;
|
||||||
libc_hidden_proto (__sim_exceptions);
|
libc_hidden_proto (__sim_exceptions);
|
||||||
extern int __sim_disabled_exceptions;
|
extern int __sim_disabled_exceptions;
|
||||||
|
Loading…
Reference in New Issue
Block a user