Ulrich Drepper [Sat, 14 Mar 1998 19:44:22 +0000 (19:44 +0000)]
Update.
1998-03-14 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Irix6 is an ELF platform.
Ulrich Drepper [Sat, 14 Mar 1998 16:08:16 +0000 (16:08 +0000)]
Update.
1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
* elf/dl-close.c (_dl_close): Stop unmapping the segments after
unmapping the last loaded segment.
1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Set base_os for Irix6.
Correct test for .weakext.
1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/dl-deps.c (_dl_map_object_deps): Add first parameter
(new_line) to _dl_debug_message call.
* locale/programs/linereader.c (lr_token): Return EOF token at EOF.
Ulrich Drepper [Sat, 14 Mar 1998 09:27:24 +0000 (09:27 +0000)]
Update.
1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (parse_param): Perform field-splitting after
expanding positional parameter.
* posix/wordexp-tst.sh: Test that field-splitting is performed
after expanding positional parameter.
* posix/wordexp.c (parse_param): Fixed memory leak in
field-splitting after parameter expansion.
1998-03-14 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/linereader.c (lr_token): Return EOF token at
EOF.
(get_toplvl_escape): Correctly terminate loop at EOF.
Patch by Cristian Gafton <gafton@redhat.com>.
Ulrich Drepper [Fri, 13 Mar 1998 17:02:23 +0000 (17:02 +0000)]
Update.
1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
* string/tester.c (test_strpbrk): Add more strpbrk tests.
(test_strsep): Likewise. Correct horrible bugs.
* string/bits/string2.h (strcspn): Optimize also reject string of
length 2 and 3.
(strspn): Likewise.
(strpbrk): Likewise.
(strsep): Likewise. Correct bug with successive separators and
separators at the end of the string.
* sysdeps/generic/strsep.c: Correct bug with successive separators
and separators at the end of the string.
1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (parse_param): Positional parameters ($1, $2
etc) now handled, as well as $$ (pid).
* posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
(distribute): Add wordexp-tst.sh.
* posix/wordexp-tst.sh: New file.
* posix/wordexp.c (parse_param): $# (or ${#}) expands to the
number of positional parameters. Renamed substitute_length to
seen_hash.
Don't free(env) is env is NULL.
1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
* libc.map: Add pthread_attr_init to GLIBC_2.1.
1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
* gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
for output file replacing gmon.out.
Patch by Dean Gaudet <dgaudet@arctic.org>.
1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
up namespace. Optimize finding end of line.
1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
securely. Optimized.
(process_dl_debug): Add ':' to list of separators. Optimized.
1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ulrich Drepper [Fri, 13 Mar 1998 16:53:01 +0000 (16:53 +0000)]
Add pthread_attr_init to GLIBC_2.1.
Andreas Schwab [Fri, 13 Mar 1998 01:27:51 +0000 (01:27 +0000)]
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Return zero or
one.
Fri Mar 13 10:25:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Return zero or
one.
Ulrich Drepper [Fri, 13 Mar 1998 00:56:15 +0000 (00:56 +0000)]
Update.
1998-03-13 00:46 Ulrich Drepper <drepper@cygnus.com>
* attr.c: Implement pthread_attr_[gs]etguardsize,
pthread_attr_[gs]setstackaddr, pthread_attr_[gs]etstacksize.
Change pthread_attr_init to have two interfaces.
* internals.h (struct _pthread_descr_struct): Add new fields for
above functions.
* libpthread.map: Add names in GLIBC_2.1 section.
* manager.c (pthread_handle_create): Implement guardsize and
user stack.
(pthread_free): Likewise.
* pthread.c (pthread_create): Add new interface for changed
pthread_attr_t.
* sysdeps/pthread/pthread.h: Add prototypes for new functions.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Add definition of
PTHREAD_STACK_MIN.
* manager.c: Enable resetting of the thread scheduling policy
to SCHED_OTHER when the parent thread has a different one.
Ulrich Drepper [Thu, 12 Mar 1998 22:04:57 +0000 (22:04 +0000)]
Update
1998-03-10 Ulrich Drepper <drepper@cygnus.com>
* aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
constants.
* sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
definition here.
* sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
definition here.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
AF_* and PF_* constants.
* sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
Ulrich Drepper [Thu, 12 Mar 1998 17:26:19 +0000 (17:26 +0000)]
Update.
1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-test.c: More tests.
(main): Set up arena for pathname expansion tests (in a temporary
directory).
(testit): Don't check word count or word vector if return value is
non-zero.
* posix/wordexp.c (exec_comm): Always chop off terminating
linefeed (just like bash does).
(parse_param): Change lots of occurrences of "if (!*env)" to "if
(!env || !*env)".
(parse_param): For assignment inside parameter expansion, use all
expanded words in assignment rather than just the first.
(parse_param): Corrected return value for parameter expansion of
an unset variable when WRDE_UNDEF is in effect.
(parse_dollars): Don't field-split if quoted.
(wordexp): Opening brace character isn't allowed unquoted.
1998-03-12 Ulrich Drepper <drepper@cygnus.com>
* elf/dlerror.c: Fix concurrency problems with error string and
number.
* elf/dl-deps.c (_dl_map_object_deps): Print debug info when
filter/auxiliary are being loaded.
1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
* elf/dlerror.c (last_object_name): Removed.
(dlerror): Don't use last_object_name.
(_dl_error_run): Omit second argument to _dl_catch_error.
* elf/dl-error.c (struct catch): Remove objname member.
(_dl_signal_error): Construct string including objname when given.
(_dl_catch_error): Remove objname handling.
* elf/link.h (_dl_catch_error): Fix prototype and comment.
* elf/rtld.c (dl_main): Call _dl_catch_error correctly.
* elf/dl-deps.c (_dl_map_objet_deps): Likewise.
* nss/nsswitch.c (nss_dlerror_run): Likewise.
* iconv/gconv_dl.c (dlerror_run): Likewise.
[Corrects PR libc/501].
Ulrich Drepper [Thu, 12 Mar 1998 09:35:57 +0000 (09:35 +0000)]
Update.
1998-03-12 Matthias Urlichs <smurf@noris.de>
* nscd/nscd.c: Ignore SIGPIPE.
1998-03-12 Ulrich Drepper <drepper@cygnus.com>
* nscd/nscd_getgr_r.c: Use __ protected names.
* nscd/nscd_getpw_r.c: Likewise.
1998-03-12 Matthias Urlichs <smurf@noris.de>
* nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
* nscd/nscd_getpw_r.c: Fix length calculation in result check,
null bytes are not transmitted.
1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* powerpc/syscalls.list: Correct typo.
* alpha/syscalls.list: Likewise.
* mips/syscalls.list: Likewise.
1998-03-12 Ulrich Drepper <drepper@cygnus.com>
* socket/sys/socket.h: Add prototype for __socket.
Ulrich Drepper [Wed, 11 Mar 1998 15:33:24 +0000 (15:33 +0000)]
Update.
1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
* elf/rtld.c: Update help message.
Install link maps for preloaded objects using main_map as loader.
* elf/dl-misc.c: Use __libc_write instead of __write for debugging.
* elf/dl-profile.c: Likewise.
* elf/dlsym.c: Little optimization.
* elf/dlvsym.c: Likewise.
1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
* posix/wordexp-test.c: Move test for parameter list at the very
beginning.
1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
WRDE_REUSE flag is set.
(parse_param): Allow `*', `@', and numbers in parameter names.
(parse_dollars): Differentiate between arithmetic expansion and a
command substitution that starts immediately with a sub-shell
(like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
(parse_param): Memory allocated with __alloca in a block was
referenced outside that block. Adjusted to use malloc/free.
(parse_param): Adjusted field-splitting algorithm so that there is
not necessarily a field split at the end of a parameter expansion.
1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
don't free words that have already been allocated.
(parse_param): A dollar sign on its own will never have a pattern
associated with it (like "${HOME%%/}" has), so don't try to free it.
(parse_glob): Attempt to glob when an unquoted `[' is found
(rather than an unquoted '{' (!)). Also for unquoted '?'.
(parse_glob): Sorted out quoting in a glob-able word.
(parse_param): Added $* and $@ handling.
Ulrich Drepper [Wed, 11 Mar 1998 12:42:25 +0000 (12:42 +0000)]
LinuxThreads library.
1998-03-11 00:42 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
* linuxthreads/manager.c: Enable resetting of the thread
scheduling policy to SCHED_OTHER when the parent thread
has a different one.
1998-02-01 13:51 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
_POSIX_ASYNCHRONOUS_IO.
* sysdeps/pthread/pthread.h: Define bits for Unix98 variants of
mutexes.
* mutex.c: Implement new mutex types.
* internals.h: Include <signal.h>.
* libpthread.map: Add __erno_location and __h_errno_location.
* errno.c: Return pointer to variable actually in use. This might
not be the one in the thread structure.
* internals.h (struct _pthread_descr_struct): Add new fields p_errnop
and p_h_errnop.
* manager.c (__pthread_manager): Set p_errnop and p_h_errnop member
of manager thread structure.
(pthread_handle_create): Set p_errnop and p_h_errnop members for new
thread.
* pthread.c: Adapt initializer for thread structures.
(__pthread_initial_thread): Set p_errnop and p_h_errnop member.
(__pthread_reset_main_thread): Reset p_errnop and p_h_errnop of
current thread to global variables.
1998-01-31 17:27 Ulrich Drepper <drepper@cygnus.com>
* rwlock.c: New file.
* Makefile (libpthread-routines): Add rwlock.
* sysdeps/pthread/pthread.h: Define data structures and declare
functions.
* libpthread.map: Add new functions.
1997-12-18 13:50 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/pt-machine.h: New file; add ARM support.
* sysdeps/arm/Implies: likewise.
* README: Document it.
1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* signals.c: Remove unneeded initializer for sigwaited, saving a
1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* semaphore.c (sem_init): Set sem_spinlock only if available.
1997-12-04 01:48 Ulrich Drepper <drepper@cygnus.com>
* mutex.c: Implement PTHREAD_MUTEX_CHECKERROR.
* sysdeps/pthread/pthread.h: Define PTHREAD_MUTEX_CHECKERROR.
* Makefile: Update from LinuxThreads 0.7.
* internals.h. Likewise.
* manager.c: Likewise.
* mutex.c: Likewise.
* pthread.c: Likewise.
* signals.c: Likewise.
* specific.c: Likewise.
* Examples/ex3.c: Likewise.
1997-11-20 18:13 Ulrich Drepper <drepper@cygnus.com>
* pthread.c (__pthread_reset_main_thread): Close pipe only if still
open.
1997-10-29 05:38 Ulrich Drepper <drepper@cygnus.com>
* wrapsyscall.c: Add socket functions which are also cancelation
points.
1997-10-19 21:40 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de>
* specific.c (__libc_internal_tsd_set, __libc_internal_tsd_get):
New functions for fast thread specific data within libc.
* internals.h: Add new array p_libc_specific to struct
_pthread_descr_struct.
* sysdeps/pthread/bits/libc-lock.h: Declare new functions.
1997-10-13 05:39 Ulrich Drepper <drepper@cygnus.com>
* semaphore.h: Add __BEGIN_DECLS/__END_DECLS.
Reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1997-08-29 03:05 Ulrich Drepper <drepper@cygnus.com>
* internals.h (struct _pthread_descr_struct): Add definitions for
two-level specific key handling.
* manager.c (pthread_handle_create): Initialize specific memory array.
* specific.c: Implement two-level key handling.
* weaks.c: Don't provide dummy key handling.
* sysdeps/pthread/bits/libc-lock.h: Typedef __libc_lock_t (no #define).
Add definition of __libc_key_t.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define PTHREAD_KEYS_MAX
as 1024.
Add definition of _POSIX_THREAD_DESTRUCTOR_ITERATIONS and
PTHREAD_DESTRUCTOR_ITERATIONS.
* manager.c (pthread_handle_create): Compare mmap result with
MAP_FAILED.
* ptfork.c: Rename to __pthread_atfork and make old name a weak alias.
* sysdeps/pthread/bits/pthread.h: Add prototype for __pthread_atfork.
1997-08-22 19:04 Richard Henderson <rth@cygnus.com>
sysdeps/sparc -> sysdeps/sparc/sparc32
sysdeps/sparc64 -> sysdeps/sparc/sparc64
* internals.h: Change definition of THREAD_SELF to be an expression,
not a statement that did a return.
* sysdeps/alpha/pt-machine.h (THREAD_SELF): Update accordingly.
* sysdeps/sparc/sparc32/pt-machine.h (THREAD_SELF, INIT_THREAD_SELF):
Follow Solaris and use a "system reserved" register (%g6) to hold
the thread descriptor.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
1997-08-03 00:09 Ulrich Drepper <drepper@cygnus.com>
* mutex.c: Correct pthread_once. Patch by Xavier Leroy.
* sysdeps/pthread/pthread.h: Add prototype for __pthread_once.
* sysdeps/pthread/bits/pthread.h: Add macros for __libc_once.
* semaphore.c: Include spinlock.h only when needed.
* specific.c (__pthread_setsepcific, __pthread_getspecific): Reject
keys for entries not in use.
* weaks.c: Implement key handling functions for real.
1997-06-29 01:04 Richard Henderson <richard@gnu.ai.mit.edu>
Initial sparc64-linux support:
* linuxthreads/sysdeps/sparc64/Implies: New file.
* linuxthreads/sysdeps/sparc64/pt-machine.h: Likewise.
1997-06-29 00:48 Ulrich Drepper <drepper@cygnus.com>
* semaphore.c: Include spinlock.h at correct place.
Patch by HJ Lu.
1997-06-13 10:06 Richard Henderson <rth@tamu.edu>
The Great Bit File Move:
* sysdeps/alpha/semaphorebits.h: -> .../bits/semaphore.h.
* sysdeps/powerpc/semaphorebits.h: Likewise.
* sysdeps/pthread/cmpxchg/semaphorebits.h: Likewise.
* sysdeps/pthread/no-cmpxchg/semaphorebits.h: Likewise.
* sysdeps/pthread/libc-lock.h: -> bits/
* sysdeps/pthread/stdio-lock.h: Likewise.
* sysdeps/unix/sysv/linux/local_lim.h: Likewise.
* sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
* semaphore.h: Likewise.
* sysdeps/pthread/pthread.h: Likewise.
* lockfile.c: <foo.h> -> <bits/foo.h>.
* semaphore.h: Likewise.
* Makefile: (headers): foo.h -> bits/foo.h.
* sysdeps/pthread/Makefile: Likewise.
1997-04-11 01:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* semaphore.c (sem_init): Set sem_spinlock only if available.
* sysdeps/m68k/pt-machine.h (testandset, __compare_and_swap): Fix
asm constraints.
1997-04-09 03:00 Ulrich Drepper <drepper@cygnus.com>
Update from LinuxThreads 0.6.
* attr.c (pthread_attr_getdetachstate): Use __sched_get_priority_max
and __sched_get_priority_min instead of names without `__'.
* manager.c: Rewrite large parts to implement opaque pthread_t.
* cancel.c: Adapt for opaque pthread_t type.
* condvar.c: Likewise.
* errno.c: Likewise.
* join.c: Likewise.
* mutex.c: Likewise.
* pthread.c: Likewise.
* signals.c: Likewise.
* specific.c: Likewise.
* restart.h: Likewise.
* queue.h: Likewise.
* Examples/ex3.c: Likewise.
* Examples/ex4.c: Likewise.
* sysdeps/pthread/pthread.h: Likewise.
* pthread.c: Accumulate time for all threads in thread manager.
* semaphore.c: Implement fallback implementation for architectures
sometimes missing compare-exchange operations.
* cancel.c (pthread_cancel): Validate handle argument.
* join.c (pthread_join): Likewise.
(pthread_detach): Likewise.
* signals.c (pthread_kill): Likewise.
* spinlock.h (acquire): Use __sched_yield not sched_yield.
* queue.h (enqueue): Enqueue thread according to priority.
* internals.c (struct pthread_start_args): New struct for passing
args to cloning function.
(struct _pthread): Rename to _pthread_descr_struct and adapt for
opaque pthread_t.
* Examples/Makefile (clean): Pass -f option to rm.
* sysdeps/i386/pt-machine.h: Add check for compare-exchange instruction
and define TEST_FOR_COMPARE_AND_SWAP.
* sysdeps/i386/i486/pt-machine.h: Removed.
* sysdeps/unix/sysv/linux/local_lim.h (PTHREAD_THREADS_MAX): Increase
to 1024.
1997-04-04 16:38 Ulrich Drepper <drepper@cygnus.com>
* restart.h (suspend): Clear p_signal before suspending.
(suspend_with_cancellation): Likewise.
Patch by Xavier Leroy <Xavier.Leroy@inria.fr>.
* weaks.c: Make __pthread_key_create return 1.
* sysdeps/pthread/libc-lock.h: Define __libc_key_create,
__libc_getspecific, __libc_setspecific, and __libc_key_t.
* sysdeps/pthread/stdio-lock.h: Don't care for implementation not
using libio.
1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* sysdeps/sparc/pt-machine (RELEASE): Fix.
1997-03-01 07:55 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/Implies: Added.
* sysdeps/powerpc/pt-machine.h: Added.
* sysdeps/powerpc/semaphorebits.h: Added.
1997-01-22 01:22 Ulrich Drepper <drepper@cygnus.com>
* linuxtheads/pthread.c (__pthread_initial_thread): Correct
initializer.
(__pthread_manager_thread): Likewise.
Reported by Andreas Jaeger.
1997-01-18 22:15 Richard Henderson <rth@tamu.edu>
Since sigset_t no longer fits in a register, we can't pass in the
thread's initial mask so easily. Take this opportunity to simplify
the clone implementation by only accepting a single void* argument.
* linuxthreads/manager.c (__pthread_manager): Put thread vitals
in the thread struct instead of as arguments through clone.
(pthread_start_thread): Look for them there.
* linuxthreads/internals.h (struct _pthread): Add p_initial_fn,
p_initial_fn_arg, p_initial_mask. Fix __pthread_manager proto.
* linuxthreads/pthread.c (pthread_initialize_manager): Revise
clone invocation.
Ulrich Drepper [Wed, 11 Mar 1998 11:09:56 +0000 (11:09 +0000)]
Update.
1998-03-11 Ulrich Drepper <drepper@cygnus.com>
* nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
parsing it.
Ulrich Drepper [Wed, 11 Mar 1998 09:54:55 +0000 (09:54 +0000)]
Update.
1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
_dl_debug_message.
1998-03-12 Matthias Urlichs <smurf@noris.de>
* elf/dl-misc.c: Default for debug output should be stderr.
* elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
* elf/dl-lookup.c: reference_name may be NULL or empty.
1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
1998-03-11 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
* sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ulrich Drepper [Wed, 11 Mar 1998 09:31:14 +0000 (09:31 +0000)]
Info from kernel header.
Andreas Schwab [Wed, 11 Mar 1998 01:32:12 +0000 (01:32 +0000)]
* sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
init stuff.
Wed Mar 11 10:30:53 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
init stuff.
Ulrich Drepper [Wed, 11 Mar 1998 00:00:40 +0000 (00:00 +0000)]
Regenerated.
Ulrich Drepper [Tue, 10 Mar 1998 20:32:27 +0000 (20:32 +0000)]
Update.
1998-03-10 Ulrich Drepper <drepper@cygnus.com>
* libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
flag.
* misc/syslog.c (vsyslog): Don't try to send if not connected to
syslog daemon.
(closelog_internal): Don't do anything if not connected.
Ulrich Drepper [Tue, 10 Mar 1998 18:04:16 +0000 (18:04 +0000)]
Update.
1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
* libc.map: Add _dl_debug_message.
* elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
before every line.
* elf/fini.c: Correctly use new _dl_debug_message function.
* elf/init.c: Likewise.
* elf/dl-lookup.c: Likewise.
* sysdeps/unix/sysv/linux/libc-start.c: Likewise.
* elf/dl-load.c: Likewise. Add more debugging prints.
* elf/dl-reloc.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/dl-support.c: Add variables for debugging.
* elf/rtld.c: Likewise. Recognize new debug options.
* elf/link.h: Declare new variables.
* elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
* sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp-test.c (command_line_test): New function to allow
testing of specific cases from the command-line.
1998-03-10 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-init.c (_dl_init_next): Print nicer messages.
* elf/dl-fini.c (_dl_fini): Likewise.
* sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
Ulrich Drepper [Tue, 10 Mar 1998 12:44:51 +0000 (12:44 +0000)]
Update.
Ulrich Drepper [Tue, 10 Mar 1998 12:20:58 +0000 (12:20 +0000)]
Update.
1998-03-10 07:54 H.J. Lu <hjl@gnu.org>
* elf/rtld.c (dl_main): Load the preloaded objects dependencies.
* sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
Ulrich Drepper [Tue, 10 Mar 1998 12:04:08 +0000 (12:04 +0000)]
Update.
1998-03-10 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
symbol in debug message.
(_dl_lookup_versioned_symbol_skip): Likewise.
* sysdeps/unix/readdir_r.c: Zero out *result on EOF.
* manual/filesys/texi: Document this.
0600. Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
Ulrich Drepper [Tue, 10 Mar 1998 11:10:51 +0000 (11:10 +0000)]
Update.
1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
* sysdeps/unix/readdir_r.c: zero out *result on EOF.
* sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
* manual/filesys/texi: document this.
Ulrich Drepper [Tue, 10 Mar 1998 10:51:25 +0000 (10:51 +0000)]
Update.
1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
* manual/filesys.texi: Document the change below.
Ulrich Drepper [Tue, 10 Mar 1998 10:45:39 +0000 (10:45 +0000)]
Update.
1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode
0600. Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
Ulrich Drepper [Tue, 10 Mar 1998 00:16:33 +0000 (00:16 +0000)]
Update.
1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
instead scope. If debugging display information about symbol
resolving.
(_dl_lookup_symbol): Call do_lookup with correct parameters.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
* elf/dl-support.c: Define _dl_debug_symbols.
* elf/link.h: Add declaration for _dl_debug_symbols.
* elf/rtld.c: Define _dl_debug_symbols.
(process_dl_debug): Recognize symbols option.
Ulrich Drepper [Mon, 9 Mar 1998 23:40:44 +0000 (23:40 +0000)]
Update.
1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
in correct format.
* sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
with correct parameters.
[!PIC]: Initialize __libc_multiple_libcs.
Ulrich Drepper [Mon, 9 Mar 1998 18:30:58 +0000 (18:30 +0000)]
Update.
1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-support.c (_dl_debug_bindings): Add definition.
* elf/rtld.c (_dl_debug_bindings): Add definition.
(process_dl_debug): Recognize bindings option. Update help message.
* elf/link.h (struct link_map): Add l_versyms member.
(_dl_debug_bindings): Add declaration.
* elf/version.c (_dl_check_map_versions): Initialize l_versyms.
* elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
and l_reloc_result.
* elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
(sym_val): Remove a member, add m as link_map.
(do_lookup): Return result appropriately.
(_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
Call do_lookup correctly.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
Ulrich Drepper [Mon, 9 Mar 1998 09:11:57 +0000 (09:11 +0000)]
Update.
1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/chown.c: Moved to ...
* sysdeps/unix/sysv/linux/i386/chown.c: ...here.
* sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
* libc.map: Add chown to GLIBC_2.1.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
* sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
weak alias.
* sysdeps/alpha/ffs.c: Likewise.
* sysdeps/am29k/ffs.c: Likewise.
* sysdeps/i386/ffs.c: Likewise.
* sysdeps/i960/ffs.c: Likewise.
* sysdeps/m68k/ffs.c: Likewise.
* sysdeps/m88k/ffs.c: Likewise.
* sysdeps/powerpc/ffs.c: Likewise.
* sysdeps/rs6000/ffs.c: Likewise.
* sysdeps/vax/ffs.s: Likewise.
* string/string.h: Declare __ffs.
* libc.map: Export it.
* elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
__builtin_ffs, which is not guaranteed to be namespace clean.
1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/sprof.c: Rewrite symbol handling to use the normal symbol
table, which is much more likely to exist than debugging symbols.
(printsym): Remove const.
(load_shobj): Don't use _dl_pagesize. Fix mapping of section
header table.
* libc.map: Export __profile_frequency, used by elf/sprof, to
avoid infinite recursion during startup.
1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ulrich Drepper [Mon, 9 Mar 1998 08:20:38 +0000 (08:20 +0000)]
Moved to i386.
Andreas Schwab [Mon, 9 Mar 1998 03:20:41 +0000 (03:20 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
Readd lost negate.
* sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
Mon Mar 9 12:16:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
Readd lost negate.
* sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
Ulrich Drepper [Mon, 9 Mar 1998 00:16:45 +0000 (00:16 +0000)]
Update.
1998-03-09 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-support.c: Add definition of _dl_debug_impcalls.
Ulrich Drepper [Mon, 9 Mar 1998 00:01:13 +0000 (00:01 +0000)]
Update.
* elf/dl-support.c (non_dynamic_init): Pass return value of getenv
("LD_LIBRARY_PATH") to _dl_init_paths.
Ulrich Drepper [Sun, 8 Mar 1998 23:58:37 +0000 (23:58 +0000)]
Update.
1998-03-08 Ulrich Drepper <drepper@cygnus.com>
* elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
LD_PRELOAD, and LD_VERBOSE.
(dl_main): Use global variables set by process_envvars instead of
calling getenv.
* elf/dl-load.c (_dl_init_paths): Don't call getenv to get
LD_LIBRARY_PATH value, this comes with the parameter.
Ulrich Drepper [Sun, 8 Mar 1998 22:56:54 +0000 (22:56 +0000)]
Update.
1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
* elf/rtld.c (dl_main): Delay initialization of path structure if
the dynamically linker is invoked implicitly until we read the
dynamic section.
Ulrich Drepper [Sun, 8 Mar 1998 18:18:43 +0000 (18:18 +0000)]
Update.
1998-03-08 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
Ulrich Drepper [Sun, 8 Mar 1998 17:12:51 +0000 (17:12 +0000)]
Update.
1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
Linux 2.0 and 2.1.
* sysdeps/unix/sysv/linux/syscalls.list: Add chown.
Ulrich Drepper [Sun, 8 Mar 1998 15:26:29 +0000 (15:26 +0000)]
Update.
1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig (nisobjdir): Set to path to nis directory.
(rpath-link): Add nisobjdir.
Patch by Sven Verdoolaege <skimo@kotnet.org>.
* elf/Makefile: Pretty print.
* elf/dl-lookup.c: Include unistd.h.
* elf/dl-runtime.c: Likewise.
* localedata/Makefile (test-srcs): Add tst-rpmatch.
(distribute): Add tst-rpmatch.sh.
(tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
New tests for rpmatch function by
Jochen Hein <jochen.hein@delphi.central.de>.
* localedata/tst-rpmatch.c: New file.
* localedata/tst-rpmatch.sh: New file.
* localedata/locales/de_DE: Correct yesexpr and noexpr.
* localedata/locales/de_AT: Likewise.
* posix/getopt.c: Update contact address.
* posix/getopt1.c: Pretty print.
* sysdeps/generic/libc-start.c: Do most of the initialization now
here instead of in start.S.
* sysdeps/unix/sysv/linux/libc-start.c: Likewise.
* sysdeps/i386/elf/start.S: Remove most of the initialization code.
* sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
profil_counter to be public.
1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (parse_arith): Now works for negative numbers too.
(parse_param): Coded parameter length expansion (${#var}).
(parse_param): Handling for "=", "+", "-", and the ":" versions added.
(parse_param): Cleaned up (fixed) error handling.
* posix/wordexp-test.c: IFS now includes non-whitespace character
(comma). Added more tests.
Ulrich Drepper [Sat, 7 Mar 1998 19:52:45 +0000 (19:52 +0000)]
Update.
1998-03-07 Ulrich Drepper <drepper@cygnus.com>
* elf/link.h: Fix typos.
Reported by Andreas Jaeger.
* nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
* nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
* sysdeps/i386/elf/start.S: Don't call main directly, call
* nis/nis_call.c (__do_niscall): Safe and reset errno.
* nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
Ulrich Drepper [Fri, 6 Mar 1998 22:15:32 +0000 (22:15 +0000)]
Update.
1998-03-06 Ulrich Drepper <drepper@cygnus.com>
* argp/argp-help.c: Remove last bits of using gettext instead of
dgettext.
Ulrich Drepper [Fri, 6 Mar 1998 17:21:43 +0000 (17:21 +0000)]
Update.
1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
* libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
__libc_start_main.
* csu/Makefile (routines): Add libc-start.
* elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
* elf/dl-lookup.c: Likewise.
* elf/dl-version.c: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* elf/link.h: Declare _dl_argv, _dl_debug_fd.
Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
_dl_sysdep_message macros which use _dl_sysdep_output.
* elf/dl-fini.c: Write out which destructor is called while debugging.
* elf/dl-init.c: Likewise for constructor.
* elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
* elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
_dl_sysdep_message. Add _dl_sysdep_output.
* elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
this file can be opened.
For LD_DEBUG=libs also set _dl_debug_impcalls.
* sysdeps/generic/dl-cache.c: Include unistd.h.
* sysdeps/generic/libc-start.c: New file.
* sysdeps/i386/elf/start.S: Don't call main directly, call
* sysdeps/unix/sysv/linux/libc-start.c: New file.
__libc_start_main instead.
* elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
Ulrich Drepper [Fri, 6 Mar 1998 13:26:10 +0000 (13:26 +0000)]
Uodate.
1998-03-06 Ulrich Drepper <drepper@cygnus.com>
* nss/nsswitch.c (__nss_nscd_not_available): Removed.
Ulrich Drepper [Fri, 6 Mar 1998 12:45:08 +0000 (12:45 +0000)]
Update.
1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
* argp/argp.h (struct argp): Add new field domain.
* argp/argp-help.c: Change all gettext calls to dgettext and use
domain field from appropriate argp in call.
* argp/argp-parse.c: Likewise.
Ulrich Drepper [Fri, 6 Mar 1998 11:39:36 +0000 (11:39 +0000)]
Update.
1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
* posix/wordexp-test.c: Change testsuite so that it can run even
for ~root != /root.
1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
Don't store into global errno if we already store through
__errno_location.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/alpha/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
PIC).
1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/generic/sysdep.h (L): Remove definition.
* sysdeps/i386/sysdep.h (L): Define it here instead.
1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
running nscd.
* nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
* nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
* nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
Ulrich Drepper [Fri, 6 Mar 1998 09:18:45 +0000 (09:18 +0000)]
Update.
* nis/nis_call.c (do_ypcall, yp_all): Safe and reset errno.
Ulrich Drepper [Fri, 6 Mar 1998 08:52:47 +0000 (08:52 +0000)]
Update.
1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nis/nis_call.c (__do_niscall): Safe and reset errno.
* nis/ypclnt.c (__yp_bind): Safe and reset errno.
Ulrich Drepper [Fri, 6 Mar 1998 08:41:12 +0000 (08:41 +0000)]
Update.
1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/generic/getresuid.c (__getresuid): Use ISO C
declaration style to avoid warnings.
Ulrich Drepper [Fri, 6 Mar 1998 08:31:59 +0000 (08:31 +0000)]
Update.
1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
* elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
"LD_DEBUG".
Ulrich Drepper [Fri, 6 Mar 1998 08:30:22 +0000 (08:30 +0000)]
Update.
1998-03-05 Ulrich Drepper <drepper@cygnus.com>
* posix/Makefile (tests): Add wordexp-test.
* posix/wordexp-test.c: New file. Testsuite for wrodexp.
Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
* elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
dependencies.
* elf/link.h (struct r_search_path_elem): Add two new field for
lib path debugging.
* elf/rtld.c: Recognize LD_DEBUG environment variable and set
variable accordingly.
* elf/dl-load.c: If _dl_debug_libs is nonzero print what library
is considered next along with information about load paths.
* sysdeps/generic/dl-cache.c: Likewise.
* elf/dl-support.c: Define _dl_debug_libs.
* elf/genrtldtbl.awk: Add initializers for two new field in
struct r_search_path_elem.
1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Andreas Schwab [Fri, 6 Mar 1998 01:48:50 +0000 (01:48 +0000)]
* 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.
Fri Mar 6 10:40:30 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* 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.
Ulrich Drepper [Thu, 5 Mar 1998 16:42:56 +0000 (16:42 +0000)]
Testsuite for owrdexp.
Ulrich Drepper [Thu, 5 Mar 1998 14:03:24 +0000 (14:03 +0000)]
Update.
1998-03-05 Ulrich Drepper <drepper@cygnus.com>
* elf/rtld.c: Speed up processing of environment variables. Do
only one run on the environment by avoiding to call getenv.
* sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
function. Used by patch above.
1998-03-05 10:25 Ulrich Drepper <drepper@cygnus.com>
* nss/getXXbyYY_r.c: Don't try to contact nscd every time when it
failed. Only do this every NSS_NSCD_RETRY times.
* nss/nsswitch.c: Define __nss_nscd_not_available, used by above
change.
* nscd/nscd_getgr_r.c (__nscd_getgr_r): Return 2 if contacting the
daemon failed.
* nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
1998-03-05 Ulrich Drepper <drepper@cygnus.com>
* nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
module cannot be found. Reported by Andreas Jaeger.
1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
on platforms which default to unsigned chars.
* nscd/nscd_getpw_r.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
defining it.
1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/Makefile (install-bin): Change = to += for sprof to install
ldd also.
Ulrich Drepper [Wed, 4 Mar 1998 17:14:36 +0000 (17:14 +0000)]
Update.
1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
* libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
* nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
that a failure to connect to nscd doesn't change errno.
1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/maint.texi (Reporting Bugs): Change
bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
* locale/iso-4217.def: Likewise
1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
* manual/texinfo.tex: Updated.
1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
value.
* sysdeps/posix/pathconf.c: Likewise.
* posix/getconf.c: Print `undefined' if pathconf returns -1
without setting errno.
1998-03-04 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
problem.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
Patches by Elliot Lee <sopwith@cuc.edu>.
Ulrich Drepper [Wed, 4 Mar 1998 09:53:17 +0000 (09:53 +0000)]
Update.
1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
* elf/link.h (struct link_map): Add new field l_reloc_result.
* elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
of relocation for the object to be profiled.
* elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
to NULL.
* elf/rtld.c (_dl_start): Add comment that we must not allocate an
array here.
* elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
contains a result from a previous run use this instead of computing
the value again.
* elf/dl-minimal.c (malloc): Remove limit for size of allocation.
1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ulrich Drepper [Wed, 4 Mar 1998 09:45:23 +0000 (09:45 +0000)]
(struct link_map): Add new field l_reloc_result.
Andreas Schwab [Wed, 4 Mar 1998 02:37:43 +0000 (02:37 +0000)]
* sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
offsets into the GOT.
(RTLD_START): Likewise.
Wed Mar 4 11:32:01 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
offsets into the GOT.
(RTLD_START): Likewise.
Ulrich Drepper [Tue, 3 Mar 1998 17:58:38 +0000 (17:58 +0000)]
Update.
1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
* elf/sprof.c: Cleanup a bit.
1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
* sysdeps/generic/sysdep.h (L): New. Define.
* sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
* sysdeps/i386/i586/addmul_1.S: Fix a typo.
* sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
to have only one exit point for functions.
* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
* sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
reset errno so that errno isn't set to ENOSYS in the first call.
* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
Ulrich Drepper [Mon, 2 Mar 1998 18:02:11 +0000 (18:02 +0000)]
Update.
1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
* sysdeps/i386/addmul_1.S: Likewise.
* sysdeps/i386/lshift.S: Likewise.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/rshift.S: Likewise.
* sysdeps/i386/sub_n.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/i586/add_n.S: Likewise.
* sysdeps/i386/i586/addmul_1.S: Likewise.
* sysdeps/i386/i586/lshift.S: Likewise.
* sysdeps/i386/i586/mul_1.S: Likewise.
* sysdeps/i386/i586/rshift.S: Likewise.
* sysdeps/i386/i586/sub_n.S: Likewise.
* sysdeps/i386/i586/submul_1.S: Likewise.
* sysdeps/i386/sysdep.h: Extend last change.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
to have only one exit point for functions.
1998-03-02 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
search.
1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
* Makerules: Generate libc.so with absolute paths for the used
shared objects.
* config.make.in: Add MAKEINFO definition.
1998-03-02 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
(ENTRY): Use STABS_FUN.
(END): Use STABS_FUN_END.
(STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
* elf/Makefile: Add rules to build sprof program.
* elf/sprof.c: New file.
1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* misc/syslog.c (openlog_internal): Insert missing closing brace.
1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* configure.in: Check for working msgfmt version (from GNU gettext
0.10 or later).
1998-03-02 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Avoid //s in sysdirs.
Patch by Roland McGrath.
* stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
* elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
setting _dl_global_scope for RTLD_GLOBAL.
1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/make-syscalls.sh: Fix last change so that all
possible lists of object-suffixes are taken care of.
1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
* timezone/private.h: Update from tzcode1998c.
* timezone/zic.c: Likewise.
* timezone/antarctica: Updated from tzdata1998c.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/southamerica: Likewise.
1998-03-02 Ulrich Drepper <drepper@cygnus.com>
* posix/glob.c (glob_in_dir): Add support for cases insensitive
VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
Ulrich Drepper [Mon, 2 Mar 1998 09:49:48 +0000 (09:49 +0000)]
(glob_in_dir): Add support for cases insensitive VMS.
Richard Henderson [Sun, 1 Mar 1998 11:06:48 +0000 (11:06 +0000)]
1998-03-01 19:05 H.J. Lu (hjl@gnu.org) * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf. Changed type of TWO43, TWO52 from float to double. * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff. * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf. Changed type of TWO43 from float to double. * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo. Use __isinff.
1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
* sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
Changed type of TWO43, TWO52 from float to double.
* sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
* sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
Changed type of TWO43 from float to double.
* sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
Use __isinff.
Richard Henderson [Sun, 1 Mar 1998 10:53:22 +0000 (10:53 +0000)]
1998-03-01 18:52 H.J. Lu (hjl@gnu.org) * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage, osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
* sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
Richard Henderson [Sun, 1 Mar 1998 01:19:00 +0000 (01:19 +0000)]
* sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include kernel_termios.h. * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix. Clean up random whitespace. * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm. * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss. * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
* sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
kernel_termios.h.
* sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
Clean up random whitespace.
* sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
* sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
Richard Henderson [Sun, 1 Mar 1998 00:56:42 +0000 (00:56 +0000)]
* 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 Richard Henderson <rth@cygnus.com>
* 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.
Ulrich Drepper [Fri, 27 Feb 1998 18:32:03 +0000 (18:32 +0000)]
Update.
* misc/syslog.c: Change to allow user the interpretation of the
outcome even with syslog having no return value.
1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
* elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
that the number of program headers is >0 (which is wrong for the
loader itself).
1998-02-27 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Fri, 27 Feb 1998 16:53:21 +0000 (16:53 +0000)]
Update.
* Makefile (distribute): Add README.libm.
1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* time/clocktest.c (main): Correct typo: "--" -> "==".
1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
* sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
inline function.
(copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
inline functions.
* math/libm.map (__atan2): Added.
1998-02-27 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Fri, 27 Feb 1998 11:52:41 +0000 (11:52 +0000)]
Update.
* misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
Ulrich Drepper [Fri, 27 Feb 1998 11:47:27 +0000 (11:47 +0000)]
Update.
* misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
bug.
1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/arith.texi (Old-style number conversion): Correct
typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
1998-02-27 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Fri, 27 Feb 1998 10:19:10 +0000 (10:19 +0000)]
Update.
1998-02-27 Ulrich Drepper <drepper@cygnus.com>
* posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
but does not require it. Handle missing argv[] values gracefully.
* posix/execl.c: Likewise.
* posix/execle.c: Likewise.
Ulrich Drepper [Fri, 27 Feb 1998 10:00:44 +0000 (10:00 +0000)]
Update.
1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
bit.
* sysdeps/libm-ieee754/s_isinfl.c: Likewise.
Ulrich Drepper [Fri, 27 Feb 1998 08:47:42 +0000 (08:47 +0000)]
Update.
1998-02-27 Ulrich Drepper <drepper@cygnus.com>
* libc.map: Add __adjtimex.
1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
Remove memset.
* libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
Ulrich Drepper [Thu, 26 Feb 1998 17:17:05 +0000 (17:17 +0000)]
Update.
1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
to 64.
* sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
* sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
* sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
* sysdeps/unix/make-syscalls.sh: Make versioned symbols only
for shared library.
* libc.map (adjtime, __adjtimex, adjtimex): Added for GLIBC_2.1.
* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
Added adjtimex and old_adjtimex.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
New.
(osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
symbols only for shared library.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
rusage pointer.
* sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
New macros.
(__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
timex and __adjtimex, respectively.
* sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
* sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
Ulrich Drepper [Thu, 26 Feb 1998 16:30:54 +0000 (16:30 +0000)]
Update.
1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
* math/test-fenv.c (print_rounding): Fix a typo in
FE_TOWARDSZERO.
* sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
* Makefile.in: Disable built-in rules.
1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/fpu/t_exp.c: Move to ...
* sysdeps/libm-i387/t_exp.c: ... here.
1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
* sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
from __exp2_deltatable.
Ulrich Drepper [Thu, 26 Feb 1998 11:20:59 +0000 (11:20 +0000)]
Update.
1998-02-26 Ulrich Drepper <drepper@cygnus.com>
* nis/ypclnt.c (yp_master): Check result of strdup.
Patch by Thorsten Kukuk.
1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/ypclnt.c: Give clnt handle after error checking free, change
return codes to fix problems with rpc.nisd in YP mode on Ultra's.
1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
* misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
Patch by Joe Keane <jgk@jgk.org>.
* misc/fstab.h (struct fstab): Change fs_type member to be const.
* misc/fstab.c: Remove casts in fs_type assignments.
1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
* sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
* sysdeps/powerpc/bits/fenv.h: Likewise.
* sysdeps/m68k/fpu/bits/fenv.h: Likewise.
* sysdeps/generic/bits/fenv.h: Likewise.
* sysdeps/alpha/fpu/bits/fenv.h: Likewise.
* sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/powerpc/test-arith.c (main): Likewise.
1998-02-25 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
the comparison macros.
1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
* sysdeps/libm-ieee754/s_log2.c (ln2): Added.
(__log2): Fixed return values.
* sysdeps/libm-ieee754/s_log2f.c: Likewise.
1998-02-25 Ulrich Drepper <drepper@cygnus.com>
* math/math.h (isunordered): Rename local variables to ensure
correct code. Reported by HJ Lu.
1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
* sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Fix syntax for
fucompip instruction.
(isless, islessequal): Fix logic.
1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (sqrt_test): Add test for sqrt(2).
(comparisons_test): New tests for comparison macros.
Ulrich Drepper [Tue, 24 Feb 1998 15:22:29 +0000 (15:22 +0000)]
Update.
1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig: Filter out frame-pointer effecting options when
compiling profiling or debugging code.
* config.h.in (internal_function): Don't define here if PROF is
defined.
* gmon/gmon.c (__moncontrol): Don't change state if already in error
state.
(__monstartup): If calloc fails set error state and mark array as
not allocated.
(_mcleanup): Don't call write_gmon if in error state. Don't try
to free array if not successfully allocated.
* elf/dl-load.c (STRING): Define to __STRING to enble expansion.
Include elf.h to get macro definitions.
Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
* elf/ldd.sh.in: Add compatibility for broken old shells.
* elf/ldd.bash.in: Likewise.
1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
* sunrpc/rpc_main.c (open_input): Check pipe return error.
* time/clocktest.c (main): Check signal return error.
1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
"/" and use do-install-program. Reported by Mark M. Kettenis.
(subdir_install): Likewise.
1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* sunrpc/rpc_sample.c: Fix typo.
* nscd/connections.c: Use locale.
* nscd/grpcache.c: Add debug messages, gidtbl should get the
calloc result.
* nscd/nscd.c: Check if init functions fails.
* nscd/nscd_conf.c: Allow disabling of group cache.
* nscd/nscd_getgr_r.c: Fix return code if group not found.
* nscd/pwdcache.c: Fix debug messages.
1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libc.map: Add __monstartup and _mcleanup for profiling support.
1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libc.map: Export __getpagesize, for binary compatibility with
2.0.
1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* posix/globtest.sh: Use --library-path instead of
LD_LIBRARY_PATH.
* localedata/sort-test.sh: Likewise.
* localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
kernel_sigaction): Define.
* sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
kernel_sigaction): Define.
1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c: Change epsilons for libm-ieee754.
1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/__longjmp.S: Fix race condition.
Reported by Bruno Haible <haible@ilog.fr>.
Ulrich Drepper [Fri, 20 Feb 1998 18:45:36 +0000 (18:45 +0000)]
Update.
1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
* hesiod/hesiod.c: Pretty print. Don't use __ protected names.
* iconvdata/8bit-gap.c: Likewise.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/iso6937.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t61.c: Likewise.
1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
feature tests by positive feature tests.
1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
1998-02-20 Ulrich Drepper <drepper@cygnus.com>
* elf/dlvsym.c (dlvsym_doit): More corrections.
Patch by Andreas Jaeger.
Ulrich Drepper [Thu, 19 Feb 1998 18:52:30 +0000 (18:52 +0000)]
Update.
1998-02-19 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
* libc.map: More reordering for GLIBC_2.1 symbols.
1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* libc.map: Move some functions from version GLIBC_2.0 to
GLIBC_2.1, reorder declarations.
1998-02-19 Ulrich Drepper <drepper@cygnus.com>
* resolv/gethnamaddr.c (addrsort): Make this function extern.
Patch by zab@thebrain.grumblesmurf.net.
1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/libnsl.map: NIS+ support is new in glibc 2.1, add
NIS+ functions with version GLIBC_2.1.
1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
* libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
with 2.0 binaries. Reported by Thorsten Kukuk.
1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/dlvsym.c (dlvsym_doit): Correct last patch.
* elf/dlsym.c (dlsym_doit): Likewise.
1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* elf/link.h: Correct typos.
* iconv/iconv_prog.c: Correct typo.
* elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
Ulrich Drepper [Wed, 18 Feb 1998 17:59:16 +0000 (17:59 +0000)]
Update.
1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
* iconv/Makefile: Add rules to build and install iconv program.
* iconv/iconv_prog.c: New file.
1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
* elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
_dl_lookup_symbol_skip call.
* elf/dlvsym.c (dlvsym_doit): Likewise.
1998-02-18 Ulrich Drepper <drepper@cygnus.com>
* libio/iovsscanf.c: Do not include errno.h.
Ulrich Drepper [Wed, 18 Feb 1998 11:00:24 +0000 (11:00 +0000)]
Update.
1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-load.c (add_name_to_object): Don't translate strings.
* elf/dl-minimal.c (_strerror_internal): Define it here to avoid
pulling in the whole error list.
(__dcgettext, dcgettext): Removed.
* libc.map: Export _strerror_internal.
1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/fpu/t_exp.c: New file.
1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
everything with version GLIBC_2.1.
* hesiod/libnss_hesiod.map: Likewise.
1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/arith.texi (Old-style number conversion): This node is a
section, not a subsection.
1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/rtld.c (dl_main): Make sure that the library search paths
have been initialized before the first call to _dl_map_object.
1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makerules (common-generated): Add libc_pic.os.
1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
of the executable.
1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ulrich Drepper [Wed, 18 Feb 1998 09:12:35 +0000 (09:12 +0000)]
(common-generated): Add libc_pic.os.
Andreas Schwab [Wed, 18 Feb 1998 01:33:32 +0000 (01:33 +0000)]
Update.
Wed Feb 18 10:28:58 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/t_exp.c: New file.
Andreas Schwab [Wed, 18 Feb 1998 01:32:32 +0000 (01:32 +0000)]
Stub file
Ulrich Drepper [Tue, 17 Feb 1998 18:43:17 +0000 (18:43 +0000)]
Update.
1998-02-17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
to global errno variable anymore.
Ulrich Drepper [Tue, 17 Feb 1998 18:23:42 +0000 (18:23 +0000)]
Update.
1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-load.c (open_path): Take extra argument PRELOADED.
If PRELOADED is nonzero check in case of an SUID application
whether the shared object has the SUID bit set.
Fix some other problems with handling shared objects in system
specific directories.
(_dl_map_object): Also take extra parameter and pass it to open_path.
* elf/link.h (_dl_map_object): Correct prototype and comment.
* elf/rtld.c (dl_main): Call _dl_map_object correctly.
* elf/dl-open.c (_dl_open): Likewise.
* elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
* sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
* math/libm-test.c (modf_test): Add test for 1.5.
Ulrich Drepper [Tue, 17 Feb 1998 16:14:44 +0000 (16:14 +0000)]
Update.
1998-02-17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
0 to get always an int.
Make compatible with older kernels. Patch by Richard Henderson.
Ulrich Drepper [Tue, 17 Feb 1998 15:51:21 +0000 (15:51 +0000)]
Update.
1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm.map: Move all symbols that are new in glibc 2.1 to
version GLIBC_2.1.
1998-02-17 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfscanf.c (inchar): Check c for being EOF before
trying to read another character.
1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
name to lowercase.
* nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
name to lowercase, add test for big enough buffer.
1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
Make compatible with older kernels. Patch by Richard Henderson.
Ulrich Drepper [Tue, 17 Feb 1998 15:15:51 +0000 (15:15 +0000)]
Update.
1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-load.c (open_path): Use __xstat instead of stat.
* localedata/tst-locale.sh: Comment out first test for now.
1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
* sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
as 1.
* sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
Likewise.
* libio/iogetline.c (_IO_getline_info): Renamed from
_IO_getline.
(_IO_getline): Just call _IO_getline_info.
* libio/libioP.h (_IO_getline_info): New declaration.
* libc.map (_IO_getline_info, __write): Added.
1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
const char* to shut up gcc.
1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
* eld/dl-open.c (_dl_open): Assign correct value to new->l_global.
Patch forwarded by Cristian Gafton <gafton@redhat.com>.
* math/math.h: Define M_* constants always as `double' and add new
macros M_*l which are of type `long double'.
* sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
* sysdeps/libm-ieee754/s_cacosl.c: Likewise.
* sysdeps/libm-ieee754/s_casinhl.c: Likewise.
* sysdeps/libm-ieee754/s_catanhl.c: Likewise.
* sysdeps/libm-ieee754/s_catanl.c: Likewise.
* sysdeps/libm-ieee754/s_clog10l.c: Likewise.
* sysdeps/libm-ieee754/s_clogl.c: Likewise.
* math/libm-tst.c: Likewise.
* sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
define as long double unconditionally.
1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/arith.texi (Old-style number conversion): Correct some
typos.
1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
* time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
Restore.
* timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
Ulrich Drepper [Mon, 16 Feb 1998 18:20:31 +0000 (18:20 +0000)]
Update.
* elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
on $(rtld-ldscript).
Ulrich Drepper [Mon, 16 Feb 1998 18:16:04 +0000 (18:16 +0000)]
Update.
1998-02-16 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
starting from 0 not only from `from'.
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Ulrich Drepper [Mon, 16 Feb 1998 17:42:46 +0000 (17:42 +0000)]
Update.
1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
* elf/rtld.c (dl_main): Recognize --library-path parameter and
pass value (or NULL) to _dl_init_paths.
* elf/dl-load.c (_dl_init_paths): Change to take one parameter,
replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
environment variable.
* elf/link.h: Change prototype for _dl_init_paths.
* elf/dl-support.c: Pass NULL in _dl_init_paths call.
* localedata/Makefile (distribute): Add test files.
1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
test1.def, test2.def, test3.def, test4.def}: Simple input files
for localedef. Contributed by Yung-Ching Hsiao
<yhsiao@cae.wisc.edu>.
* localedata/Makefile (tests): Call tst-locale.sh.
* localedata/tst-locale.sh: New file, regression tests for some
localedef problems.
1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
* nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
terminated.
* nis/nss_nisplus/nisplus-network.c: Likewise.
* nis/nss_nisplus/nisplus-proto.c: Likewise.
* nis/nss_nisplus/nisplus-rpc.c: Likewise.
* nis/nss_nisplus/nisplus-service.c: Likewise.
Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
and support generating thread safe RPC code.
* sunrpc/rpc_main.c: Add changes.
* sunrpc/rpc_clntout.c: Likewise.
* sunrpc/rpc_cout.c: Likewise.
* sunrpc/rpc_hout.c: Likewise.
* sunrpc/rpc_parse.c: Likewise.
* sunrpc/rpc_sample.c: Likewise.
* sunrpc/rpc_scan.c: Likewise.
* sunrpc/rpc_svcout.c: Likewise.
* sunrpc/rpc_util.c: Likewise.
* sunrpc/rpc_util.h: Add new structs and prototypes.
* sunrpc/proto.h: Remove prototypes for static functions.
1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* locale/programs/ld-messages.c (messages_finish): Don't skip
error checking when being quiet.
* locale/programs/ld-ctype.c (ctype_finish): Likewise.
(set_class_defaults): Likewise.
* locale/programs/charmap.c (parse_charmap): Likewise.
* locale/programs/ld-collate.c (collate_finish): Likewise.
* locale/programs/ld-monetary.c (monetary_finish): Likewise.
* locale/programs/ld-time.c (time_finish): Likewise.
* locale/programs/locfile.c (write_locale_data): Likewise.
* locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
unknown characters and empty ranges.
* locale/programs/ld-collate.c (collate_order_elem): When
processing an ellipsis properly form a linked list in the result
table, fix typo when allocating ordering array.
[PR libc/419]
1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/Makefile (ld-map): Define.
(rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
`$(rtld-ldscript)'.
($(objpfx)ld.so): Combine the two versions of this rule. Depend
on $(ld-map).
(rtld-link): Combine the two versions of this definition. Fixed
to make it work when no symbol versioning is used.
1998-02-16 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig (build-program-cmd): Use --library-path parameter to
ld.so instead of environment variable.
* sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
* sunrpc/rpc_main.c: Remove support for -$$ option again.
1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* Make-dist: Respect with-cvs setting.
* MakeTAGS (all-pot): Likewise.
* sysdeps/sparc/sparc32/Makefile: Likewise.
* sysdeps/mach/hurd/Makefile: Likewise.
* stdlib/Makefile: Likewise.
* posix/Makefile: Likewise.
* intl/Makefile: Likewise.
* po/Makefile (linguas): Likewise
Ulrich Drepper [Sun, 15 Feb 1998 23:23:43 +0000 (23:23 +0000)]
Update.
1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/ypclnt.c (yp_all): Remove error message, user should print it.
Ulrich Drepper [Sun, 15 Feb 1998 20:23:42 +0000 (20:23 +0000)]
Update.
* libc.map: Add __strcasecmp.
Ulrich Drepper [Sun, 15 Feb 1998 19:31:34 +0000 (19:31 +0000)]
Update.
1998-02-15 Ulrich Drepper <drepper@cygnus.com>
* nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
module.
* nss/getXXent_r.c: If no more module is found don't try to call
setXXent functions but leave unsuccessfully.
* malloc/obstack.h: Cleanups.
* sysdeps/wordsize-32/stdint.h: New file.
* sysdeps/wordsize-64/stdint.h: New file.
* sysdeps/generic/stdint.h: New file.
* sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
* sysdeps/wordsize-64/inttypes.h: Likewise.
* stdlib/Makefile (headers): Add stdint.h.
1998-02-03 Paul Eggert <eggert@twinsun.com>
* malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
* timezone: New directory.
* time/README, time/africa, time/antarctica, time/asia,
time/australasia, time/backward, time/checktab.awk,
time/etcetera, time/europe, time/factory, time/ialloc.c,
time/iso3166.tab, time/leapseconds, time/northamerica,
time/pacificnew, time/private.h, time/scheck.c,
time/solar87, time/solar88, time/solar89, time/southamerica,
time/systemv, time/test-tz.c, time/tzfile.h,
time/tzselect.ksh, time/yearistype, time/zdump.c,
time/zic.c, time/zone.tab: Moved to timezone.
* time/tzfile.c: Include tzfile.h from timezone subdir.
* time/tzset.c: Likewise.
* time/Makefile: Cut out all code relating to timezones...
* timezone/Makefile: ...and paste it in here.
* Makefile (subdirs): Add timezone.
1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
* libc.map (_sys_nerr): Added.
* sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
versioned symbol.
1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
Reported by Craig Metz <cmetz@inner.net>.
1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
instead of strcasecmp.
* nss/nss_files/files-alias.c (get_next_alias): Likewise.
* wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
* socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
Patch by Dean Gaudet <dgaudet@arctic.org>.
1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
with no poll syscall, just include the BSD version.
* sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
kernel without the syscall, include the stub version.
* sysdeps/unix/sysv/linux/getresgid.c: Likewise.
* sysdeps/generic/getresuid.c: New file.
* sysdeps/generic/getresgid.c: New file.
1998-02-15 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfscanf.c: Correct last change a bit.
Ulrich Drepper [Fri, 13 Feb 1998 17:54:15 +0000 (17:54 +0000)]
Update.
1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
* elf/Makefile: Don't use --version-script parameter to link ld.so
unconditionally.
1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
* math/Makefile: Add t_exp.
* math/libm-test.c: Tighten accuracy bounds for exp(), correct
constants.
* math/test-reduce.c: Remove temporarily, it seems to be broken.
* sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
* sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
better accuracy.
* sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
algorithm for very large/very small arguments.
* sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
correct algorithm for very large/very small arguments; adjust for
new table.
* sysdeps/libm-ieee754/t_exp.c: New file.
* sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
back, with comment that explains what breaks when you remove it :-(.
* localedata/xfrm-test.c: Avoid integer overflow.
* stdlib/strfmon.c: char is unsigned, sometimes.
*sysdeps/powerpc
* sysdeps/powerpc/Makefile: Remove quad float support.
* sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
* sysdeps/powerpc/quad_float.h: Likewise.
* sysdeps/powerpc/test-arith.c: Likewise.
* sysdeps/powerpc/test-arithf.c: Likewise.
* sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
* sysdeps/generic/s_exp2f.c: Likewise.
* sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
don't try anything if _SOFT_FLOAT.
1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
* locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
* wctype/wctype.c: Likewise.
* wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
changed. They are incompatible with the _ISxxx values from
<ctype.h> on little endian machines.
(_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
bit number. This fixes the real bug and restores the integrity of
the ctype locale file.
* wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
* wctype/wcfuncs_l.c: Likewise.
* wctype/wcextra.c: Likewise.
* wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
byte swapping.
1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
into .bss segment instead of .common, so that aliases on it work.
* sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
.size directives, put into .bss segment instead of initializing it
to 4.
1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
* libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
* version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
functions.
Make names without __ weak aliases.
(__libc_release, __libc_version): Make them static.
* include/gnu/libc-version.h: New file.
* Makefile (headers): Add gnu/libc-version.h.
1998-02-13 Ulrich Drepper <drepper@cygnus.com>
* stdlib/stdlib.h (struct drand48_data): Leave X to user macros
and use x for member name.
Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
* stdlib/drand48.c: Change according to member name change.
* stdlib/drand48_r.c: Likewise.
* stdlib/lcong48_r.c: Likewise.
* stdlib/lrand48.c: Likewise.
* stdlib/lrand48_r.c: Likewise.
* stdlib/mrand48.c: Likewise.
* stdlib/mrand48_r.c: Likewise.
* stdlib/seed48.c: Likewise.
* stdlib/seed48_r.c: Likewise.
* stdlib/srand48_r.c: Likewise.
1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nss/test-netdb.c: Add some more test cases.
1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
* libio/iovsscanf.c: Undo last change modifying errno.
1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* stdio-common/vfscanf.c: Never try to read another character
after EOF. Don't decrement read_in after EOF, it wasn't
incremented in the first place.
(NEXT_WIDE_CHAR): Set First, not first.
1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
* db/Makefile ($(inst_libdir)/libndbm.a,
$(inst_libdir)/libndbm.so): New targets.
* db2/Makefile: Likewise.
1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
* sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
<streambuf.h>.
* sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
versioned symbols.
1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
* libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
_dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
Added for libdl.so.
* elf/rtld.map: New file. Needed to define the GLIBC_2.*
* manual/socket.texi (Host Address Functions): Clarify description
* sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
Ulrich Drepper [Thu, 12 Feb 1998 18:22:41 +0000 (18:22 +0000)]
Update.
1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
extra syscall.
* grp/Makefile: Fix logic when checking for thread package.
* pwd/Makefile: Likewise.
1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
* elf/Makefile (rtld-map): Replaced by libc-map.
* elf/rtld.map: Removed.
* libc.map (__libc_enable_secure, _dl_catch_error,
_dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
_dl_default_scope, _dl_global_scope_end, _dl_init_next,
_dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
_dl_object_relocation_scope, _dl_relocate_object,
_dl_signal_error, _dl_starting_up, _dl_sysdep_start,
_r_debug): Added for ld.so.
1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
* libio/iofclose.c: Check PIC && DO_VERSIONING instead of
DO_VERSIONING.
* libio/iofdopen.c: Ditto.
* libio/iofopen.c: Ditto.
* libio/oldfileops.c: Ditto.
* libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
version GLIBC_2.1.
* sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
oldsiglist from sysdep_routines and shared-only-routines.
* sysdeps/unix/sysv/linux/errlist.c: New.
* sysdeps/unix/sysv/linux/errlist.h: New.
* sysdeps/unix/sysv/linux/sizes.h: New.
* sysdeps/unix/sysv/linux/alpha/sizes.h: New.
* sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
* sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
* sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
(__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
directive.
* sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
* sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
(oldsiglist.c): Removed.
* sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
(_sys_siglist): Use SYS_SIGLIST instead.
(_sys_nerr): Use SYS_NERR instead.
* sysdeps/gnu/errlist.c: Rebuilt.
1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
* elf/Makefile (others-static): New, set to ldconfig.
($(objpfx)ldconfig): Removed.
* Rules (binaries-all, binaries-static, binaries-shared): New.
Create targets for $(binaries-static) and $(binaries-shared).
* Makeconfig (+link-static, link-libc-static,
link-extra-libs-static): New for static linking.
Ulrich Drepper [Wed, 11 Feb 1998 14:49:20 +0000 (14:49 +0000)]
Update.
1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/memory.texi (Using the Memory Debugger): Fix typo.
* math/libm-test.c (modf_test): Add one more test for modf.
Ulrich Drepper [Wed, 11 Feb 1998 14:40:03 +0000 (14:40 +0000)]
Update.
1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
Rename from __libc_have_rt_sigs and leave as COMMON data.
Ulrich Drepper [Wed, 11 Feb 1998 13:11:40 +0000 (13:11 +0000)]
Update.
1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
* sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
of __finite.
Ulrich Drepper [Wed, 11 Feb 1998 11:59:55 +0000 (11:59 +0000)]
Update.
1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
* stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
* isomac.c: Move to...
* stdlib/isomac.c: ...here.
* Makefile: Move rules for handling isomac...
* stdlib/Makefile: ...to here.
Ulrich Drepper [Wed, 11 Feb 1998 08:57:21 +0000 (08:57 +0000)]
Update.
1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
* misc/tst-efgcvt.c: Add yet more tests.
* misc/efgcvt_r.c: And correct for these tests again.
Reported by HJ Lu.
Ulrich Drepper [Tue, 10 Feb 1998 20:06:30 +0000 (20:06 +0000)]
Update.
1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
* misc/tst-efgcvt.c: Add more tests.
* misc/efgcvt_r.c: Correct result for above new tests.
1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
* misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
NDIGIT <= 0.
1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
* Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
if the programs weren't built.
1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
* sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
FE_TONEAREST, soldier on regardless and do the best we can.
* sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
* sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
_STDIO_H, before including <bits/stdio_lim.h>.
* sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
* io/fts.c (fts_build): Don't try to use d_type if it doesn't
exist.
* sysdeps/arm/sys/ucontext.h: New file.
1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
* manual/stdio.texi (Formatted Output Functions): Explicitly say
that the return value from snprintf() does not count the
terminating NUL as a character.
1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
* manual/users.texi: Rewrite to describe correct POSIX behaviour,
add description for sete[ug]id and general cleanup.
Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (parent-clean): Don't remove makefile fragments here.
(postclean): New variable.
(clean): Remove makefile fragments here.
(realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
(generated): Add isomac and isomanc.out.
* Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
avoid-generated is set.
(postclean-generated): Add soversion.mk.
($(common-objpfx)version.mk): Don't include if avoid-generated is
set.
* Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
avoid-generated is set.
(common-generated): Add libc.so and libc.so$(libc.so-version).
(generated): Add versioned libraries.
(common-mostlyclean): Also remove %.so and %_pic.a.
* csu/Makefile (generated): Add abi-tag.h.
* db2/Makefile (extra-objs): Add getlong.o.
* elf/Makefile (generated): Add ld.so, ldd and
$(rtld-installed-name).
(others): Add ldconfig here instead of ldconfig.o to extra-objs.
* malloc/Makefile (generated): Add mtrace.
* po/Makefile: Don't include version.mk, not needed any more.
* sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
* sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
syscall.h -> sys/syscall.h.
(common-generated): Add s-proto.d.
(postclean-generated): Add sysd-syscalls.
* localedata/Makefile (test-output): Add all output files.
(generated): Add test-input and test-output.
(generated-dirs): Add all the dirs.
1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (test-output, generated, generated-dirs): New
variables.
1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
* resolv/nss_dns/dns-host.c: Various code cleanups.
1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
* resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
From Philip Blundell <pb@nexus.co.uk>.
* resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
Suggested by debian/sparc porters.
1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
for ecvt and fcvt.
1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
__fxstat instead of stat and fstat. Use namespace clean __stpcpy.
* signal/signal.h: Always define sigset_t if __need_sigset_t is
defined even if __USE_POSIX is not defined.
1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
to support obsolete tty major numbers correctly.
1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
* login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
directory first and ignore install error.
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
128 from ptyno and fix a typo for the BSD style pty.
1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
syscalls.list's.
1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
getresuid and getresgid.
* sysdeps/unix/sysv/linux/getresuid.c: New file.
* sysdeps/unix/sysv/linux/getresgid.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
s_getres[ug]id.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
* nscd/grpcache.c: Include <stdlib.h>.
1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
* stdlib/atoll.c: Fix comments.
* sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
* sysdeps/posix/ttyname_r.c: Ditto.
1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
__USE_MISC, independent of __USE_UNIX98.
1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
Rename from __libc_have_rt_sigs and leave as COMMON data.
1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
* Makeconfig (CFLAGS-.os): Kill -fno-common.
* Makerules (libc.so): Prelink libc_pic.a, allocating commons.
* libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
* elf/rtld.map: New file. Needed to define the GLIBC_2.*
version symbols.
* include/libc-symbols.h (symbol_version, default_symbol_version):
Provide asm versions and correct !DO_VERSIONING versions.
* sysdeps/unix/make-syscalls.sh: Recognize version symbols in
the weak symbol list.
* sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
Rename from __libc_have_rt_sigs and leave as COMMON data.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sunrpc/Makefile: Correct dependencies of rpcgen.
1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
* nscd/Makefile: Fix test for available linuxthreads add-on.
Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/gnu/Makefile: Respect with-cvs variable.
* manual/errno.texi (Error Messages): Correct description of
strerror_r. Pointed out by jonas@bagge.se.
1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/socket.texi (Host Address Functions): Clarify description
of inet_network.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/grantpt.c (argv): Move const to toplevel.
(grantpt): Delete superfluous cast.
1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
elf/ldso_install instead of elf/subdir_install.
(elf/ldso_install): New target.
* elf/Makefile (ldso_install): New target.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
of 1998-01-06.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
constant expressions.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
for __nss_configure_lookup.
(output_hostent): Remove unused variable.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/tst-inlcall.c: Fix format string.
1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* inet/netinet/in.h: Rename second parameter of bindresvport to
avoid buggy gcc warning. [PR libc/412]