glibc/sysdeps/powerpc/nofpu/Versions

30 lines
813 B
Plaintext
Raw Normal View History

2002-10-19 Roland McGrath <roland@redhat.com> * config.make.in: Nix completely-soft nonsense. * configure.in: Likewise. Under --without-fp, use nofpu subdirectory of machine directories instead of fpu subdirectory. * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... * sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 20:03:40 +00:00
libc {
GLIBC_2.3.2 {
__sim_exceptions; __sim_disabled_exceptions; __sim_round_mode;
__adddf3; __addsf3; __divdf3; __divsf3; __eqdf2; __eqsf2;
Don't make soft-fp symbols compat symbols for powerpc-nofpu. sysdeps/powerpc/powerpc32/libgcc-compat.S makes certain symbols that glibc once accidentally reexported from libgcc into compat symbols. Where the exports were purely accidental, this is the right thing to do. However, for powerpc-nofpu the soft-fp symbols are deliberately exported from libc, given public versions in sysdeps/powerpc/nofpu/Versions and used by libm in preference to the libgcc versions that do not support the software exceptions and rounding modes. The libc versions should also be usable by user programs, though normally libgcc gets linked in first (meaning, effectively, that the <fenv.h> functions are broken as regards their expected effects on user arithmetic). A longstanding todo item is to remove the functions in question from libgcc (when built with recent enough glibc) - that is, remove them from static libgcc and make them compat symbols in shared libgcc - so that this works properly (this is one of the items mentioned at <http://gcc.gnu.org/wiki/Software_floating_point> - parts of that page are obviously out of date, but this item still applies). Doing this requires first that the functions are actually available from libc for new links, not just as compat symbols. This patch stops the symbols in question being compat symbols for powerpc-nofpu. The nofpu Versions entries for them are removed (the symbols never were exported at GLIBC_2.3.2, only GLIBC_2.0, because the compat symbols took precedence). Tested powerpc-nofpu. The symbols are no longer compat symbols and libm.so now properly gets undefined references to them (resolved to libc.so) instead of the libgcc copies getting linked into libm as before. * sysdeps/powerpc/powerpc32/libgcc-compat.S [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define as a macro and a compat symbol. [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise. [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise. [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise. [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise. [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do not use .hidden. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi): Likewise. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi): Likewise. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi): Likewise. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf): Likewise. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf): Likewise. * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi, __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf from GLIBC_2.3.2.
2013-12-19 21:26:36 +00:00
__extendsfdf2; __fixdfsi; __fixsfsi;
__fixunsdfsi; __fixunssfsi;
__floatsidf; __floatsisf;
2002-10-19 Roland McGrath <roland@redhat.com> * config.make.in: Nix completely-soft nonsense. * configure.in: Likewise. Under --without-fp, use nofpu subdirectory of machine directories instead of fpu subdirectory. * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... * sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 20:03:40 +00:00
__gedf2; __gesf2; __ledf2; __lesf2; __muldf3; __mulsf3;
__negdf2; __negsf2; __sqrtdf2; __sqrtsf2; __subdf3;
__subsf3; __truncdfsf2;
2002-10-19 Roland McGrath <roland@redhat.com> * config.make.in: Nix completely-soft nonsense. * configure.in: Likewise. Under --without-fp, use nofpu subdirectory of machine directories instead of fpu subdirectory. * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... * sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 20:03:40 +00:00
}
GLIBC_2.4 {
__floatundidf; __floatundisf;
__floatunsidf; __floatunsisf;
__unorddf2; __unordsf2;
__nedf2; __nesf2;
__gtdf2; __gtsf2;
__ltdf2; __ltsf2;
}
GLIBC_2.19 {
__atomic_feholdexcept; __atomic_feclearexcept; __atomic_feupdateenv;
__flt_rounds;
}
GLIBC_PRIVATE {
__sim_exceptions_thread;
__sim_disabled_exceptions_thread;
__sim_round_mode_thread;
}
2002-10-19 Roland McGrath <roland@redhat.com> * config.make.in: Nix completely-soft nonsense. * configure.in: Likewise. Under --without-fp, use nofpu subdirectory of machine directories instead of fpu subdirectory. * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ../nofpu. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... * sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 20:03:40 +00:00
}