drepper [Tue, 28 Mar 2000 17:28:37 +0000 (17:28 +0000)]
Little optimizations. Remove K&R prototypes.
drepper [Tue, 28 Mar 2000 17:27:37 +0000 (17:27 +0000)]
Use get16, get32, put16, and put32 instead of direct casting pointer
to potentially handle unaligned memory accesses.
drepper [Tue, 28 Mar 2000 17:21:32 +0000 (17:21 +0000)]
Define get16u, get32u, put16u, and put32u macros
to access potentially unaligned addresses. These macros are intended
to be used only outside the loops.
(unaligned): New definition. In case the machine can handle unaligned
access define as zero. Otherwise as a variable which is initialized
as nonzero in case the buffer passed in at runtime is unaligned with
respect to the character set encoding involved.
Call aligned or unaligned looop functions according to unaligned
variable.
drepper [Tue, 28 Mar 2000 17:18:18 +0000 (17:18 +0000)]
Define get16, get32, put16, and put32 macros to allow as well reading
from/writing to unaligned addresses on machines which don't support
this in hardware. Use FCTNAME macro to define function name. Include
the file a second time for platforms which need special unaligned
handling.
roland [Tue, 28 Mar 2000 07:06:08 +0000 (07:06 +0000)]
.
roland [Tue, 28 Mar 2000 07:05:56 +0000 (07:05 +0000)]
2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/bits/sigthread.h: Clean up conditionals.
Declare pthread_sigmask.
roland [Tue, 28 Mar 2000 07:05:51 +0000 (07:05 +0000)]
2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
* csu/version.c: Add 2000 to copyright years.
Remove Emacs local variables section.
drepper [Tue, 28 Mar 2000 05:05:42 +0000 (05:05 +0000)]
Update.
drepper [Tue, 28 Mar 2000 05:04:21 +0000 (05:04 +0000)]
(__gconv_transform_ucs2_internal, __gconv_transform_internal_ucs2):
Never need to bswap_16.
(__gconv_transform_ucs2reverse_internal,
__gconv_transform_internal_ucs2reverse): Always need to bswap_16.
drepper [Tue, 28 Mar 2000 04:59:27 +0000 (04:59 +0000)]
(__gconv_transform_ucs2little_internal,
__gconv_transform_internal_ucs2little): Remove declarations.
drepper [Tue, 28 Mar 2000 01:01:22 +0000 (01:01 +0000)]
Add version information for libm, libc, and ld-linux for Linux/IA-64.
drepper [Tue, 28 Mar 2000 00:58:22 +0000 (00:58 +0000)]
Recognize ia64 platform.
Recognize SGI's compiler.
roland [Mon, 27 Mar 2000 23:57:43 +0000 (23:57 +0000)]
.
roland [Mon, 27 Mar 2000 23:57:24 +0000 (23:57 +0000)]
2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
* include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
obsoleting version not being defined at all, in which case the
result is always true.
roland [Mon, 27 Mar 2000 19:43:54 +0000 (19:43 +0000)]
.
roland [Mon, 27 Mar 2000 19:42:39 +0000 (19:42 +0000)]
undo accidental commit
roland [Mon, 27 Mar 2000 19:42:09 +0000 (19:42 +0000)]
2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
* Makeconfig (preprocess-versions): New canned sequence for running
cpp on shlib-versions and the like.
(soversions.i): Use it.
* Makerules (Versions.all, sysd-versions): Use it to preprocess the
Versions.def and Versions files.
drepper [Mon, 27 Mar 2000 18:36:21 +0000 (18:36 +0000)]
Update.
drepper [Mon, 27 Mar 2000 18:36:07 +0000 (18:36 +0000)]
Update test after last strfmon change.
drepper [Mon, 27 Mar 2000 18:11:14 +0000 (18:11 +0000)]
Update.
drepper [Mon, 27 Mar 2000 18:10:49 +0000 (18:10 +0000)]
(main): Add another check to see obstack_printf handling all possible
beginnings of the block inside an obstack chunk.
drepper [Mon, 27 Mar 2000 18:06:35 +0000 (18:06 +0000)]
Update.
drepper [Mon, 27 Mar 2000 18:04:56 +0000 (18:04 +0000)]
Use __malloc_initialize_hook to install mcheck handler.
drepper [Mon, 27 Mar 2000 18:03:07 +0000 (18:03 +0000)]
(_IO_obstack_vprintf): Fix one more memory handling problem.
roland [Mon, 27 Mar 2000 16:51:19 +0000 (16:51 +0000)]
.
roland [Mon, 27 Mar 2000 16:51:02 +0000 (16:51 +0000)]
2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
* stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
roland [Mon, 27 Mar 2000 15:08:19 +0000 (15:08 +0000)]
.
roland [Mon, 27 Mar 2000 15:07:53 +0000 (15:07 +0000)]
2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
* include/shlib-compat.h: Conditionalize <abi-versions.h> include
on [HAVE_ELF && DO_VERSIONING].
drepper [Mon, 27 Mar 2000 08:42:51 +0000 (08:42 +0000)]
(main): Make a bit more exciting.
drepper [Mon, 27 Mar 2000 08:30:50 +0000 (08:30 +0000)]
Update.
drepper [Mon, 27 Mar 2000 08:30:17 +0000 (08:30 +0000)]
Test for obprintf function.
drepper [Mon, 27 Mar 2000 07:36:16 +0000 (07:36 +0000)]
Update.
drepper [Mon, 27 Mar 2000 07:35:58 +0000 (07:35 +0000)]
(_IO_default_xsputn): Little optimization. Call _IO_OVERFLOW directly instead
through __overflow.
drepper [Mon, 27 Mar 2000 06:37:56 +0000 (06:37 +0000)]
Update.
drepper [Mon, 27 Mar 2000 06:37:37 +0000 (06:37 +0000)]
(construct_output_path): If path contains a / compute the end of the
directory name correctly.
drepper [Mon, 27 Mar 2000 05:58:12 +0000 (05:58 +0000)]
Remove extra prototype.
drepper [Mon, 27 Mar 2000 05:51:57 +0000 (05:51 +0000)]
(check_all): Turn off pedantic flag for the time of check to avoid recursion.
drepper [Mon, 27 Mar 2000 05:36:34 +0000 (05:36 +0000)]
Update.
drepper [Mon, 27 Mar 2000 05:36:12 +0000 (05:36 +0000)]
[libc] (GLIBC_2.2): Add mcheck_pedantic.
drepper [Mon, 27 Mar 2000 05:35:46 +0000 (05:35 +0000)]
Declare mcheck_pedantic.
drepper [Mon, 27 Mar 2000 05:34:47 +0000 (05:34 +0000)]
Implement pedantic checking of all allocated blocks whenever a
function is called. Initiated by calling mcheck_pedantic instead of
mcheck.
drepper [Mon, 27 Mar 2000 05:33:45 +0000 (05:33 +0000)]
Use mcheck_pedantic instead of mcheck for now.
drepper [Mon, 27 Mar 2000 05:33:05 +0000 (05:33 +0000)]
[libpthread] (GLIBC_2.2): Add sem_timedwait.
drepper [Mon, 27 Mar 2000 05:32:56 +0000 (05:32 +0000)]
Update.
drepper [Mon, 27 Mar 2000 05:32:17 +0000 (05:32 +0000)]
(sem_timedwait): Declare.
drepper [Mon, 27 Mar 2000 05:32:09 +0000 (05:32 +0000)]
(sem_timedwait): New function.
drepper [Mon, 27 Mar 2000 05:31:53 +0000 (05:31 +0000)]
.
drepper [Mon, 27 Mar 2000 05:30:59 +0000 (05:30 +0000)]
Undef and document __USE_XOPEN2K.
roland [Mon, 27 Mar 2000 05:18:47 +0000 (05:18 +0000)]
.
roland [Mon, 27 Mar 2000 05:18:31 +0000 (05:18 +0000)]
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* dlfcn/dlopen.c: Use <shlib-compat.h> macros.
* dlfcn/dlopenold.c: Likewise.
* nss/getXXbyYY_r.c: Likewise.
* nss/getXXent_r.c: Likewise.
* hurd/hurdinit.c: Likewise.
* hurd/compat-20.c: Likewise.
* libio/oldiofopen.c: Likewise.
* libio/oldiofclose.c: Likewise.
* libio/oldiofdopen.c: Likewise.
* libio/oldfileops.c: Likewise.
* libio/oldstdfiles.c: Likewise.
* libio/oldiofsetpos.c: Likewise.
* libio/oldiofgetpos.c: Likewise.
* libio/oldiofgetpos64.c: Likewise.
* libio/oldiofsetpos64.c: Likewise.
* libio/oldiopopen.c: Likewise.
* libio/oldpclose.c: Likewise.
* libio/oldtmpfile.c: Likewise.
* libio/freopen.c (freopen): Likewise.
* libio/iofclose.c (_IO_new_fclose): Likewise.
roland [Mon, 27 Mar 2000 04:09:19 +0000 (04:09 +0000)]
.
roland [Mon, 27 Mar 2000 04:09:08 +0000 (04:09 +0000)]
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/sys/reboot.h: Include <features.h>.
(reboot): Declare it.
roland [Mon, 27 Mar 2000 04:00:06 +0000 (04:00 +0000)]
Conditionalize stuff on _LIBC.
roland [Mon, 27 Mar 2000 03:57:46 +0000 (03:57 +0000)]
.
roland [Mon, 27 Mar 2000 03:57:06 +0000 (03:57 +0000)]
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/pthread/Makefile: File removed.
roland [Mon, 27 Mar 2000 03:56:52 +0000 (03:56 +0000)]
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* libio/Makefile (headers): Add bits/stdio-lock.h here.
roland [Mon, 27 Mar 2000 03:56:46 +0000 (03:56 +0000)]
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/bits/stdio-lock.h: New file.
roland [Mon, 27 Mar 2000 01:09:25 +0000 (01:09 +0000)]
.
roland [Mon, 27 Mar 2000 01:09:18 +0000 (01:09 +0000)]
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* include/shlib-compat.h: Include <abi-versions.h> unconditionally.
drepper [Sun, 26 Mar 2000 21:24:46 +0000 (21:24 +0000)]
Update.
drepper [Sun, 26 Mar 2000 21:24:35 +0000 (21:24 +0000)]
(intptr_t): Conditionalize on [__USE_MISC ||
__USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
We need this for the sbrk decl, which can be included without Unix98.
drepper [Sun, 26 Mar 2000 20:35:45 +0000 (20:35 +0000)]
Update.
drepper [Sun, 26 Mar 2000 20:34:28 +0000 (20:34 +0000)]
Fix more warnings.
drepper [Sun, 26 Mar 2000 20:30:58 +0000 (20:30 +0000)]
Clarify use of __ASSUME_32BITUIDS.
drepper [Sun, 26 Mar 2000 20:29:55 +0000 (20:29 +0000)]
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Use a C comment, not an assembly comment.
drepper [Sun, 26 Mar 2000 20:28:45 +0000 (20:28 +0000)]
(tests): Avoid trigraphs.
drepper [Sun, 26 Mar 2000 20:27:43 +0000 (20:27 +0000)]
(print_partial_compiled_pattern): Cast all ptrdiff_t to long for printing.
(print_compiled_pattern): Use Z for printing size_t.
drepper [Sun, 26 Mar 2000 20:00:44 +0000 (20:00 +0000)]
(_nss_nis_getservbyport_r): Last argument to yperr2nss is an int, not size_t.
drepper [Sun, 26 Mar 2000 19:56:39 +0000 (19:56 +0000)]
Update.
drepper [Sun, 26 Mar 2000 19:56:04 +0000 (19:56 +0000)]
Remove K&R prototypes.
roland [Sun, 26 Mar 2000 19:17:23 +0000 (19:17 +0000)]
.
roland [Sun, 26 Mar 2000 19:17:11 +0000 (19:17 +0000)]
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* Versions.def (libmachuser, libhurduser): Remove these sections,
since these libraries do not presently use symbol versions.
roland [Sun, 26 Mar 2000 19:17:03 +0000 (19:17 +0000)]
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
is RLIM_INFINITY, return -1 instead.
roland [Sun, 26 Mar 2000 19:16:56 +0000 (19:16 +0000)]
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
an initial value of 1024 instead of RLIM_INFINITY.
drepper [Sun, 26 Mar 2000 18:48:26 +0000 (18:48 +0000)]
Update.
drepper [Sun, 26 Mar 2000 18:43:19 +0000 (18:43 +0000)]
(postclean): Added soversions.i.
drepper [Sun, 26 Mar 2000 18:41:48 +0000 (18:41 +0000)]
Processor context definitions for Linux/Arm.
drepper [Sun, 26 Mar 2000 18:40:17 +0000 (18:40 +0000)]
Define _FPU_MASK_IM, _FPU_MASK_ZM, _FPU_MASK_OM, _FPU_MASK_UM,
_FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT, and _FPU_IEEE. Change
_FPU_RESERVED.
drepper [Sun, 26 Mar 2000 18:32:25 +0000 (18:32 +0000)]
(getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
Don't use __libc_sa_len, which only exists for Linux. Just handle
AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
only flavors supported by this function anyway.
drepper [Sun, 26 Mar 2000 18:31:43 +0000 (18:31 +0000)]
Include <net/if.h> for if_nametoindex.
(gaih_inet): Remove unused duplicate variable.
drepper [Sun, 26 Mar 2000 18:28:02 +0000 (18:28 +0000)]
Corrected problems with missing signs and
missing or extra spaces; allow for sign strings longer than
one character; add padding to ensure positive and negative
formats are aligned when a left precision is used.
drepper [Sun, 26 Mar 2000 18:15:03 +0000 (18:15 +0000)]
(__setstate_r): Allow RNGs of type 4.
drepper [Sun, 26 Mar 2000 06:05:37 +0000 (06:05 +0000)]
Update.
drepper [Sun, 26 Mar 2000 06:04:58 +0000 (06:04 +0000)]
Update.
drepper [Sun, 26 Mar 2000 06:03:42 +0000 (06:03 +0000)]
Remove references to crypt add-on.
roland [Sat, 25 Mar 2000 20:20:44 +0000 (20:20 +0000)]
.
roland [Sat, 25 Mar 2000 20:20:22 +0000 (20:20 +0000)]
2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
section while taking the _hurd_rlimit_lock.
* sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
roland [Fri, 24 Mar 2000 21:41:15 +0000 (21:41 +0000)]
.
roland [Fri, 24 Mar 2000 21:41:04 +0000 (21:41 +0000)]
2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
* Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
using $(LN_S).
roland [Fri, 24 Mar 2000 20:59:00 +0000 (20:59 +0000)]
.
roland [Fri, 24 Mar 2000 20:58:39 +0000 (20:58 +0000)]
2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/unix/sysv/linux/net/if.h: Moved to ...
* sysdeps/gnu/net/if.h: here.
(_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
* sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
* sysdeps/generic/net/if.h: New file. Declares just the standard
functions and `struct if_nameindex' type.
* socket/Makefile (headers): Add net/if.h here.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
* sysdeps/mach/hurd/Dist: Remove it here.
* sysdeps/unix/sysv/linux/Dist: And here.
* sysdeps/generic/if_index.c: Include <net/if.h>.
roland [Fri, 24 Mar 2000 20:58:32 +0000 (20:58 +0000)]
2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/if_index.c: New file.
roland [Fri, 24 Mar 2000 19:11:18 +0000 (19:11 +0000)]
(Interface Naming): Fix typo: IFNAMSIZE -> IFNAMSIZ
aj [Fri, 24 Mar 2000 15:27:52 +0000 (15:27 +0000)]
Update.
aj [Fri, 24 Mar 2000 15:27:37 +0000 (15:27 +0000)]
2000-03-24 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
access relocated entries in l_info.
(elf_machine_got_rel): Likewise.
(elf_machine_runtime_setup): Likewise.
* sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
(elf_machine_runtime_setup): Likewise.
(__dl_runtime_resolve): Likewise.
drepper [Thu, 23 Mar 2000 22:46:19 +0000 (22:46 +0000)]
Correct path for ldsodefs.h file.
drepper [Thu, 23 Mar 2000 22:45:29 +0000 (22:45 +0000)]
Moved to sysdeps/generic.
drepper [Thu, 23 Mar 2000 22:16:37 +0000 (22:16 +0000)]
Update.
drepper [Thu, 23 Mar 2000 22:16:31 +0000 (22:16 +0000)]
(__fork): Call __pthread_reset_pthread_once.
drepper [Thu, 23 Mar 2000 22:16:21 +0000 (22:16 +0000)]
(__pthread_reset_pthread_once): Add prototype.