From 56f669b4d8d5288858d2eb7328dea6d482ca41d3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 17 Jan 2004 01:38:55 +0000 Subject: 2004-01-13 Daniel Jacobowitz * 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. --- sysdeps/powerpc/soft-fp/sfp-machine.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sysdeps/powerpc/soft-fp') 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; -- cgit 1.4.1