]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
PR 15483
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 17 Aug 2013 04:24:00 +0000 (01:24 -0300)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 17 Aug 2013 04:24:00 +0000 (01:24 -0300)
* 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.

ports/ChangeLog.powerpc
ports/sysdeps/powerpc/nofpu/sim-full.c
ports/sysdeps/powerpc/nofpu/soft-supp.h
ports/sysdeps/powerpc/soft-fp/sfp-machine.h

index 8272ef3a9dfd0ee417cdf8239ed8ed7ed6edaef7..e503682ce1178a749a0dddd539c5175b1b67f2d9 100644 (file)
@@ -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>
 
        * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
index fc061d0c007585527926957b92b3d629f2a90dd2..e16703323d689f0c760b4d7f8cbe18c456498f94 100644 (file)
 #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);
index b9638bbba9dd6d596fcbdacea1df67372b19dc44..64a3d2a1d226a5bec7e01a46a40311bf9ab531ba 100644 (file)
@@ -26,6 +26,11 @@ typedef union
 } 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;
 libc_hidden_proto (__sim_exceptions);
 extern int __sim_disabled_exceptions;
index c2a190e7effefd6455c22dc9691bb5d609313308..508d8698d47e8d2cdeb3fc72e1366912b88dafa2 100644 (file)
 #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;