Commit Graph

473 Commits

Author SHA1 Message Date
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
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
Roland McGrath
5496287905 Formerly m68k/fpu/atan2.c.~4~ 1992-05-01 18:36:53 +00:00
Roland McGrath
e745f90155 Formerly m68k/fpu/acos.c.~2~ 1992-05-01 18:36:50 +00:00
Roland McGrath
68a2e4b907 Formerly m68k/fpu/__math.h.~10~ 1992-05-01 18:36:49 +00:00
Roland McGrath
fbe5d07fad Formerly m68k/fpu/__logb.c.~3~ 1992-05-01 18:36:48 +00:00
Roland McGrath
61e097530b Formerly m68k/fpu/__isinf.c.~2~ 1992-05-01 18:36:47 +00:00
Roland McGrath
e198c4817b Formerly m68k/fpu/__drem.c.~3~ 1992-05-01 18:36:46 +00:00
Roland McGrath
81a4058104 entered into RCS 1992-03-23 22:26:36 +00:00
Torbjorn Granlund
c7486d0b53 entered into RCS 1992-03-17 16:42:55 +00:00
Roland McGrath
94292cd3a4 Formerly ./m68k/fpu/switch/Makefile.~5~ 1992-03-11 23:33:14 +00:00
Roland McGrath
f4a378895f Formerly ./m68k/fpu/switch/switch.c.~5~ 1992-03-11 23:27:38 +00:00