Commit Graph

283 Commits

Author SHA1 Message Date
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
Ulrich Drepper
4ead5e7163 Update to 2.1.x development version 1997-02-15 04:31:01 +00:00
Ulrich Drepper
362edefbd8 update from main archive 970203 1997-02-04 02:00:49 +00:00
Ulrich Drepper
b5ce64efa4 update from main arhive 970119 1997-01-20 02:49:42 +00:00
Ulrich Drepper
d5726ef319 Instruction to abort any process 1997-01-02 18:38:59 +00:00
Ulrich Drepper
2c85dda1da update from main archive 970101 1997-01-01 15:27:53 +00:00
Ulrich Drepper
910e2e14fc Update from main archive 961219 1996-12-20 01:35:29 +00:00
Ulrich Drepper
f1fc182396 update from main archive 961203 1996-12-04 01:41:27 +00:00
Ulrich Drepper
b8bd7edd26 update from main archvie 961022 1996-10-22 23:29:26 +00:00
Ulrich Drepper
5415516c87 update from main archive 961016 1996-10-17 01:51:33 +00:00
Ulrich Drepper
1120c0ed16 update from main archive 1996-09-27 03:44:39 +00:00
Ulrich Drepper
69e4430b4d Why are these removed? 1996-09-21 12:41:17 +00:00
Ulrich Drepper
22a45bf1a8 update from main archive 960919 1996-09-20 01:57:51 +00:00
Ulrich Drepper
16d6b38e4d update from main archive 960909 1996-09-10 01:59:36 +00:00
Ulrich Drepper
11309adfce update from main archive 960904 1996-09-05 02:48:53 +00:00
Ulrich Drepper
c080e5ff92 update from main archive 960825 1996-08-26 00:42:04 +00:00
Ulrich Drepper
141ce15d97 update from main archive 960818 1996-08-19 01:07:37 +00:00
Ulrich Drepper
404e621688 update from main archive 960814 1996-08-15 01:23:29 +00:00
Roland McGrath
4f895a140a Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
	#undef RESOLVE.
1996-07-22 13:43:16 +00:00
Roland McGrath
490915ed85 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/m68k/Makefile (crypt): Variable removed.
	* sysdeps/sparc/Makefile: Likewise.
1996-07-17 19:31:44 +00:00
Roland McGrath
c6195ef632 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
	sysdeps/i386/dl-machine.h.
1996-07-17 16:14:42 +00:00
Roland McGrath
4be08629d9 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
	differently based on [RTLD_BOOTSTRAP].
	(elf_machine_rela): Use it instead of the fn ptr arg directly.
1996-07-10 14:42:15 +00:00
Roland McGrath
7d610b3a3d Wed Jun 12 20:40:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/dl-machine.h (RTLD_START): Fix access to
	_dl_default_scope.
1996-06-17 21:49:10 +00:00
Roland McGrath
f04e87f28a Sat Jun 15 18:13:43 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* math/Makefile (headers): Add fpu_control.h.
	(aux): New variable, list fpu_control and setfpucw.
	* sysdeps/generic/fpu_control.c: New file.
	* sysdeps/stub/fpu_control.h: New file.
	* sysdeps/unix/sysv/linux/m68k/fpu_control.h: Moved to ...
	* sysdeps/m68k/fpu_control.h: here.
	* sysdeps/unix/sysv/linux/i386/fpu_control.h: Moved to ...
	* sysdeps/i386/fpu_control.h: here.
	* sysdeps/unix/sysv/linux/alpha/fpu_control.h: Moved to ...
	* sysdeps/alpha/fpu/fpu_control.h: here.  Fixed copyright.
	* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
	setfpucw, fpu_control.
	* sysdeps/unix/sysv/linux/alpha/fpu_control.c: File removed.
	* sysdeps/unix/sysv/linux/setfpucw.c: Moved to ...
	* sysdeps/generic/setfpucw.c: here.
	(__fpu_control): Variable removed.
	(__setfpucw): Use SET even if zero.
1996-06-16 03:49:08 +00:00
Roland McGrath
50f1932bda Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu>
* elf/rtld.c (_dl_start): Don't rely on pointer-to-first-arg hack
	for getting the argc/argv/envp block.  Instead, make it the argument.
	sysdeps/i386/dl-machine.h (RTLD_START): Do that.
	sysdeps/m68k/dl-machine.h (RTLD_START): Same.
