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