Commit Graph

461 Commits

Author SHA1 Message Date
Ulrich Drepper
ebc9cec7b7 Fix typo. 2000-12-08 17:16:52 +00:00
Ulrich Drepper
de55c82792 Tail call to __stxcpy. 2000-12-08 17:16:42 +00:00
Ulrich Drepper
fa6dc9e01e Alpha rawmemchr implementation. 2000-12-08 17:16:25 +00:00
Ulrich Drepper
4ba8e511ff Use a shorter sequence. 2000-12-08 17:16:05 +00:00
Ulrich Drepper
d284ba97fb (__data_start): Define. 2000-12-06 04:05:25 +00:00
Ulrich Drepper
e9a0b83c8f Remove FLT_EVAL_METHOD and DECIMAL_DIG definitions. 2000-12-04 08:37:22 +00:00
Andreas Schwab
0abafb2042 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/arm/fpu/setjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/s390/setjmp.S: Likewise.
* sysdeps/s390/elf/setjmp.S: Likewise.
* sysdeps/sh/sh3/setjmp.S: Likewise.
* sysdeps/sh/sh4/setjmp.S: Likewise.
* sysdeps/sparc/sparc32/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2000-11-21 20:55:38 +00:00
Ulrich Drepper
3f95e592cb (RTLD_START): Update _dl_argv. 2000-11-16 02:07:02 +00:00
Andreas Jaeger
90d62a5cb2 Update. 2000-11-13 16:53:57 +00:00
Ulrich Drepper
ff86bfcd6b Update after libm-test.inc change. 2000-10-26 17:23:46 +00:00
Ulrich Drepper
f1dba30859 (elf_machine_matches_host): Parameter is now pointer to ELF header. 2000-10-20 17:04:28 +00:00
Ulrich Drepper
bcafa19eb3 Type definitions for nscd on Alpha. 2000-09-29 22:02:28 +00:00
Ulrich Drepper
8da28deb78 (elf_machine_rela): Handle unaligned relocation also for R_ALPHA_RELATIVE. 2000-09-29 06:50:53 +00:00
Andreas Jaeger
d2fb0972b5 Alpha specific ulps. 2000-09-22 07:35:56 +00:00
Andreas Jaeger
610bd8dec7 New file with soft-fp specific files. 2000-09-06 10:52:05 +00:00
Andreas Jaeger
97d95c734d Moved from soft-fp/sysdeps/alpha/sfp-machine.h. 2000-09-05 08:40:54 +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
Ulrich Drepper
cdf9c9a590 Add fpu/fenv_libc.h. 2000-08-24 07:39:29 +00:00
Ulrich Drepper
1829753231 (FE_DENORMAL): New.
(FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2000-08-19 16:07:53 +00:00
Ulrich Drepper
c9bca5114f Use <fenv_libc.h>. 2000-08-19 16:07:37 +00:00
Ulrich Drepper
4b84abdd3e fenv definitions for Linux/Alpha. 2000-08-19 16:06:09 +00:00
Ulrich Drepper
17193a21d6 Alpha fedisableexcept implementaton. 2000-08-17 18:46:15 +00:00
Ulrich Drepper
cd290faab1 Alpha feenableexcept implementation. 2000-08-17 18:45:58 +00:00
Ulrich Drepper
35781b9dd6 Apha fegetexcept implementation. 2000-08-17 18:45:35 +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
Andreas Jaeger
4ce0ef7a86 (elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt
t argument to silence GCC.
2000-07-18 14:14:51 +00:00
Andreas Jaeger
f37f52a546 Fix copy & error in weak_alias. 2000-07-18 08:40:57 +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
22fb102e6b (elf_machine_rela) [r_type == R_ALPHA_REFQUAD]: Use memcpy to load and
store value from relocation address to prevent unaligned trap.
2000-07-01 05:08:03 +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
d3d5b656c5 (__fdimf): Only declare if __USE_ISOC99.
(fdimf, __fdim, fdim): Likewise.
2000-06-07 16:53:09 +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
21dd216cd4 2000-05-08 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
	call to elf_machine_fixup_plt.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2000-05-08 15:40:26 +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
Ulrich Drepper
b9a57ab615 (_dl_start_user): Fix the _dl_skip_args handling. 2000-04-28 03:25:46 +00:00
Ulrich Drepper
f0824b0c78 (RTLD_START):Rewrite for new init function interface. 2000-04-15 16:53:23 +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
e9290bfa08 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use a C comment, not an assembly comment. 2000-03-26 20:29:55 +00:00
Richard Henderson
9dc874df52 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
of arithmetic instructions.

        * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
        with the fpcr.  Protect from INV exception.
        * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
        * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
        * sysdeps/alpha/fpu/s_floorf.c: Likewise.

        * sysdeps/alpha/fpu/s_copysign.c: New.
        * sysdeps/alpha/fpu/s_copysignf.c: New.
        * sysdeps/alpha/fpu/s_fabs.c: New.
        * sysdeps/alpha/fpu/s_fabsf.c: New.
        * sysdeps/alpha/fpu/s_rint.c: New.
        * sysdeps/alpha/fpu/s_rintf.c: New.
2000-03-20 20:32:11 +00:00
Andreas Jaeger
b90be06542 Apply forgotten patch to change default version to 2.2. 2000-02-26 08:13:07 +00:00
Ulrich Drepper
41841677b4 Change default version to GLIBC_2.2. 2000-02-26 01:09:38 +00:00
Ulrich Drepper
9a25e078c3 (__feraiseexcept): Correct declaration to return value. 2000-02-26 00:58:51 +00:00
Ulrich Drepper
2ffceb847f Update comment. 2000-02-22 05:32:19 +00:00
Ulrich Drepper
cab8e3a3ec Alpha specific definitions of macros to get stack pointer and high
precision timer.
2000-02-11 19:47:25 +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
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
c1d675f8ae [db2]: Set CFLAGS of mutex.c to make spinlocks known. 1999-08-30 21:51:20 +00:00
Ulrich Drepper
0ed67a6c1d Use new path for e_sqrt.c. 1999-08-02 19:44:27 +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
e19b39916e Add ieee754/flt-32 and ieee754/dbl-64. 1999-07-13 23:43:10 +00:00
Ulrich Drepper
ad5ec55ca3 Correct counting of subsections. 1999-06-21 13:00:14 +00:00
Ulrich Drepper
e261a74e16 Use __GNUC_PREREQ. 1999-06-19 09:57:23 +00:00
Ulrich Drepper
d31690f156 Pretty print. 1999-05-23 10:11:27 +00:00
Ulrich Drepper
09ea25239c Zap high byte of length. Reschedule. 1999-05-18 08:55:49 +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
3e3649f6e2 (elf_machine_fixup_plt): DT_JMPREL and DT_PLTGOT entries are already
relocated.
(elf_machine_rela): Likewise for DT_SYMTAB.
1999-02-20 14:56:45 +00:00
Ulrich Drepper
4fb65d7fc7 (TRAMPOLINE_TEMPLATE): Save and restore all call-clobbered fp regs. 1999-02-08 10:02:37 +00:00
Ulrich Drepper
a3289ba5e8 Atomic operation functions for Alpha. 1999-01-29 16:57:43 +00:00
Ulrich Drepper
8380d4887d (__floorf): Copy commentary from bits/mathinclude.h. Kill unused defines. 1999-01-29 16:56:01 +00:00
Ulrich Drepper
92a38c359c (__floor): Copy commentary from bits/mathinclude.h. Kill unused defines. 1999-01-29 16:55:14 +00:00
Ulrich Drepper
f8aa498753 (__floor): Don't depend on inlining, duplicate the code. 1999-01-29 10:57:47 +00:00
Ulrich Drepper
068bbaf6e0 (__floorf): Don't depend on inlining, duplicate the code. 1999-01-29 10:57:31 +00:00
Ulrich Drepper
f67e2479b4 Add __atan2 for libm and GLIBC_2.0. 1999-01-20 09:23:32 +00:00
Ulrich Drepper
f210901a5a Avoid -Wparentheses warning. 1998-12-13 12:12:49 +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
Richard Henderson
831f9aedc4 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
_dl_main_searchlist not _dl_default_scope to _dl_init_next.
        * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
        * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1998-09-11 13:48:14 +00:00
Ulrich Drepper
68d11b268e (elf_machine_lazy_rel): Change first parameter and use this value. 1998-08-28 22:54:12 +00:00
Richard Henderson
d7bb0de178 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
        * sysdeps/alpha/fpu/s_floor.c: New.
        * sysdeps/alpha/fpu/s_floorf.c: New.
        * sysdeps/alpha/fpu/s_ceil.c: New.
        * sysdeps/alpha/fpu/s_ceilf.c: New.
1998-08-23 04:09:49 +00:00
Richard Henderson
9b1370b857 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
a finite non-denormal, deferring to the full IEEE version otherwise.
1998-08-23 04:09:25 +00:00
Richard Henderson
4bb0cd806b * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
* sysdeps/alpha/elf/crtend.S: Likewise.
        * sysdeps/alpha/elf/start.S: Likewise.
1998-08-23 04:08:17 +00:00
Ulrich Drepper
15602adec0 Dummy file to satisfy Makefiles. 1998-07-30 12:38:22 +00:00
Ulrich Drepper
e0c9758ca4 Schedule for EV5. Add ffsl and ffsll entry points. 1998-07-30 12:38:08 +00:00
Richard Henderson
9e6a624f76 * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle
inputs near DBL_MIN.
1998-07-28 23:41:26 +00:00
Ulrich Drepper
5fc184edcc List only one file per line. 1998-07-04 14:37:17 +00:00
Ulrich Drepper
1b1f0c36e3 Version definitions. 1998-07-02 22:33:35 +00:00
Ulrich Drepper
035d42d2a0 (feraiseexcept): Mark tmp as early-clobber. 1998-06-27 09:51:32 +00:00
Ulrich Drepper
94cd6191cd Pass sp as arg 7. Kill __data_start. 1998-06-27 09:51:18 +00:00
Ulrich Drepper
ca246d7eef (elf_machine_runtime_setup): Only set _dl_profile_map if _dl_name_match_p.
(RTLD_START): Fix .prologue.  Set __libc_stack_end.
1998-06-27 09:50:59 +00:00
Ulrich Drepper
b136e08ec0 (elf): Kill -mno-fp-regs. 1998-06-27 09:50:41 +00:00
Richard Henderson
d6ce92cdf1 Don't check against SP. 1998-04-24 14:43:00 +00:00
Richard Henderson
4af6e4ade6 (_JMPBUF_UNWINDS): Added. 1998-04-23 22:46:39 +00:00
Ulrich Drepper
f709e93784 (_start): Let __libc_start_main do most of the init stuff. 1998-03-31 23:18:03 +00:00
Ulrich Drepper
b8b84ae26c Rename function to __ffs and make ffs a weak alias. 1998-03-09 09:09:46 +00:00
Richard Henderson
9ba8164eb6 * shlib-versions: Match alpha*.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
        * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
        * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
        Implement copysign* with and without __ prefix.
        Likewise for fabs; use builtin for gcc 2.8.
        (floor*): New.
        (fdim*): New.
        * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
        (R_SPARC*): Match current v9 ABI.
        * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
        * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
        * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
        * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
        * sysdeps/generic/getresgid.c: Use prototype form because of warning.
        * sysdeps/unix/sysv/linux/getdents.c: Likewise.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
        * sysdeps/unix/grantpt.c (argv): Fix consts.
        * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
        * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1998-03-01 00:56:41 +00:00
Ulrich Drepper
265bcb263d Added ".set noat"/".set at". 1998-02-26 17:13:29 +00:00
Ulrich Drepper
f635bc2865 (feraiseexcept): Use a dummy for FE_DIVBYZERO. Kludge for
FE_UNDERFLOW.
1998-02-26 16:29:41 +00:00
Ulrich Drepper
d424955575 (FE_TOWARDZERO): Correct typo. 1998-02-26 08:38:37 +00:00
Ulrich Drepper
e85e76352c Fix typo. 1998-01-30 12:26:36 +00:00
Ulrich Drepper
401a9d9e66 Fix a typo. 1998-01-30 12:24:41 +00:00
Richard Henderson
18a702a8a3 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
of the trampoline function into the macro.
* sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
kernel 2.1.82 has this fixed.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
* sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
1998-01-26 22:04:53 +00:00
Ulrich Drepper
9ba537d289 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Remove the 3rd arg and add
declaration for _dl_runtime_resolve and _dl_runtime_profile.
1998-01-25 03:51:19 +00:00
Ulrich Drepper
5faf38aeab Add definition of FP_ILOGB0 and FP_ILOGNAN. 1998-01-21 17:00:32 +00:00
Ulrich Drepper
49f3765caf (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add missing parameters. 1997-12-14 21:53:11 +00:00
Ulrich Drepper
2e67c045f2 (_dl_runtime_resolve): Care for prefix.
(_start): Likewise.
1997-12-08 02:50:09 +00:00
Ulrich Drepper
d5cd798ccb Define _ASM and _SETJMP_H to get definitions. 1997-12-01 17:09:25 +00:00
Ulrich Drepper
905714080f Issue error message if the header is used directly. 1997-11-26 04:14:44 +00:00
Ulrich Drepper
a5343fec83 Remove setjmp_aux.c. 1997-11-18 02:39:11 +00:00
Ulrich Drepper
2ecd6b510f Define INFINITY as of type float.
Define DECIMAL_DIG.
1997-11-13 00:15:53 +00:00
Ulrich Drepper
a325c2c023 __setjmp is the same as _setjmp. Make the former a strong symbol and
the later a weak alias.
1997-10-12 03:40:26 +00:00
Ulrich Drepper
0fc15eae49 (elf_machine_plt_value): New function. 1997-10-12 03:40:09 +00:00
Ulrich Drepper
a8e5f5a44c (ELF_MACHINE_RELOC_NOPLT): Renamed.
(elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
1997-09-27 00:19:38 +00:00
Ulrich Drepper
384cd03a58 Define bzero as weak alias of __bzero. 1997-09-16 00:41:55 +00:00
Ulrich Drepper
06fa7473dc Rewrite in terms of an array. 1997-09-11 03:15:02 +00:00
Ulrich Drepper
aaf05db579 Not needed anymore. 1997-09-11 03:14:53 +00:00
Ulrich Drepper
38a2fc1c51 Do the work; don't call __setjmp_aux. Move _setjmp and setjmp from
bsd-*.S.
1997-09-11 03:14:40 +00:00
Ulrich Drepper
33ec2a1c5e Stub out. 1997-09-11 03:14:24 +00:00
Ulrich Drepper
7e79246283 We have an assembler versin now. 1997-09-11 03:14:07 +00:00
Ulrich Drepper
3b14ec3ad7 longjmp implementation using array. 1997-09-11 03:13:56 +00:00
Ulrich Drepper
1f9be5843e Kill setjmp_aux. 1997-09-11 03:13:30 +00:00
Ulrich Drepper
d930b435a9 High-quality sqrt implementation for Alpha. 1997-09-05 01:38:54 +00:00
Ulrich Drepper
87967acd39 Removed. 1997-09-05 01:38:37 +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
2ed7206696 (elf_machine_runtime_setup): Add new parameter to enable profiling.
(elf_machine_rela): Add new parameter to
1997-07-28 22:06:27 +00:00
Ulrich Drepper
409871bc75 Don't define __ protected names. 1997-07-24 01:35:45 +00:00
Ulrich Drepper
284d16781d We use aliases now. 1997-07-22 00:09:47 +00:00
Ulrich Drepper
eca7f27242 Only define functions if __OPTIMIZE__. 1997-07-14 21:41:49 +00:00
Ulrich Drepper
26a96aaeb4 Remove DEFS.h. 1997-07-11 01:12:46 +00:00
Ulrich Drepper
44efbfff52 Not needed anymore. 1997-07-11 01:12:37 +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
922ac64192 Update and reformat copyright, remove trailing white spaces and send through unexpand. 1997-06-26 22:12:06 +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
788c7990eb Moved to bits/. 1997-06-21 02:40:36 +00:00
Ulrich Drepper
b3539abf29 Alpha specific math inline functions. 1997-06-21 02:33:37 +00:00
Ulrich Drepper
5d4b2fb954 Alpha specific math definitions. 1997-06-21 02:32:30 +00:00
Ulrich Drepper
dc75d9cbc3 Alpha specific FP environment definitions. 1997-06-21 02:31:00 +00:00
Ulrich Drepper
1f83df4446 Alpha specific setjmp buffer. 1997-06-21 02:28:55 +00:00
Ulrich Drepper
7181066338 Alpha specific endianess specification. 1997-06-21 02:25:57 +00:00
Ulrich Drepper
405916ef4b <foo.h> -> <bits/foo.h>. 1997-06-21 01:37:20 +00:00
Ulrich Drepper
f97d5b5f4d Add copyright.
(rdfpcr): Use excb rather than trapb.  Be more efficient about
getting at the fpcr.
(wrfpcr): Likewise.
(__setfpucw): Reformat.
1997-05-31 00:46:15 +00:00
Ulrich Drepper
91650f79e3 Math exception and environment handling. 1997-05-31 00:43:46 +00:00
Ulrich Drepper
f10d86ecba Temporarily turn on -mieee globally. This will last until I figure
out how to build a parallel libm_ieee.
1997-05-31 00:42:09 +00:00
Ulrich Drepper
76a2c2cb6a (elf_machine_runtime_setup): If we are
not looking at the new thread-safe .plt, don't be lazy about relocs.
(_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
(elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
1997-05-24 02:10:36 +00:00
Ulrich Drepper
f2d725f3ad Mirror Roland's recent changes. 1997-03-25 02:22:23 +00:00
Ulrich Drepper
41b0696286 Alias _setjmp to __setjmp for change to tst-setjmp.c. 1997-03-25 02:22:14 +00:00
Ulrich Drepper
cb23ff1f57 Initialize quotient' and mask'. 1997-03-20 19:33:28 +00:00
Ulrich Drepper
e79446f41d Remove cabs inline definition. 1997-03-08 17:55:27 +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
f316a01110 update from main archive 970202 1997-02-03 03:18:05 +00:00
Ulrich Drepper
19e7f5a664 update from main archive 970201 1997-02-02 01:49:47 +00:00
Ulrich Drepper
b5ce64efa4 update from main arhive 970119 1997-01-20 02:49:42 +00:00
Ulrich Drepper
a91492b86e update from main archive 960105 1997-01-06 22:07:18 +00:00
Ulrich Drepper
910e2e14fc Update from main archive 961219 1996-12-20 01:35:29 +00:00
Ulrich Drepper
c8593c8b66 update from main arcive 961210 1996-12-11 01:40:18 +00:00
Ulrich Drepper
f1fc182396 update from main archive 961203 1996-12-04 01:41:27 +00:00
Ulrich Drepper
b120ade020 update from main archive 961127 1996-11-28 04:16:09 +00:00
Ulrich Drepper
eaff3663c5 update from main archive 961126 1996-11-27 06:09:14 +00:00
Ulrich Drepper
3c7b25873a update from main archive 961119 1996-11-20 03:45:46 +00:00
Ulrich Drepper
c2a6bc19ec update from main archive 961116 1996-11-17 03:15:22 +00:00
Ulrich Drepper
60c74cf07a update from main archive 961105 1996-11-06 04:24:11 +00:00
Ulrich Drepper
85e960f706 update from main archive 961011 1996-10-12 00:55:37 +00:00
Ulrich Drepper
05e860710a update from main archive 961010 1996-10-11 03:12:39 +00:00
Ulrich Drepper
cf182b5888 update from main archive 961005 1996-10-06 02:02:37 +00:00
Ulrich Drepper
b1691e6dce update from main archive 961001 1996-10-02 01:39:48 +00:00
Ulrich Drepper
16d6b38e4d update from main archive 960909 1996-09-10 01:59:36 +00:00
Ulrich Drepper
44b8acdd3a update from main archive 960906 1996-09-07 04:10:03 +00:00
Ulrich Drepper
11309adfce update from main archive 960904 1996-09-05 02:48:53 +00:00
Ulrich Drepper
8a7ad1005c update from main archive 960826 1996-08-27 02:22:22 +00:00
Ulrich Drepper
404e621688 update from main archive 960814 1996-08-15 01:23:29 +00:00
Ulrich Drepper
f526ac60c5 Update from main archive 960811 1996-08-12 02:04:57 +00:00
Ulrich Drepper
dca26bcb0c Update from main archive 960810 1996-08-11 01:30:23 +00:00
Ulrich Drepper
b870eeda1d update from main archive 960807 1996-08-08 00:35:28 +00:00
Roland McGrath
aa6ab54663 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
	* sysdeps/alpha/elf/start.S: here.
1996-07-18 08:41:17 +00:00
Roland McGrath
de4931d1d7 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
* sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
	i386/dl-machine.h of 960713.
1996-07-16 06:12:11 +00:00
Roland McGrath
2c73b45b63 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
	If this is defined, don't declare _dl_rtld_map as weak, and
	don't check for MAP pointing to it.  RESOLVE is always null in this
	case, so test with #ifdef instead of if.
	* libc-symbols.h (symbol_set_declare): Use weak_extern instead of
	weak_symbol.
	* csu/initfini.c (_init): Likewise.
	* locale/setlocale.c (DEFINE_CATEGORY): Likewise.
	* misc/efgcvt_r.c: Likewise.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1996-07-08 06:17:19 +00:00
Roland McGrath
3ab191fa03 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
	weak.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1996-07-03 18:50:48 +00:00
Roland McGrath
e23ecc5f37 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
 	typo/extraneous whitespace.
1996-07-01 22:16:22 +00:00
Roland McGrath
4a5db9e9b5 Thu Jun 27 23:43:22 1996 Richard Henderson <rth@tamu.edu>
* sysdeps/alpha/dl-machine.h (elf_machine_rela):  The Alpha's
	address-of operation and plt format conspire to require all
	dynamic relocs to be resolved to actual symbols not plt entries.
1996-06-28 08:56:24 +00:00
Roland McGrath
cac963cdc0 Thu Jun 27 23:43:22 1996 Richard Henderson <rth@tamu.edu>
* sysdeps/alpha/dl-machine.h (elf_machine_rela):  The Alpha's
	address-of operation and plt format conspire to require all
	dynamic relocs to be resolved to actual symbols not plt entries.
1996-06-28 06:39:22 +00:00
Roland McGrath
a4c90a421a Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
* sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
	A .plt entry now loads the .rela.plt offset directly rather
	than making us calculate it.
1996-06-25 03:59:46 +00:00
Roland McGrath
ae9bd6f8f7 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
	only when building ELF version of library.
1996-06-23 01:30:10 +00:00
Roland McGrath
91149d1367 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
* sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
	Changed to a 12-byte PLT entry to remove dependency on $gp.
	Take a new got_addr parameter.
	(elf_machine_rela): Pass the new parameter.
	(ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
	(RTLD_START): Do normal linkage with program entry.
1996-06-21 04:30:50 +00:00
Roland McGrath
49aebbc610 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
 	sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
 	latter is illegal under DEC Unix.
1996-06-19 06:38:49 +00:00
Roland McGrath
645f6bf624 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
 	address register in the .frame directive.
1996-06-19 06:38:38 +00:00
Roland McGrath
73f53f0368 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/copysign.c: Remove.
1996-06-19 06:38:32 +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
26e00f7e61 Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as
	weak alias for _mcount.
	* sysdeps/alpha/_mcount.S (mcount): Define as weak alias.
1996-06-13 22:49:33 +00:00
Roland McGrath
d5e4222a33 Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu>
* sysdeps/alpha/dl-machine.h: New file.
1996-06-12 04:51:27 +00:00
Roland McGrath
d7cf162179 Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu>
* sysdeps/alpha/Makefile [subdir elf]: Add -mno-fp-regs to
	sysdep-CFLAGS so that _dl_runtime_resolve doesn't have to save them.
	Add -mbuild-constants to CFLAGS-rtld.c to that we can bootstrap
	without using literal data.
1996-06-12 01:41:59 +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
e62e0ed33c Fri Jun 7 09:11:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/alpha/Dist: Add _mcount.S.
1996-06-07 20:36:40 +00:00
Roland McGrath
0137a39712 Fri Jun 7 09:11:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/alpha/Makefile (sysdep_routines): Append instead of
	resetting; don't add bb_init_func.
1996-06-07 20:36:36 +00:00
Roland McGrath
173c291195 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/unix/bsd/ultrix4/mips/Dist: Updated.
	* sysdeps/unix/bsd/ultrix4/Dist: Removed.
	* sysdeps/unix/sysv/sysv4/Dist: Updated.
	* sysdeps/unix/sysv/sco3.2.4/Dist: Removed.
	* sysdeps/unix/sysv/irix4/Dist: Updated.
	* sysdeps/unix/sysv/linux/i386/Dist: Removed.
	* sysdeps/unix/sysv/Dist: Updated.
	* sysdeps/unix/bsd/sun/sunos4/Dist: Removed.
	* sysdeps/unix/bsd/sony/newsos4/Dist: Removed.
	* sysdeps/gnu/Dist: New file.
	* sysdeps/alpha/Dist: Updated.
	* sysdeps/mach/hurd/Dist: Updated.
1996-06-05 19:04:42 +00:00
Roland McGrath
56e70371a6 Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
 	sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
 	sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
 	sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
 	sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
 	sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/llseek.S,
 	sysdeps/unix/sysv/linux/alpha/pipe.S,
 	sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
 	sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
 	.end directive.
1996-06-02 18:49:21 +00:00
Roland McGrath
e872219f50 Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to
	_setjmp.
	* sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
 	sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
 	sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
 	sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
 	sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
 	sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/llseek.S,
 	sysdeps/unix/sysv/linux/alpha/pipe.S,
 	sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
 	sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
 	.end directive.
Tue May 28 10:46:04 1996  Richard Henderson  <rth@tamu.edu>

	* sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp.
1996-06-02 18:48:32 +00:00
Roland McGrath
dd8dd50fb3 Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
 	sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
 	sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
 	sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
 	sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
 	sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/llseek.S,
 	sysdeps/unix/sysv/linux/alpha/pipe.S,
 	sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
 	sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
 	.end directive.
Tue May 28 10:46:04 1996  Richard Henderson  <rth@tamu.edu>

	* sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol.
1996-06-02 18:48:30 +00:00
Roland McGrath
39573b269d Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/divrem.h: Include <sysdep.h> instead of <*/regdef.h>.
	* sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
 	sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
 	sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
 	sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
 	sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
 	sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/llseek.S,
 	sysdeps/unix/sysv/linux/alpha/pipe.S,
 	sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
 	sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
 	.end directive.
1996-06-02 18:48:18 +00:00
Roland McGrath
598022c144 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
 	sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S,
 	sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
 	sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
 	sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/pipe.S,
 	sysdeps/unix/sysv/linux/sigsuspend.S,
 	sysdeps/unix/sysv/linux/alpha/syscall.S,
 	sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
  	sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
 	framesize declaration.  Replace "lda pv,sym/jsr pv" by "jsr sym".
1996-05-24 05:55:29 +00:00
Roland McGrath
49c79fe5c6 . 1996-05-23 05:33:38 +00:00
Roland McGrath
bccfffdbcb Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
 	sysdeps/alpha/bsd-setjmp.S, sysdeps/alpha/ffs.S,
 	sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
 	sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
 	sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/pipe.S,
 	sysdeps/unix/sysv/linux/sigsuspend.S,
 	sysdeps/unix/sysv/linux/alpha/syscall.S,
 	sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
  	sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
 	framesize declaration.  Replace "lda pv,sym/jsr pv" by "jsr sym".
Wed Mar 27 10:26:21 1996  David Mosberger-Tang  <davidm@azstarnet.com>

	* sysdeps/alpha/setjmp.S: Must establish global pointer before
 	address of __sigsetjmp_aux can be loaded.
1996-05-23 05:33:05 +00:00
Roland McGrath
a9dbc75c78 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/__math.h (cabs): Remove underscores from struct
 	__cabs_complex member names in call to __hypot().
1996-05-23 05:32:55 +00:00
Roland McGrath
94765f9edc Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
	sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
	sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead
	of divrem.S.
1996-05-23 05:32:48 +00:00
Roland McGrath
2810021b9b Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid
 	name collision with math library.
1996-05-23 05:32:21 +00:00
Roland McGrath
a391dca8fa Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files.
1996-05-23 05:32:18 +00:00
Roland McGrath
24c177a079 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
 	sysdeps/alpha/bsd-setjmp.S, sysdeps/alpha/ffs.S,
 	sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
 	sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
 	sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
 	sysdeps/unix/sysv/linux/alpha/pipe.S,
 	sysdeps/unix/sysv/linux/sigsuspend.S,
 	sysdeps/unix/sysv/linux/alpha/syscall.S,
 	sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
  	sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
 	framesize declaration.  Replace "lda pv,sym/jsr pv" by "jsr sym".
1996-05-23 05:32:12 +00:00
Roland McGrath
6c07070b0c Updated from /src/gmp-2.0 1996-05-07 21:04:45 +00:00
Roland McGrath
2295f3f958 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/setjmp.S: Must establish global pointer before
 	address of __sigsetjmp_aux can be loaded.
1996-03-27 20:31:14 +00:00
Roland McGrath
e952b53c52 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
	sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
	sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
	sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
 	Removed.
1996-03-19 20:14:38 +00:00
Roland McGrath
437909194b Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/__math.h (atan, cabs): New functions.
1996-03-19 20:13:37 +00:00
Roland McGrath
bd36407618 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/fabs.c: File removed.
1996-03-19 19:54:14 +00:00
Roland McGrath
0c9f45ab41 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/ffs.S: new file.
1996-03-19 19:53:56 +00:00
Roland McGrath
8a9cbf0d86 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
* gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
 	sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
 	files.
1996-03-19 19:53:15 +00:00
Roland McGrath
bd7d3fbe25 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
	sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
	sysdeps/alpha/macros.m4, sysdeps/alpha/	reml.S, sysdeps/alpha/remlu.S,
	sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
 	Removed.
1996-03-19 19:52:58 +00:00
Roland McGrath
95a89bf364 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
	sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
	sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
	sysdeps/alpha/strlen.S: New files.
1996-03-19 19:52:47 +00:00
Roland McGrath
69ff466c66 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
 	address register before returning (gcc 2.7.1 doesn't do it,
 	presumably because $26 is declared as a global variable).
1996-03-19 19:52:32 +00:00
Roland McGrath
b434211b7d Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
 	pertaining to integer division/remainder routines since new code
 	doesn't require them.
1996-03-19 19:52:17 +00:00
Roland McGrath
e75790a4d2 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/setjmp.S: switched order in which sp and fp are
 	passed to match what __sigsetjmp_aux() expects.
1996-03-19 19:52:11 +00:00
Roland McGrath
d153ca687c Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
	to end of function to avoid a jump across NOPs.
1996-03-19 19:51:41 +00:00
Roland McGrath
6e5a98bc44 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/memchr.S: new file.
	* sysdeps/alpha/memchr.c: obsolete file removed.
1996-03-17 01:58:01 +00:00
Roland McGrath
3de9f02e92 Updated from /src/gmp-1.937 1996-03-01 18:43:45 +00:00
Roland McGrath
3964340a69 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/alpha/memchr.c (memchr): loop searching for matching
        character bailed out one too early; changed constant 6 to
        7 to fix this.
1996-02-15 16:47:45 +00:00
Roland McGrath
7def3d92a4 Updated from ../=mpn/gmp-1.906.7 1995-10-16 01:18:40 +00:00
Roland McGrath
3a29975f0a Updated from ../=mpn/gmp-1.906.7 1995-10-14 02:29:43 +00:00
Roland McGrath
87258b84a3 Fix "cvs commit" cmds in rules to not fail in the absence of CVS dirs. 1995-05-19 21:51:40 +00:00
Brendan Kehoe
fd1e71567e * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning
of the byte that was zero, so we return a valid number.
1995-04-17 22:02:01 +00:00
Brendan Kehoe
202cae361f * sysdeps/alpha/__longjmp.c (__longjmp): Take out const. 1995-03-31 03:52:13 +00:00
Brendan Kehoe
fdf91378b9 newly generated ones 1995-03-10 02:59:52 +00:00
Brendan Kehoe
3b96aa40f8 * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition
that's used inside the alpha sysdep.h.
1995-03-10 02:59:06 +00:00
Brendan Kehoe
8c632b258d duh, don't need __attribute__ in the alpha header, it's in the toplevel
one
1995-03-10 02:44:20 +00:00
Brendan Kehoe
9d7c89bc4b * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN
keyword.
1995-03-10 02:16:23 +00:00
Brendan Kehoe
9ef37b0454 * sysdeps/alpha/__math.h (__copysign): Use attribute instead of old
__CONSTVALUE by adding forward decl first with the const attribute.
1995-03-10 02:10:40 +00:00
Roland McGrath
5e7cd26de6 (divrem output): Do cvs commit if there is a CVS directory. 1995-02-17 23:48:00 +00:00
Roland McGrath
a424e41858 Files generated from divrem.m4. 1995-02-17 20:14:40 +00:00
Roland McGrath
3b84e62ef2 Imported from gmp-1.900 1995-02-17 20:13:09 +00:00
Roland McGrath
cc8aa8bf32 [weak_alias] (index): Define as weak alias for strchr. 1995-01-22 20:28:20 +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
4be66ebd61 Reverse register and immediate args in `bis' insn; immediate must be
second.
1994-12-15 01:01:53 +00:00
Roland McGrath
079f003a7c Use C comments instead of ! comments. 1994-12-10 05:20:47 +00:00
Roland McGrath
fa7242a3a9 Include <sysdep.h> instead of <regdef.h>.
Use C comments instead of ! comments.
1994-12-09 20:24:26 +00:00
Roland McGrath
b5f9dfd1a1 Remove extra shift and OR of CHARMASK. 1994-12-09 20:16:06 +00:00
Roland McGrath
c82ceb0b00 Use ENV[0].__jmpbuf[0]. 1994-12-09 20:02:05 +00:00
Roland McGrath
29031a89a2 Take arg of type __jmp_buf, not jmp_buf. 1994-12-04 19:04:45 +00:00
Roland McGrath
65377bcaa1 Initial revision 1994-12-04 18:14:36 +00:00
Roland McGrath
876f191f7f Pass FP and SP as 3rd and 4th args, not 2nd and 3rd. 1994-12-04 18:09:25 +00:00
Roland McGrath
3adc78aced Implement __sigsetjmp_aux instead of __setjmp_aux; call __sigjmp_save. 1994-12-04 18:08:19 +00:00
Roland McGrath
e5eb42c555 Implement __sigsetjmp instead of __setjmp; call __sigsetjmp_aux instead of
__setjmp_aux.
1994-12-04 18:07:13 +00:00
Roland McGrath
dae2877c9e (divrem rule): Make the output unwritable, use mv -f. 1994-11-15 06:55:45 +00:00
Brendan Kehoe
72d531d675 entered into RCS 1993-12-23 06:27:57 +00:00
Brendan Kehoe
d871481858 Initial revision 1993-12-23 06:02:55 +00:00
Roland McGrath
4a219aa112 Formerly alpha/memchr.c.~3~ 1993-07-22 19:20:18 +00:00
Roland McGrath
6063f734e7 Formerly alpha/strchr.c.~2~ 1993-07-22 19:20:16 +00:00
Roland McGrath
f63f39a686 Formerly alpha/__copysign.c.~2~ 1993-04-12 00:49:08 +00:00
Roland McGrath
3e151dccbc Formerly alpha/__math.h.~3~ 1992-11-25 19:11:17 +00:00