1996-06-12 01:42:09 +00:00
Roland McGrath
9f9cd8224e Mon Jun 10 06:14:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-object.c (_dl_loaded): Variable removed.
	(_dl_default_scope): New variable replaces it.
	* elf/link.h (_dl_loaded): Remove variable decl; instead define as
	macro for _dl_default_scope[2].
	(_dl_default_scope): Declare it.
	* sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_default_scope[2]
	instead of _dl_loaded.
	* sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
	* elf/rtld.c (dl_main): Use _dl_default_scope for symbol lookups.
1996-06-10 20:11:28 +00:00
Roland McGrath
9424ed18f0 Mon Jun 10 06:14:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/link.h: Include elfclass.h to define __ELF_NATIVE_CLASS.
	(ElfW, ELFW): Use it.
	* elf/Makefile (headers): Add elfclass.h.
	* sysdeps/wordsize-32/elfclass.h: New file.
	* sysdeps/wordsize-64/elfclass.h: New file.
	* sysdeps/alpha/Implies: Add wordsize-64.
	* sysdeps/i386/Implies: Add wordsize-32.
	* sysdeps/m68k/Implies: Add wordsize-32.
	* sysdeps/mips/Implies: Add wordsize-32.
	* sysdeps/sparc/Implies: Add wordsize-32.
1996-06-10 12:55:52 +00:00
Roland McGrath
74802a5469 Sun Jun 9 20:40:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/e_acosl.c: New file.
1996-06-10 09:23:00 +00:00
Roland McGrath
40baa3096b Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/__math.h: Define long double versions of
	the inline functions.
	* sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c,
	sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c,
	sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c,
	sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c,
	sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c,
	sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c,
	sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c,
	sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c,
	sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c,
	sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c,
	sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c,
	sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c,
	sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c,
	sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c,
	sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c,
	sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c,
	sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c,
	sysdeps/m68k/fpu/e_atanhl.c, sysdeps/m68k/fpu/e_coshl.c: New files.
1996-06-07 21:00:20 +00:00
Roland McGrath
79a2e51250 Wed Jun 5 22:06:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix type of reloc
	argument.
	[case R_68K_32]: Check for resolve being null.
	(RTLD_START): Add missing label.
1996-06-07 13:06:41 +00:00
Roland McGrath
863a5d8290 Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c,
 	sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c,
 	sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c,
 	sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c,
 	sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c,
 	sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and
 	float_type with appropriate defaults.
1996-06-06 05:22:44 +00:00
Roland McGrath
7c2f9239ec Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/__math.h: Define long double versions of
	the inline functions.
1996-06-06 05:22:31 +00:00
Roland McGrath
2dd2ea9e48 Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c,
	sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c,
	sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c,
	sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c,
	sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c,
	sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c,
	sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c,
	sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c,
	sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c,
	sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c,
	sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c,
	sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c,
	sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c,
	sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c,
	sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c,
	sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c,
	sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c,
	sysdeps/m68k/fpu/s_tanhl.c, sysdeps/m68k/fpu/s_tanl.c: New files.
1996-06-06 05:22:27 +00:00
Roland McGrath
3ba647e7a4 Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/acos.c: File removed.
	* sysdeps/m68k/fpu/asin.c: File removed.
	* sysdeps/m68k/fpu/atan.c: File removed.
	* sysdeps/m68k/fpu/atan2.c: File removed.
	* sysdeps/m68k/fpu/atanh.c: File removed.
	* sysdeps/m68k/fpu/ceil.c: File removed.
	* sysdeps/m68k/fpu/cos.c: File removed.
	* sysdeps/m68k/fpu/cosh.c: File removed.
	* sysdeps/m68k/fpu/drem.c: File removed.
	* sysdeps/m68k/fpu/exp.c: File removed.
	* sysdeps/m68k/fpu/expm1.c: File removed.
	* sysdeps/m68k/fpu/fabs.c: File removed.
	* sysdeps/m68k/fpu/fl.h: File removed.
	* sysdeps/m68k/fpu/floor.c: File removed.
	* sysdeps/m68k/fpu/fmod.c: File removed.
	* sysdeps/m68k/fpu/frexp.c: File removed.
	* sysdeps/m68k/fpu/isinf.c: File removed.
	* sysdeps/m68k/fpu/isinfl.c: File removed.
	* sysdeps/m68k/fpu/isnan.c: File removed.
	* sysdeps/m68k/fpu/isnanl.c: File removed.
	* sysdeps/m68k/fpu/ldexp.c: File removed.
	* sysdeps/m68k/fpu/log.c: File removed.
	* sysdeps/m68k/fpu/log10.c: File removed.
	* sysdeps/m68k/fpu/log1p.c: File removed.
	* sysdeps/m68k/fpu/logb.c: File removed.
	* sysdeps/m68k/fpu/pow.c: File removed.
	* sysdeps/m68k/fpu/rint.c: File removed.
	* sysdeps/m68k/fpu/sin.c: File removed.
	* sysdeps/m68k/fpu/sinh.c: File removed.
	* sysdeps/m68k/fpu/sqrt.c: File removed.
	* sysdeps/m68k/fpu/tan.c: File removed.
	* sysdeps/m68k/fpu/tanh.c: File removed.
