about summary refs log tree commit diff
path: root/ports/sysdeps/powerpc/nofpu/sim-full.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2013-08-17 01:24:00 -0300
committerAlexandre Oliva <aoliva@redhat.com>2013-08-17 01:24:00 -0300
commit3f8b479fe0d50e8c7d759b71d1db69d6f0aec0c0 (patch)
tree1049e70d3641bba6f9f04cf81836dfef2917e3b3 /ports/sysdeps/powerpc/nofpu/sim-full.c
parent91ce40854d0b7f865cf5024ef95a8026b76096f3 (diff)
downloadglibc-3f8b479fe0d50e8c7d759b71d1db69d6f0aec0c0.tar.gz
glibc-3f8b479fe0d50e8c7d759b71d1db69d6f0aec0c0.tar.xz
glibc-3f8b479fe0d50e8c7d759b71d1db69d6f0aec0c0.zip
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.
Diffstat (limited to 'ports/sysdeps/powerpc/nofpu/sim-full.c')
-rw-r--r--ports/sysdeps/powerpc/nofpu/sim-full.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/sysdeps/powerpc/nofpu/sim-full.c b/ports/sysdeps/powerpc/nofpu/sim-full.c
index fc061d0c00..e16703323d 100644
--- a/ports/sysdeps/powerpc/nofpu/sim-full.c
+++ b/ports/sysdeps/powerpc/nofpu/sim-full.c
@@ -21,6 +21,11 @@
 #include "soft-fp.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.  */
 int __sim_exceptions __attribute__ ((nocommon));
 libc_hidden_data_def (__sim_exceptions);