Commit Graph

481 Commits

Author SHA1 Message Date
Andreas Schwab 09ac296dc4 Update for changes in libm-test.inc. 2000-10-17 13:24:28 +00:00
Andreas Schwab ef892797ee Fix last change (misapplied). 2000-10-16 09:21:25 +00:00
Andreas Schwab b57d767cf4 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
* sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
	arguments to _dl_init.
2000-10-14 12:43:00 +00:00
Andreas Schwab f7a43cc94a Ulps for m68k. 2000-09-26 17:34:57 +00:00
Ulrich Drepper efc4903b91 Reorder ieee754 implies so that ldbl-* comes first. 2000-09-16 22:59:10 +00:00
Ulrich Drepper 03a34c9bc2 (FP_ILOGB0): Use values which don't produce warnings. 2000-09-01 06:57:40 +00:00
Ulrich Drepper d31dde9292 Make FP_ILOGB0 and FP_ILOGBNAN int values. 2000-09-01 06:32:15 +00:00
Ulrich Drepper 858db9cbc8 Change type of FE_*_ENV macros to const fenv_t*. 2000-09-01 04:41:12 +00:00
Andreas Schwab f10fa39cc7 * sysdeps/m68k/fpu/fegetexcept.c: New file.
* sysdeps/m68k/fpu/fedisblxcpt.c: New file.
* sysdeps/m68k/fpu/feenablxcpt.c: New file.
2000-08-16 15:08:45 +00:00
Greg McGary ca67152c2a * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
(__ubp_memchr): Add correct decl.
	(_CHECK_STRING): Use __ubp_memchr.
	* sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
	New alias for unbounded-pointer __memchr.
	* sysdeps/i386/memchr.S: Likewise.
	* sysdeps/ia64/memchr.S: Likewise.
	* sysdeps/m68k/memchr.S: Likewise.
	* sysdeps/sparc/sparc32/memchr.S: Likewise.
	* sysdeps/sparc/sparc64/memchr.S: Likewise.
	* sysdeps/vax/memchr.s: Likewise.
