Commit graph

312 commits

Author SHA1 Message Date
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