1996-06-06 05:21:45 +00:00
Roland McGrath
75b683dffd Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c,
	sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c,
	sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c,
	sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c,
	sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c,
	sysdeps/m68k/fpu/s_modff.c: Include the corresponding double
	versions with appropriate definitions to get float functions,
	instead of defining them directly.
1996-06-06 05:20:49 +00:00
Roland McGrath
6a284f153f Tue Jun 4 21:01:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes.
	* sysdeps/m68k/Makefile: Likewise.
1996-06-05 03:29:08 +00:00
Roland McGrath
7c366516bb Tue Jun 4 18:57:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-init.c (_dl_init_next): Take argument, link_map whose
 	searchlist describes the piece of the DT_NEEDED graph to be
 	initialized.
	* elf/link.h: Update prototype.
	* sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument
	to _dl_init_next.
	* sysdeps/m68k/dl-machine.h: Likewise.
	* elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next.
1996-06-04 22:59:11 +00:00
Roland McGrath
43e2c3421f Mon Jun 3 03:06:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and
	don't allow a defn resolving to that address.
	* elf/link.h: Update prototype and comment.
	* elf/dl-runtime.c (fixup): Define local `resolve' function and pass
	it to elf_machine_relplt.
	* elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg
	RELOC_ADDR and pass it through to _dl_lookup_symbol.
	* elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel
	instead of calling it ourselves and passing its results.
	(elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR.
	* elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol.
	* sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR
	arg.  Add RESOLVE function ptr arg.  Call *RESOLVE as necessary.
	* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/stub/dl-machine.h: Likewise.
Sun Jun  2 14:56:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

	* elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT.
	Reject SHN_UNDEF defns iff NOPLT is nonzero.
	* elf/link.h (_dl_lookup_symbol): Update prototype and comment.
	* elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT.
	* elf/dlsym.c (dlsym): Pass 0.
	* elf/rtld.c (dl_main): Likewise.
	* elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET
	replaced with NOPLT flag.  Pass it through to _dl_lookup_symbol.
	* elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg.
	Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value.
	* sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro.
	* sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise.
	* sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise.
1996-06-03 04:24:14 +00:00
Roland McGrath
03e81891af Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT.
	Reject SHN_UNDEF defns iff NOPLT is nonzero.
	* elf/link.h (_dl_lookup_symbol): Update prototype and comment.
	* elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT.
	* elf/dlsym.c (dlsym): Pass 0.
	* elf/rtld.c (dl_main): Likewise.
	* elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET
	replaced with NOPLT flag.  Pass it through to _dl_lookup_symbol.
	* elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg.
	Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value.
	* sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro.
	* sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise.
	* sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise.
1996-06-02 21:35:13 +00:00
Roland McGrath
ab076e0919 Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.
1996-05-13 15:59:03 +00:00
Roland McGrath
6c07070b0c Updated from /src/gmp-2.0 1996-05-07 21:04:45 +00:00
Roland McGrath
3170dd8585 Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
	sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
	sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
	sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
	sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
	sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
	sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
	sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
	sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
	define __NO_MATH_INLINES, which is already defined on command
	line.
1996-05-03 16:51:51 +00:00
Roland McGrath
501ee116e7 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
	sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
	sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
	sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
	sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
	sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
	sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
	sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
	sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
	sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
	sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
	sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
	sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
	sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
	sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
	sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
	sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
	sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
	sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
	sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
	sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
	sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
	sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
	sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
	sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
	sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
	sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
	sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
	sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
	sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
	sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
	sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
	sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
	sysdeps/m68k/fpu/s_significand.c,
	sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
	sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
	sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
	sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
1996-03-16 21:32:41 +00:00
Roland McGrath
aee4d3a946 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
	* sysdeps/m68k/fpu/isnanl.c: Likewise.
1996-03-16 21:30:47 +00:00
Roland McGrath
8849f1d244 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
1996-03-16 21:30:15 +00:00
Roland McGrath
5198eaa39a . 1996-03-12 14:15:42 +00:00
Roland McGrath
3de9f02e92 Updated from /src/gmp-1.937 1996-03-01 18:43:45 +00:00
Roland McGrath
08eb417403 Reverting inadvertant commits 1996-02-19 21:04:28 +00:00
Roland McGrath
0650e14d6f *** empty log message *** 1996-02-19 20:54:34 +00:00
Roland McGrath
a9eac710a2 Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
	(ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
	(_dl_runtime_resolve): Save %a1 as well.
	(ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
	(elf_machine_relplt): Define.
1996-02-18 18:31:55 +00:00
Roland McGrath
9168a08cef Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
	sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
1996-02-13 09:51:13 +00:00
Roland McGrath
5f51e1132a Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
	MAP_FILE if not already defined.

	* elf/elf.h: Add m68k reloc definitions.
	* sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
1996-02-13 09:26:53 +00:00
Roland McGrath
558e7e0f60 (crypt): Don't define if building a shared library. 1996-01-17 02:31:44 +00:00
Roland McGrath
69c85398db Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* misc/efgcvt_r.c (ecvt_r): Handle negative values.

	* stdlib/stdlib.h: Replace __CONSTVALUE by attribute.
	* stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c,
	sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE.

	* stdio-common/printf_fp.c (__printf_fp): Fix parameter
	declaration.

	* sysdeps/generic/putenv.c (putenv): Fix second argument of
	setenv.

	* sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c.
	* sysdeps/ieee754/cabs.c: Don't define hypot here.

	* sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix
	definition of ieee_nan alternative.

	* sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register
 	prefix spec.

	* sysdeps/m68k/ffs.c (ffs): Fix register constraint.

	* sysdeps/m68k/fpu/__math.h: Include <errno.h>.  Replace obsolete
	__CONSTVALUE by attribute.
	(floor): Round to negative infinity.
	(rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type
	clash when compiling source.
	(pow): Handle x == 0 and x < 0.
	(ceil, __isinf, __isnan): Fix register constraints.
	(__isinfl, __isnanl): Added.
	* sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c,
	sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c,
	sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE.

	* sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix
	assembler syntax.

	* sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one
 	argument.

	* sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to
	clock_t conversion.
	(clock): Don't multiply by CLOCKS_PER_SEC.

	* sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion.

	* sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of
	__end.

	* sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax.

	* sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation.

	* sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label.
1996-01-17 02:02:35 +00:00
Roland McGrath
2b30df1785 Updated from ../=mpn/gmp-1.910 1995-12-04 18:37:48 +00:00
Roland McGrath
3b84e62ef2 Imported from gmp-1.900 1995-02-17 20:13:09 +00:00
Roland McGrath
6b31933688 Remove `const' from function prototype. 1995-02-10 00:10:54 +00:00
Roland McGrath
ba5bfe4235 Remove __NORETURN; it's obsolete. 1995-01-25 21:38:14 +00:00
Roland McGrath
1cec31f4d4 Converted to use weak aliases with macros from libc-symbols.h. 1995-01-21 15:40:54 +00:00
Roland McGrath
3c22ede5ec Converted to use weak aliases with macros from libc-symbols.h. 1995-01-21 14:40:39 +00:00
Roland McGrath
71a986ecd7 (__m81_inline): New macro.
Replace all uses of `extern __inline' with `__m81_inline'.
1994-12-28 09:57:21 +00:00
Roland McGrath
2782be7451 Use `movel' for pushes and pops. 1994-12-04 19:08:38 +00:00
Roland McGrath
eb6741dde4 (__sigsetjmp): Fix typo. 1994-12-04 19:06:52 +00:00
Roland McGrath
b0a51e5395 (__longjmp): Make arg const. 1994-12-04 18:57:56 +00:00
Roland McGrath
60074b22a2 (__longjmp): Take arg of type __jmp_buf, not jmp_buf. 1994-12-04 18:56:14 +00:00
Roland McGrath
fd339eecd8 (__sigsetjmp): That's __jmpbuf, not __jmp_buf. 1994-12-04 18:48:04 +00:00
Roland McGrath
4afe5be041 Set members in ENV[0].__jmp_buf[0], not ENV[0]. 1994-12-04 18:46:59 +00:00
Roland McGrath
65377bcaa1 Initial revision 1994-12-04 18:14:36 +00:00
Roland McGrath
1f58923f3c Implement __sigsetjmp instead of __setjmp; call __sigjmp_save. 1994-12-04 17:53:34 +00:00
Roland McGrath
2c6864f1bc Replace all uses of __const with __CONSTVALUE. 1994-08-16 00:42:48 +00:00
Roland McGrath
10d0017f67 entered into RCS 1994-05-19 03:36:32 +00:00
Roland McGrath
113d0e2f21 entered into RCS 1994-02-14 16:04:07 +00:00
Roland McGrath
1491337a35 Formerly m68k/Makefile.~10~ 1994-02-14 03:10:48 +00:00
Roland McGrath
1cfb0487a6 Formerly m68k/Makefile.~9~ 1993-12-23 23:51:09 +00:00
Roland McGrath
36b6dba79f entered into RCS 1993-11-10 11:42:10 +00:00
Roland McGrath
e982f6380c entered into RCS 1993-06-28 03:56:39 +00:00
Roland McGrath
4b36947a47 Formerly m68k/Makefile.~8~ 1993-06-11 19:39:34 +00:00
Roland McGrath
53df7cde34 Formerly m68k/Makefile.~7~ 1993-06-11 00:34:05 +00:00
Roland McGrath
0ac74824f4 entered into RCS 1993-06-03 20:58:07 +00:00
Roland McGrath
2a96c10282 Formerly m68k/Makefile.~6~ 1993-03-25 20:17:39 +00:00
Roland McGrath
d42a69dd83 Formerly m68k/Makefile.~5~ 1993-03-17 18:32:04 +00:00
Roland McGrath
d9179a0922 Formerly m68k/Makefile.~4~ 1993-02-24 23:22:43 +00:00
Roland McGrath
45dba738f9 Formerly m68k/fpu/__logb.c.~4~ 1993-02-02 00:29:15 +00:00
Roland McGrath
8735502044 Formerly m68k/fpu/atan2.c.~6~ 1992-11-18 20:26:47 +00:00
Roland McGrath
c0b033d7ec Formerly m68k/fpu/atan2.c.~5~ 1992-10-16 21:31:28 +00:00
Roland McGrath
603bee3c22 Formerly m68k/Makefile.~3~ 1992-10-06 19:13:50 +00:00
Roland McGrath
47d4c6ae22 Formerly m68k/fpu/__math.h.~14~ 1992-08-10 21:27:25 +00:00
Roland McGrath
09ecae354f Formerly m68k/fpu/__math.h.~13~ 1992-08-07 20:54:35 +00:00
Roland McGrath
fbb6e49cbf Formerly m68k/fpu/__math.h.~12~ 1992-08-07 00:27:07 +00:00
Roland McGrath
e38d848454 entered into RCS 1992-05-28 10:57:10 +00:00
Roland McGrath
4dd8b03944 entered into RCS 1992-05-24 05:59:13 +00:00
Roland McGrath
47688c639e entered into RCS 1992-05-17 21:05:41 +00:00
Roland McGrath
00c9588688 Formerly m68k/Makefile.~2~ 1992-05-14 21:36:45 +00:00
Roland McGrath
87c53c220e Initial revision 1992-05-14 21:16:40 +00:00
Roland McGrath
7dd3731c2b Formerly m68k/fpu/__math.h.~11~ 1992-05-13 05:48:35 +00:00
Roland McGrath
ba56050a83 entered into RCS 1992-05-01 18:47:39 +00:00
Roland McGrath
3ace5dacad Formerly m68k/fpu/pow.c.~2~ 1992-05-01 18:37:04 +00:00
Roland McGrath
a587c20ce7 Formerly m68k/fpu/ldexp.c.~2~ 1992-05-01 18:37:02 +00:00
Roland McGrath
af48c31950 Formerly m68k/fpu/fmod.c.~2~ 1992-05-01 18:37:00 +00:00