2000-07-26 18:21:15 +00:00
Greg McGary 23e6128c4e * sysdeps/generic/bp-checks.h: Use unbounded __memchr
rather than non-existent __ubp_memchr.
	(CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
	(_CHECK_STRING, _CHECK_N): New macros.
	(CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
	(CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
	* sysdeps/alpha/memchr.S: Change strong name to "__memchr".
	Add weak alias "memchr".
	* sysdeps/generic/memchr.c: Likewise.
	* sysdeps/i386/memchr.S: Likewise.
	* sysdeps/ia64/memchr.S: Likewise.
	* sysdeps/m68k/memchr.S: Likewise.
	* sysdeps/sparc/sparc32/memchr.S: Likewise.
	* sysdeps/sparc/sparc64/memchr.S: Likewise.
	* sysdeps/vax/memchr.s: Likewise.
2000-07-17 22:36:16 +00:00
Ulrich Drepper c92d72a8fe Include <sysdeps/generic/memusage.h>. 2000-06-20 06:33:57 +00:00
Ulrich Drepper 949eb60694 Macro to allow memory usage tracking. 2000-06-20 06:29:45 +00:00
Ulrich Drepper 3f56045a39 Renamed to memusage.h. 2000-06-20 06:29:15 +00:00
Ulrich Drepper eb29107be8 Add __THROW to all inlines to match prototypes in mathcalls.h. 2000-06-04 16:10:51 +00:00
Andreas Jaeger d41b66ce6a Remove K&R support, use ANSI C prototypes. 2000-05-23 08:42:59 +00:00
Andreas Jaeger e4a8c0f332 2000-05-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
	* sysdeps/i386/bits/huge_val.h: Likewise.
	* sysdeps/ieee754/bits/huge_val.h: Likewise.
	* sysdeps/m68k/bits/huge_val.h: Likewise.
	* sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
	* sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
2000-05-22 09:25:13 +00:00
Andreas Jaeger 5d1aa2e61b 2000-05-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
	__extension__ to hexadecimal floating constant notation.
	* sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
	Likewise.
	* sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
	* sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
	Likewise.
	* sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
	HUGE_VALL): Likewise.
	* sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
	HUGE_VALL): Likewise.
	(HUGE_VALL): Set to HUGE_VAL on sparc32.
2000-05-17 17:18:49 +00:00
Ulrich Drepper 408c9db5d3 (elf_machine_fixup_plt): Change return valuie to lookup_t and return the value. 2000-05-05 07:12:09 +00:00
Andreas Schwab a169be8dd3 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
entry point, used on Hurd.
2000-04-05 11:01:20 +00:00
Andreas Schwab a502960ee1 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
function interface.  Remove unused _dl_start_user entry point.
2000-04-04 12:08:40 +00:00
Ulrich Drepper 7189e3b807 Use D_PTR to access relocated entries in l_info. 2000-03-31 05:16:19 +00:00
Ulrich Drepper 41841677b4 Change default version to GLIBC_2.2. 2000-02-26 01:09:38 +00:00
Ulrich Drepper c2fab833fb m68k specific definitions of macros to get stack pointer and high
precision timer.
2000-02-11 19:47:42 +00:00
Ulrich Drepper 16e4bf6fec Correct return value according to the standard. 2000-01-31 07:56:49 +00:00
Ulrich Drepper 6d1adc8734 Protect definitions for math.h against double inclusion. 1999-12-18 19:36:39 +00:00
Andreas Schwab d2463e15d1 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
__v to __bswap_32_v.
	(__bswap_64): Rename local variables __v and __r to __bswap_64_v
	and __bswap_64_r to avoid clash with __bswap_32 macro.
1999-11-29 17:50:55 +00:00
Ulrich Drepper 146bade74f Return value and add alias. 1999-10-31 23:13:47 +00:00
Ulrich Drepper 6c555ab57e Replace __USE_ISOC9X by __USE_ISOC99 and also recognize _ISOC99_SOURCE. 1999-10-31 17:31:25 +00:00
Ulrich Drepper 143751489c Use hexadecimal floating-point constants for gcc >= 2.95. 1999-08-24 20:35:50 +00:00
Andreas Schwab 773d8a5255 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions. 1999-07-26 08:27:39 +00:00
Roland McGrath 893f3d106f 1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
* elf/dl-reloc.c (_dl_reloc_bad_type): New function.
	* elf/ldsodefs.h: Declare it.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
	instead of assert.
	(elf_machine_lazy_rel): Likewise.  Take new arg MAP.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
	* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
	(elf_machine_lazy_rel): Likewise.
	* sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
	* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
	_dl_reloc_bad_type instead of _dl_signal_error.
	* elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
1999-07-21 16:57:52 +00:00
Ulrich Drepper 6ad8eb9f5e Adjusted for modified strtold extendability. 1999-07-14 00:28:43 +00:00
Ulrich Drepper 3ca78edaed Adjusted for modified printf_fphex extendability. 1999-07-14 00:28:28 +00:00
Ulrich Drepper eb302d6895 Add flt-32, dbl-64, and ldbl-96. 1999-07-14 00:27:51 +00:00
Andreas Schwab d38f39d005 New file. 1999-06-26 18:11:01 +00:00
Andreas Schwab 5da9d1244a * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
definitions...
	* sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
	* sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
	* sysdeps/m68k/fpu/e_atan2.c: Likewise.
	* sysdeps/m68k/fpu/e_fmod.c: Likewise.
	* sysdeps/m68k/fpu/e_pow.c: Likewise.
	* sysdeps/m68k/fpu/e_scalb.c: Likewise.
	* sysdeps/m68k/fpu/s_ccos.c: Likewise.
	* sysdeps/m68k/fpu/s_ccosh.c: Likewise.
	* sysdeps/m68k/fpu/s_cexp.c: Likewise.
	* sysdeps/m68k/fpu/s_csin.c: Likewise.
	* sysdeps/m68k/fpu/s_csinh.c: Likewise.
	* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
	* sysdeps/m68k/fpu/s_llrint.c: Likewise.
	* sysdeps/m68k/fpu/s_llrintf.c: Likewise.
	* sysdeps/m68k/fpu/s_llrintl.c: Likewise.
	* sysdeps/m68k/fpu/s_modf.c: Likewise.
1999-06-26 16:43:55 +00:00
Andreas Schwab 55dec6d865 New files, optimized for m68k. 1999-06-14 00:59:40 +00:00
Andreas Schwab 303e53829a * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
names to protect from user's macro namespace.
	* sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
	Adapted.
1999-05-22 17:14:30 +00:00
Andreas Schwab 761fb24284 New file. 1999-04-30 17:27:14 +00:00
Ulrich Drepper 2838157b3d m68k specific function to print floating point numbers in hexadecimal
format.
1999-03-10 16:07:49 +00:00
Ulrich Drepper d122725600 m68k specific strtold wrapper. 1999-03-08 21:39:15 +00:00
Ulrich Drepper df019d9428 (ucontext): Rename field uc_links to
uc_link which is the right name according to Unix98.
1999-03-01 07:20:35 +00:00
Ulrich Drepper e675032fec (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated. 1999-02-20 18:22:38 +00:00
Ulrich Drepper a2790a3c68 (elf_machine_rela): DT_STRTAB is already relocated. 1999-02-20 14:58:50 +00:00
Andreas Schwab 02c1ba5bdf * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
of separare explicit comparisons.
1999-02-13 16:51:29 +00:00
Ulrich Drepper a87b0e3624 m68k specific export and versioning list. 1999-01-29 09:06:03 +00:00
Andreas Schwab 6d1d5abfa2 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
to avoid accessing global data in the usual case.
1999-01-04 01:36:55 +00:00
Ulrich Drepper 1173aab2d2 Remove __setfpucw declaration, it's an internal symbol. 1998-11-26 12:00:10 +00:00
Ulrich Drepper 200172bd3f Define ISO C 9X stuff only if included from math.h and __USE_ISOC9X is
defined.
1998-11-10 19:10:36 +00:00
Ulrich Drepper 79df5fdb24 Define only if __USE_ISOC9X. 1998-11-05 18:05:39 +00:00
Andreas Schwab 641d707400 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
flag.
1998-10-07 02:02:53 +00:00
Andreas Schwab b3e2d5611f * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
optimized.
1998-09-22 01:42:11 +00:00
Andreas Schwab 739902c55d * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
instead of _dl_default_scope[2] as argument to _dl_init_next.
1998-09-09 01:36:38 +00:00
Andreas Schwab a2ffe12b49 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
C9x macro.
1998-09-09 01:35:38 +00:00
Ulrich Drepper 68d11b268e (elf_machine_lazy_rel): Change first parameter and use this value. 1998-08-28 22:54:12 +00:00
Ulrich Drepper f2e7413870 Add ffsl entry point. 1998-07-30 12:44:22 +00:00
Ulrich Drepper 5fc184edcc List only one file per line. 1998-07-04 14:37:17 +00:00
Andreas Schwab c21b35ecda * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
inline.
	* sysdeps/m68k/fpu/e_exp10.c: New file.
	* sysdeps/m68k/fpu/e_exp10f.c: New file.
	* sysdeps/m68k/fpu/e_exp10l.c: New file.
1998-06-10 05:27:41 +00:00
Andreas Schwab 08016d928b * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
_dl_profile_map only if the name matches.
	(_dl_start_user): Remember stack address.
	* sysdeps/m68k/elf/start.S: Pass new argument to
	__libc_start_user.
1998-06-10 01:35:06 +00:00
Ulrich Drepper e0ebc3b2ef Use __ASSEMBLER__ test macro not ASSEMBLER. 1998-05-29 10:20:59 +00:00
Andreas Schwab 91e4b2f65e * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added. 1998-04-22 02:07:41 +00:00
Ulrich Drepper 4ec52ed6cf Add copyright text. 1998-04-20 18:34:25 +00:00
Andreas Schwab 72f42bf5d3 * sysdeps/m68k/m68020/wordcopy.S: New file. 1998-03-23 02:18:31 +00:00
Andreas Schwab 4f558ff150 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Return zero or
	one.
1998-03-13 01:27:51 +00:00
Andreas Schwab 69235f764b * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
init stuff.
1998-03-11 01:32:12 +00:00
Ulrich Drepper b8b84ae26c Rename function to __ffs and make ffs a weak alias. 1998-03-09 09:09:46 +00:00
Andreas Schwab 1c03144cf7 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
Readd lost negate.
	* sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
1998-03-09 03:20:41 +00:00
Andreas Schwab 56d7f02931 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
* sysdeps/m68k/lshift.S: Likewise.
	* sysdeps/m68k/rshift.S: Likewise.
	* sysdeps/m68k/sub_n.S: Likewise.
	* sysdeps/m68k/m68020/addmul_1.S: Likewise.
	* sysdeps/m68k/m68020/mul_1.S: Likewise.
	* sysdeps/m68k/m68020/submul_1.S: Likewise.
	* sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
	[_LIBC_REENTRANT]: Don't store into global errno.
	* sysdeps/m68k/sysdep.h: New file.
	* sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
	ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
	(DO_CALL): Change to expect syscall name as argument.
	(PSEUDO): Pass syscall_name to DO_CALL.
	(SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
	errno.
1998-03-06 01:48:50 +00:00
Andreas Schwab 1e0c166557 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
offsets into the GOT.
	(RTLD_START): Likewise.
1998-03-04 02:36:01 +00:00
Ulrich Drepper d424955575 (FE_TOWARDZERO): Correct typo. 1998-02-26 08:38:37 +00:00
Andreas Schwab ef5e0ac67b Stub file 1998-02-18 01:32:32 +00:00
Ulrich Drepper 7eaf35c740 Don't define exp2 inline.
Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
1997-12-22 18:53:56 +00:00
Ulrich Drepper 3632b95d0a Protect declarations of inline functions by feature tests to avoid
warning about missing prototype declarations.
1997-12-14 22:09:47 +00:00
Ulrich Drepper ac442bf7a9 (fenv_t): Add member to hold fpiar value, to match spirit of the
standard.
1997-12-14 22:09:29 +00:00
Ulrich Drepper 053ed29047 Save/restore fpiar. 1997-12-14 22:09:13 +00:00
Ulrich Drepper fc1eaef3e8 Don't define ___LIBC_INTERNAL_MATH_INLINES here. 1997-12-03 23:31:37 +00:00
Ulrich Drepper 905714080f Issue error message if the header is used directly. 1997-11-26 04:14:44 +00:00
Ulrich Drepper e00fbfc6aa Define optimizations if __LIBC_INTERNAL_MATH_INLINES is defined. 1997-11-22 18:47:44 +00:00
Ulrich Drepper e729bad58b Define __LIBC_INTERNAL_MATH_INLINES instead of
__LIBC_M81_MATH_INLINES.
1997-11-22 18:45:43 +00:00
Ulrich Drepper 2ecd6b510f Define INFINITY as of type float.
Define DECIMAL_DIG.
1997-11-13 00:15:53 +00:00
Ulrich Drepper 04f48607a0 Define NAN as of type float. 1997-11-13 00:15:34 +00:00
Ulrich Drepper d2d2125ecd m68k specific llrint implementation. 1997-11-11 23:48:16 +00:00
Ulrich Drepper d391bc58dd Make compilable and fix overflow condition. 1997-11-11 23:47:20 +00:00
Ulrich Drepper 6874bbcb7c User level process context for m68k. 1997-10-26 19:59:49 +00:00
Ulrich Drepper b6d0dce1cc Add fma and scalbln. Update lrint and scalbn.
(__m81_inline) [__cplusplus]: Define to __inline.
1997-10-26 19:59:32 +00:00
Ulrich Drepper c43ee646dd Add scalbln alias. 1997-10-26 19:59:09 +00:00
Ulrich Drepper 95d16178a8 New (empty) file. 1997-10-26 19:58:56 +00:00
Ulrich Drepper f6672b01b5 Add standard skeleton stuff. 1997-10-26 19:58:40 +00:00
Ulrich Drepper a893b08668 m68k specific optimizations for string functions. 1997-10-12 03:42:19 +00:00
Ulrich Drepper 989166429c (elf_machine_rela): Fix last change.
The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore
the addend, Richard.
(elf_machine_fixup_plt): Don't add the addend.
(elf_machine_plt_value): New function.
1997-10-12 03:41:56 +00:00
Ulrich Drepper d0b9a80c6e Rename exp2{,l,f} to __ieee754_exp2{,l,f}. 1997-09-30 16:58:36 +00:00
Ulrich Drepper ff91cf3056 (elf_machine_relplt): Killed.
(ELF_MACHINE_JMP_SLOT): Renamed.
(elf_machine_fixup_plt): New function.
1997-09-27 00:20:13 +00:00
Ulrich Drepper 90864a576a Low-level atomicity functions for m68k. 1997-09-16 00:40:22 +00:00
Ulrich Drepper ea420deaef (elf_machine_load_address): Use _dl_start instead of a local label, to
avoid getting an unreadable label name.
1997-09-05 01:40:47 +00:00
Ulrich Drepper a698457a19 (pic-ccflag): Override it for more efficient code (together with a
change in gcc).
1997-09-05 01:40:38 +00:00
Ulrich Drepper e0b82fb753 [$(subdirs)=db2] (CPPFLAGS): Add macros to provide spinlock
information for db2.
1997-08-27 20:03:43 +00:00
Ulrich Drepper c0d5b73e05 (RTLD_START): Switch back to previous section to avoid confusing the
compiler.
1997-08-27 19:58:41 +00:00
Ulrich Drepper 80bf28e227 Add empty file to prevent the version from libm-ieee754 be compiled
since the later is not needed.
1997-08-10 17:34:46 +00:00
Ulrich Drepper e1da12893a Replace call to abort by infinite loop, to avoid dragging stdio into
the dynamic linker.
1997-08-04 14:26:01 +00:00
Ulrich Drepper 6e8e1d85e0 Add support for shared library profiling. 1997-08-02 20:56:48 +00:00
Ulrich Drepper c093785fe9 M68k optimized functions for swapping byte order. 1997-07-28 22:32:03 +00:00
Ulrich Drepper 482bd6c6e4 (elf_machine_runtime_setup): Add new parameter to enable profiling.
(elf_machine_rela): Add new parameter to specify place to store result in.
1997-07-28 22:31:42 +00:00
Ulrich Drepper 75dc7e89eb Don't handle FE_INEXACT specially, the standard doesn't require it. 1997-07-24 01:32:45 +00:00
Ulrich Drepper 09d24ad477 (elf_machine_rela): Mention program name in warning message. 1997-07-22 00:03:10 +00:00
Ulrich Drepper 216f1b7f7c Define ISO C9x comparison function always. 1997-07-14 21:44:57 +00:00
Ulrich Drepper 6cabe500f3 (fesetenv): Shift the exception mask in the right position. 1997-07-11 01:13:24 +00:00
Ulrich Drepper 07ce00df82 Shift the exception mask in the right position. 1997-07-11 01:13:11 +00:00
Ulrich Drepper c49416b519 Correct the FE_INEXACT and FE_UNDERFLOW cases. 1997-07-06 21:45:05 +00:00
Ulrich Drepper 3bbe33611e m68k specific NaN definitions. 1997-06-27 23:07:33 +00:00
Ulrich Drepper fc83bd9d03 Moved to bits/. 1997-06-27 23:07:23 +00:00
Ulrich Drepper ca50e0187a Adapated for change of s_ilogb.c. 1997-06-26 22:19:58 +00:00
Ulrich Drepper 3fe409285e Define it here. Handle zero, NaN and infinity specially. 1997-06-26 22:19:45 +00:00
Ulrich Drepper fb1efdeaa7 Update copyright. 1997-06-26 22:19:23 +00:00
Ulrich Drepper 8be9676b25 (FP_ILOGB0): Correct value. 1997-06-26 22:19:12 +00:00
Ulrich Drepper e775757079 Don't undef macros for unordered comparison before definition.
Don't define __ilogb.
1997-06-26 22:19:04 +00:00
Ulrich Drepper db31c86395 Update and reformat copyright, remove trailing white spaces and send
through unexpand.
1997-06-26 22:16:52 +00:00
Ulrich Drepper 36e28152c9 Update and reformat copyright, remove trailing white spaces and send
through unexpand.
1997-06-23 21:54:51 +00:00
Ulrich Drepper 5290f57812 Fix type of second argument. 1997-06-23 21:44:36 +00:00
Ulrich Drepper 79c6cc00ff Rewritten. 1997-06-23 21:44:21 +00:00
Ulrich Drepper 622cae1af0 (FP_ILOGB0, FP_ILOGBNAN): Define. 1997-06-23 21:43:50 +00:00
Ulrich Drepper 1594e779ba (__scalbn): Fix type of second argument.
(__ilogb): Remove special case for zero, add stupid special case for NaN.
(__ieee754_scalb): Remove definition.
1997-06-23 21:43:40 +00:00
Ulrich Drepper 788c7990eb Moved to bits/. 1997-06-21 02:40:36 +00:00
Ulrich Drepper 8595663591 m68k specific math values. 1997-06-21 02:39:53 +00:00
Ulrich Drepper 15c1225093 m68k w/out FPU specific math inline functions. 1997-06-21 02:34:13 +00:00
Ulrich Drepper ef8a52eeee m68k specific math inline functions. 1997-06-21 02:34:00 +00:00
Ulrich Drepper 19b9549252 m68k specific math definitions. 1997-06-21 02:33:02 +00:00
Ulrich Drepper 21bc60d240 m68k specific FP environment definitions. 1997-06-21 02:31:18 +00:00
Ulrich Drepper 0d70c1a887 m68k specific setjmp buffer. 1997-06-21 02:29:18 +00:00
Ulrich Drepper 1f7005dfa1 m68k specific endianess specification. 1997-06-21 02:26:23 +00:00
Ulrich Drepper c96df8ef30 (elf_machine_rela): Check that the symbol was found. 1997-06-21 02:08:10 +00:00
Ulrich Drepper 0dab1d3494 Remove FIXME and special case for quotient. 1997-06-19 19:05:14 +00:00
Ulrich Drepper a3baa80ed7 Renamed to s_llrint. 1997-06-19 19:04:58 +00:00
Ulrich Drepper b09d8d6fc8 Renamed to lrint. 1997-06-19 19:04:54 +00:00
Ulrich Drepper fd945ccbb4 Implementation of m68k specific lrint function. 1997-06-19 19:04:45 +00:00
Ulrich Drepper 3f6db74934 Implementation of m68k specific llrint function. 1997-06-19 19:04:35 +00:00
Ulrich Drepper 44d86bcbfb Rename __rinttol to __lrint and rinttol to lrint. 1997-06-19 19:03:16 +00:00
Ulrich Drepper d981488053 Do it right so that gcc doesn't optimize out the operations. 1997-06-04 19:05:17 +00:00
Ulrich Drepper c81b73ad0e (isgreater, isgreaterequal, isless, islessequal, islessgreater,
isunordered): Fix assembler syntax.
1997-06-04 19:05:10 +00:00
Ulrich Drepper 05a8f8e8c7 m68k specific NaN value definitions. 1997-06-04 19:05:00 +00:00
Ulrich Drepper d901ee0d08 Change GCC's HUGE_VAL{,F,L} to use DI and SI mode integers instead of
bytes.  Fix value of HUGE_VALL.
1997-06-04 19:04:28 +00:00
Ulrich Drepper 08eeb8c0d3 Fix missing negate. Use __m81_test instead of explicit comparisons. 1997-05-29 12:05:37 +00:00
Ulrich Drepper 1bf0f668e6 De-ansidecl-fy. 1997-05-26 22:28:25 +00:00
Ulrich Drepper b5fba1adf7 (elf_machine_rel): Print warning about changed size in copy relocation
only if symbol in shared object is larger or _dl_verbose is nonzero.
1997-05-25 01:07:16 +00:00
Ulrich Drepper e295f61993 (elf_machine_runtime_setup): Return lazy. 1997-05-24 02:15:43 +00:00
Ulrich Drepper e7af313d34 Rewritten. 1997-05-07 15:29:27 +00:00
Ulrich Drepper 761edbdece Don't define huge_val. 1997-05-07 15:29:22 +00:00
Ulrich Drepper d607f9b1a4 m68k specific complex sine implementation for long double. 1997-05-07 15:28:03 +00:00
Ulrich Drepper 290960f758 m68k specific complex sine implementation for float. 1997-05-07 15:27:51 +00:00
Ulrich Drepper 29b12174ee m68k specific complex sine implementation for double. 1997-05-07 15:27:44 +00:00
Ulrich Drepper 46a66e25c6 m68k specific complex cosine implementation for long double. 1997-05-07 15:27:27 +00:00
Ulrich Drepper fc2cf9ae39 m68k specific complex cosine implementation for float. 1997-05-07 15:27:16 +00:00
Ulrich Drepper bc99330920 m68k specific complex cosine implementation. 1997-05-07 15:27:03 +00:00
Ulrich Drepper 4291e75751 Raise invalid exception for NaN result.
Use __m81_test.
1997-05-07 15:26:29 +00:00
Ulrich Drepper 08c2dbb9a2 (__frexp): Don't raise invalid exception on infinite value.
(__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG,
__M81_COND_ZERO): New definitions.
1997-05-07 15:26:19 +00:00
Ulrich Drepper e9b08b8835 (elf_machine_rela): Check for mismatch in size for copy relocation. 1997-05-07 14:32:55 +00:00
Ulrich Drepper 947a127d2b m68k specific optimized version of sincos for long double. 1997-04-21 11:38:01 +00:00
Ulrich Drepper ffe33322db m68k specific optimized version of sincos for float. 1997-04-21 11:37:48 +00:00
Ulrich Drepper f119590d6c m68k specific optimized version of sincos for double. 1997-04-21 11:37:37 +00:00
Ulrich Drepper 334ca6573b Rewrite handling of integral exponent. 1997-04-21 11:36:58 +00:00
Ulrich Drepper ecc1637a09 Define optimized versions of isgreater, isgreaterequal, isless,
islessequal, islessgreater, and isunordered.
Add inlined sincos{,l,f}.
1997-04-21 11:36:45 +00:00
Ulrich Drepper c72aa4a26a m68k specific math exception handling code. 1997-04-17 15:09:43 +00:00
Ulrich Drepper b1fc9ae289 m68k specific math type and constant definitions. 1997-04-17 15:07:44 +00:00
Ulrich Drepper 27028e9818 remquo implementation for long double according to IEEE. 1997-04-17 15:04:34 +00:00
Ulrich Drepper 6f8f9b3586 remquo implementation for float according to IEEE. 1997-04-17 15:04:17 +00:00
Ulrich Drepper 843682819d remquo implementation for double according to IEEE. 1997-04-17 15:04:04 +00:00
Ulrich Drepper cddfc83cf8 m68k specific round long double to long long function. 1997-04-12 23:37:52 +00:00
Ulrich Drepper bc3bea7963 m68k specific round long double to long function. 1997-04-12 23:37:40 +00:00
Ulrich Drepper 90ad32dd72 (__rinttol, rinttol): New inline. 1997-04-12 23:37:12 +00:00
Ulrich Drepper d0a13f94e4 Don't define INFINITY. 1997-04-12 23:36:57 +00:00
Ulrich Drepper 5838780e11 Complex sinh function for m68k. 1997-04-11 10:28:26 +00:00
Ulrich Drepper 45b0751eae Use internal exp function instead of wrapper. 1997-04-11 10:27:30 +00:00
Ulrich Drepper 79aa242491 Complex cosh function for m68k. 1997-04-11 10:27:18 +00:00
Ulrich Drepper eb32bf34fe m68k specific implementation for trunc for long double. 1997-04-02 14:46:54 +00:00
Ulrich Drepper 557d7a96e4 m68k specific implementation for trunc for float. 1997-04-02 14:46:42 +00:00
Ulrich Drepper a9007c976b m68k specific implementation for trunc for double. 1997-04-02 14:46:33 +00:00
Ulrich Drepper 74988c5489 m68k specific implementation for nearbyint for long double. 1997-04-02 14:46:18 +00:00
Ulrich Drepper c6686e56ac m68k specific implementation for nearbyint for float. 1997-04-02 14:46:07 +00:00
Ulrich Drepper afaabacb82 m68k specific implementation for nearbyint for double. 1997-04-02 14:45:59 +00:00
Ulrich Drepper b2b29a2638 m68k specific implementation for cexp for long double. 1997-04-02 14:45:25 +00:00
Ulrich Drepper 4a3b70258e m68k specific implementation for cexp for float. 1997-04-02 14:45:13 +00:00
Ulrich Drepper bc6dd76e40 m68k specific implementation for cexp for double. 1997-04-02 14:45:04 +00:00
Ulrich Drepper 57d377f1f9 Adapted. 1997-04-02 14:44:29 +00:00
Ulrich Drepper 344114d049 Rewritten. 1997-04-02 14:44:20 +00:00
Ulrich Drepper 62f075cd3b Use __signbit inline. Write 0.0/0.0 for NaN. Fix typo in test for `y
= 0.5'.
1997-04-02 14:44:10 +00:00
Ulrich Drepper 231e25e2a3 Use __signbit inline. 1997-04-02 14:43:52 +00:00
Ulrich Drepper b9a0a7fbcd Define __trunc, __signbit, __nearbyint. Remove __modf. 1997-04-02 14:43:44 +00:00
Ulrich Drepper 349d129b3a (CFLAGS-s_copysignl.c) [$(subdir)=math]: Define for gcc bug
workaround.
1997-04-02 14:43:30 +00:00
Ulrich Drepper fea9a86a67 (elf_machine_rela): Rewritten as for i386.
(elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
ELF_MACHINE_RELOC_NOPLT): Define.
1997-03-27 01:57:11 +00:00
Ulrich Drepper d42c91d9d2 (CFLAGS-rtld.c): Add -Wno-unused. 1997-03-27 01:56:58 +00:00
Ulrich Drepper c7b6ca33fd Remove because of inaccuracy. 1997-03-25 01:33:52 +00:00
Ulrich Drepper 4a900bdbca Implementation of log2 function in m68k assembler 1997-03-25 01:33:30 +00:00
Ulrich Drepper 3eb7704ced Implementation of exp2 function in m68k assembler 1997-03-25 01:33:22 +00:00
Ulrich Drepper 57a52ec851 Rewritten. 1997-03-25 01:31:06 +00:00
Ulrich Drepper 647de4a8f9 (__logb, logb): Don't define.
(__ieee754_atan2, __ieee754_pow): Don't define here.
1997-03-25 01:30:32 +00:00
Ulrich Drepper 885775487a Remove references to byte order macros. Don't include <endian.h>. 1997-03-24 22:12:52 +00:00
Ulrich Drepper 0e126f4bac m68k specific infinity values. 1997-03-16 18:33:39 +00:00
Ulrich Drepper 3b117ce72c Update feature tests to use __USE_ISOC9X.
[__USE_ISOC9X]: Define __log2 and __exp2 inlines.
(fabs): Remove defininition, it is a gcc builtin.
(sqrt, __sqrt): Remove definition, they have wrappers in libm.
1997-03-08 05:08:06 +00:00
Ulrich Drepper 28c50ce97f update from main archive 970304 1997-03-04 05:53:20 +00:00
Ulrich Drepper d6abe77e92 update from main archive 970218 1997-02-19 04:43:26 +00:00