about summary refs log tree commit diff
path: root/sysdeps/powerpc/soft-fp/sfp-machine.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-01-17 01:38:55 +0000
committerRoland McGrath <roland@gnu.org>2004-01-17 01:38:55 +0000
commit56f669b4d8d5288858d2eb7328dea6d482ca41d3 (patch)
treec83f003b80617f5512b3fdea87ea6aeead3cd3f5 /sysdeps/powerpc/soft-fp/sfp-machine.h
parent6bae8725fff4129b5a97c0b8a73fd2a711bdf63e (diff)
downloadglibc-56f669b4d8d5288858d2eb7328dea6d482ca41d3.tar.gz
glibc-56f669b4d8d5288858d2eb7328dea6d482ca41d3.tar.xz
glibc-56f669b4d8d5288858d2eb7328dea6d482ca41d3.zip
2004-01-13 Daniel Jacobowitz <drow@mvista.com>
	* sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions)
	(__sim_disabled_exceptions, __sim_round_mode): Declare with
	hidden data and nocommon.
	* sysdeps/powerpc/nofpu/soft-supp.h (__sim_exceptions)
	(__sim_disabled_exceptions, __sim_round_mode): Use
	libc_hidden_proto.
	* sysdeps/powerpc/soft-fp/sfp-machine.h (__sim_exceptions)
	(__sim_disabled_exceptions, __sim_round_mode): Likewise.
Diffstat (limited to 'sysdeps/powerpc/soft-fp/sfp-machine.h')
-rw-r--r--sysdeps/powerpc/soft-fp/sfp-machine.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/sysdeps/powerpc/soft-fp/sfp-machine.h b/sysdeps/powerpc/soft-fp/sfp-machine.h
index 637dd980b6..44a9184f2f 100644
--- a/sysdeps/powerpc/soft-fp/sfp-machine.h
+++ b/sysdeps/powerpc/soft-fp/sfp-machine.h
@@ -52,7 +52,11 @@
 #define FP_HANDLE_EXCEPTIONS  __simulate_exceptions (_fex)
 #define FP_ROUNDMODE          __sim_round_mode
 
-extern int __sim_exceptions attribute_hidden;
-extern int __sim_disabled_exceptions attribute_hidden;
-extern int __sim_round_mode attribute_hidden;
+extern int __sim_exceptions;
+libc_hidden_proto (__sim_exceptions);
+extern int __sim_disabled_exceptions;
+libc_hidden_proto (__sim_disabled_exceptions);
+extern int __sim_round_mode;
+libc_hidden_proto (__sim_round_mode);
+
 extern void __simulate_exceptions (int x) attribute_hidden;