Ulrich Drepper [Fri, 17 Dec 2004 05:20:58 +0000 (05:20 +0000)]
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/bits/local_lim.h: New file.
Increased PTHREAD_STACK_MIN.
Ulrich Drepper [Fri, 17 Dec 2004 05:16:26 +0000 (05:16 +0000)]
Update.
2004-12-16 Ulrich Drepper <drepper@redhat.com>
* tst-context1.c (stacks): Use bigger stack size.
Ulrich Drepper [Fri, 17 Dec 2004 04:12:36 +0000 (04:12 +0000)]
Update.
2004-12-16 Ulrich Drepper <drepper@redhat.com>
* stdlib/tst-setcontext.c: Enlarge st1 and st2 arrays.
Ulrich Drepper [Fri, 17 Dec 2004 04:05:22 +0000 (04:05 +0000)]
Enlarge st1 and st2 arrays.
Roland McGrath [Fri, 17 Dec 2004 03:34:09 +0000 (03:34 +0000)]
[BZ #610]
2004-09-02 Steven Munroe <sjmunroe@us.ibm.com>
[BZ #610]
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
(__novec_getcontext): Fix typo in store of fp29.
(__getcontext): Fix typo in store of fp29.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
(__novec_swapcontext): Fix typo in store of fp29.
(__swapcontext): Fix typo in store of fp29.
Roland McGrath [Fri, 17 Dec 2004 03:31:59 +0000 (03:31 +0000)]
* sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Fix
vague message.
Roland McGrath [Thu, 16 Dec 2004 22:21:56 +0000 (22:21 +0000)]
* nscd/Makefile ($(objpfx)nscd): Don't depend on $(selinux-LIBS),
which is usually a -lselinux that make will resolve wrongly.
Roland McGrath [Thu, 16 Dec 2004 22:21:24 +0000 (22:21 +0000)]
2004-12-16 Roland McGrath <roland@redhat.com>
* nscd/Makefile ($(objpfx)nscd): Don't depend on $(selinux-LIBS),
which is usually a -lselinux that make will resolve wrongly.
Andreas Jaeger [Thu, 16 Dec 2004 18:35:59 +0000 (18:35 +0000)]
* math/math.h: Use #if defined to not receive warnings about
undefined symbols.
Andreas Jaeger [Thu, 16 Dec 2004 18:35:41 +0000 (18:35 +0000)]
Use #if defined to not receive warnings about undefined symbols.
Ulrich Drepper [Thu, 16 Dec 2004 16:49:39 +0000 (16:49 +0000)]
Update.
2004-12-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Add support
for NPTL where the PID is stored at userlevel and needs to be reset
when CLONE_THREAD is not used.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(SYSCALL_ERROR_HANDLER): If RTLD_PRIVATE_ERRNO, use rtld_errno
instead of errno.
* sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Include
sysdep-cancel.h instead of sysdep.h. Handle cancellation.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerate.
* sysdeps/ieee754/ldbl-128/e_expl.c: Include stdlib.h.
Ulrich Drepper [Thu, 16 Dec 2004 04:14:07 +0000 (04:14 +0000)]
Update.
2004-12-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/gethostid.c: Make bi-arch safe.
Ulrich Drepper [Wed, 15 Dec 2004 20:50:54 +0000 (20:50 +0000)]
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Correct stack
alignment. Clean up flag bit tests.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Correct stack
alignment. Clean up flag bit tests. Remove redundent SP assignment.
Add TOC register save/restore around function call.
Ulrich Drepper [Wed, 15 Dec 2004 20:37:06 +0000 (20:37 +0000)]
Correct stack alignment. Clean up flag bit tests. Remove redundent SP assignment. Add TOC register save/restore around function call.
Roland McGrath [Wed, 15 Dec 2004 20:36:10 +0000 (20:36 +0000)]
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Make no_vmx symbol
local.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Make no_vmx symbol
local.
* sysdeps/powerpc/powerpc64/__longjmp-common.S: Make no_vmx symbol
local.
* sysdeps/powerpc/powerpc64/setjmp-common.S: Make no_vmx and
aligned_save_vmx symbol local.
Roland McGrath [Wed, 15 Dec 2004 20:36:01 +0000 (20:36 +0000)]
2004-12-15 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Make no_vmx symbol
local.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Make no_vmx symbol
local.
* sysdeps/powerpc/powerpc64/__longjmp-common.S: Make no_vmx symbol
local.
* sysdeps/powerpc/powerpc64/setjmp-common.S: Make no_vmx and
aligned_save_vmx symbol local.
Ulrich Drepper [Wed, 15 Dec 2004 20:30:16 +0000 (20:30 +0000)]
(__strncat_g): Improve last patch.
Ulrich Drepper [Wed, 15 Dec 2004 19:35:58 +0000 (19:35 +0000)]
Update.
2004-12-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/i486/bits/string.h (__strncat_g): Fix i686
implementation.
Ulrich Drepper [Wed, 15 Dec 2004 18:55:29 +0000 (18:55 +0000)]
2004-06-05 Joseph S. Myers <jsm@polyomino.org.uk>
2004-12-15 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Wed, 15 Dec 2004 18:54:41 +0000 (18:54 +0000)]
Update.
2004-09-08 H.J. Lu <hongjiu.lu@intel.com>
* Makeconfig (libunwind): New.
(libgcc_eh): Add $(libunwind).
(gnulib): Always set to -lgcc $(libgcc_eh).
(static-gnulib): Always set to -lgcc -lgcc_eh $(libunwind).
(libc.so-gnulib): New.
* Makerules (LDLIBS-c.so): Use $(libc.so-gnulib) instead of
$(static-gnulib).
* configure.in (libc_cv_cc_with_libunwind): Set to yes if gcc
uses -lunwind for static binaries.
Ulrich Drepper [Wed, 15 Dec 2004 18:44:54 +0000 (18:44 +0000)]
Update.
22004-06-05 Joseph S. Myers <jsm@polyomino.org.uk>
* malloc/Makefile (install-bin): Remove memusage.
(install-bin-script): Add memusage.
004-12-15 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Wed, 15 Dec 2004 17:45:55 +0000 (17:45 +0000)]
Update.
2004-12-15 Jakub Jelinek <jakub@redhat.com>
* nis/nis_domain_of_r.c (nis_domain_of_r): Use libnsl_hidden_def,
not libnsl_hidden_proto.
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add support
for NPTL where the PID is stored at userlevel and needs to be reset
when CLONE_THREAD is not used.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Save
and restore r2 around call to fn.
Ulrich Drepper [Wed, 15 Dec 2004 09:14:28 +0000 (09:14 +0000)]
.I think this code is more correct.
Andreas Jaeger [Wed, 15 Dec 2004 08:54:24 +0000 (08:54 +0000)]
Update
2004-12-15 Andreas Jaeger <aj@suse.de>
* sysdeps/ia64/dl-machine.h (elf_machine_rela): Mark auto instead
of static, add always_inline attribute.
(elf_machine_rela_relative): Likewise.
(elf_machine_lazy_rel): Likewise.
Andreas Jaeger [Wed, 15 Dec 2004 08:54:00 +0000 (08:54 +0000)]
(elf_machine_rela): Mark auto instead of static, add always_inline attribute. (elf_machine_rela_relative): Likewise. (elf_machine_lazy_rel): Likewise.
Ulrich Drepper [Wed, 15 Dec 2004 08:11:12 +0000 (08:11 +0000)]
Update.
2004-12-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Add support
for pid caching in nptl.
Ulrich Drepper [Wed, 15 Dec 2004 07:04:50 +0000 (07:04 +0000)]
Update.
2004-12-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add support
for pid caching in nptl.
Ulrich Drepper [Wed, 15 Dec 2004 06:06:02 +0000 (06:06 +0000)]
If child crashes, report this first. Print which signal.
Roland McGrath [Wed, 15 Dec 2004 01:01:02 +0000 (01:01 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Use
__NTH instead of __THROW in the inline definition.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
* sysdeps/mips/bits/dlfcn.h (RTLD_DEEPBIND): New macro.
* sysdeps/unix/sysv/linux/mips/bits/mman.h
(PROT_GROWSDOWN, PROT_GROWSUP): New macros.
Roland McGrath [Wed, 15 Dec 2004 01:00:48 +0000 (01:00 +0000)]
2004-10-18 Maciej W. Rozycki <macro@mips.com>
* sysdeps/unix/sysv/linux/mips/bits/mman.h
(PROT_GROWSDOWN, PROT_GROWSUP): New macros.
Ulrich Drepper [Tue, 14 Dec 2004 21:25:41 +0000 (21:25 +0000)]
Update.
2004-10-06 Alan Modra <amodra@bigpond.net.au>
* sysdeps/powerpc/powerpc64/ppc-mcount.S (PROF): Don't undef.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Invoke CALL_MOUNT.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
Ulrich Drepper [Tue, 14 Dec 2004 21:18:36 +0000 (21:18 +0000)]
[BZ #457]
Update.
2004-10-19 Wolfram Gloger <wg@malloc.de>
* malloc/hooks.c (mem2chunk_check, top_check): Handle
non-contiguous arena. Reported by Michael Dalton
<mwdalton@stanford.edu> [BZ #457]. Add further checks for top chunk.
Ulrich Drepper [Tue, 14 Dec 2004 15:39:54 +0000 (15:39 +0000)]
Update.
2004-12-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading
underscore from GETCONF_DIR filenames.
Ulrich Drepper [Tue, 14 Dec 2004 02:41:43 +0000 (02:41 +0000)]
Update.
* po/de.po: Update from translation team.
Ulrich Drepper [Mon, 13 Dec 2004 21:50:20 +0000 (21:50 +0000)]
Update.
2004-12-13 Ulrich Drepper <drepper@redhat.com>
* nss/getnssent.c (__nss_getent): Double buffer size each round to
avoid problems with delays for some people's huge entries.
* nss/getXXbyYY.c (FUNCTION_NAME): Likewise.
Ulrich Drepper [Mon, 13 Dec 2004 21:29:18 +0000 (21:29 +0000)]
Update.
2004-12-13 Jakub Jelinek <jakub@redhat.com>
* posix/getconf.c (main): Prepend just $GETCONF_DIR/ instead of
$GETCONF_DIR/_ to spec.
* posix/confstr.c (confstr): Remove leading underscores for
_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS.
Ulrich Drepper [Sun, 12 Dec 2004 21:06:37 +0000 (21:06 +0000)]
Update.
2004-12-12 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (_dl_map_object_from_fd): Fix computation of
mapping start. It must take the actual pagesize into account, not
the alignment in the file.
Ulrich Drepper [Sat, 11 Dec 2004 21:15:24 +0000 (21:15 +0000)]
Update.
2004-12-11 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c (_int_realloc): Add checks for corrupted memory.
(_int_free): Make clear message are result of free() calls.
* malloc/malloc.c (_int_realloc): Remove unnecessary tests for
oldmem and size == 0.
Ulrich Drepper [Fri, 10 Dec 2004 11:42:45 +0000 (11:42 +0000)]
Update.
2004-12-10 Ulrich Drepper <drepper@redhat.com>
* malloc/arena.c (arena_get2): Prevent endless loop if arenas and
list lock are taken.
Ulrich Drepper [Fri, 10 Dec 2004 10:56:19 +0000 (10:56 +0000)]
Add check if the value is not an empty string. [BZ #597]
Ulrich Drepper [Fri, 10 Dec 2004 10:44:01 +0000 (10:44 +0000)]
[BZ #305]
Update.
2004-12-08 Thorsten Kukuk <kukuk@suse.de>
* nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
Add check if the value is not an empty string. [BZ #305]
Ulrich Drepper [Fri, 10 Dec 2004 04:41:46 +0000 (04:41 +0000)]
Update.
2004-11-29 Jakub Jelinek <jakub@redhat.com>
* stdlib/strtod_l.c (INTERNAL (__STRTOF)): If densize > 2
and numsize < densize, always shift num up by empty + 1 limbs.
Ulrich Drepper [Fri, 10 Dec 2004 04:37:58 +0000 (04:37 +0000)]
Update.
2004-12-07 Paolo Bonzini <bonzini@gnu.org>
* posix/regexec.c (proceed_next_node): Simplify treatment of epsilon
nodes. Pass the pushed node to push_fail_stack.
(push_fail_stack): Accept a single node rather than an array
of two epsilon destinations.
(build_sifted_states): Only walk non-epsilon nodes.
(check_arrival): Don't pass epsilon nodes to
check_arrival_add_next_nodes.
(check_arrival_add_next_nodes) [DEBUG]: Abort if an epsilon node is
found.
(check_node_accept): Do expensive checks later.
(add_epsilon_src_nodes): Cache result of merging the inveclosures.
* posix/regex_internal.h (re_dfastate_t): Add non_eps_nodes and
inveclosure.
(re_string_elem_size_at, re_string_char_size_at, re_string_wchar_at,
re_string_context_at, re_string_peek_byte_case,
re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains):
Declare as pure.
* posix/regex_internal.c (create_newstate_common): Remove.
(register_state): Move part of it here. Initialize non_eps_nodes.
(free_state): Free inveclosure and non_eps_nodes.
(create_cd_newstate, create_ci_newstate): Allocate the new
re_dfastate_t here.
Ulrich Drepper [Fri, 10 Dec 2004 01:36:18 +0000 (01:36 +0000)]
Update.
2004-12-09 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c (public_rEALLOc): Add parameter checks.
(_int_free): Provide better error message for invalid pointers.
Ulrich Drepper [Fri, 10 Dec 2004 00:41:30 +0000 (00:41 +0000)]
Update.
2004-12-01 Jakub Jelinek <jakub@redhat.com>
* posix/tst-regex.c: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0
conditionals instead of defined _POSIX_CPUTIME.
(main): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME
option is available.
* posix/tst-regex.c2: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0
conditionals instead of defined _POSIX_CPUTIME.
(do_test): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME
option is available.
* sysdeps/posix/sysconf.c (__sysconf): If _POSIX_CPUTIME resp.
_POSIX_THREAD_CPUTIME is defined to 0, return -1 for the corresponding
_SC_ argument.
Ulrich Drepper [Thu, 9 Dec 2004 23:53:39 +0000 (23:53 +0000)]
(__pthread_initialize_minimal_internal): Also unblock SIGSETXID.
Roland McGrath [Wed, 8 Dec 2004 22:08:52 +0000 (22:08 +0000)]
* elf/ldd.bash.in: When set -o pipefail is available, use that for
piping to cat; when not, don't use the pipe at all.
Pipe to cat in all cases of running the executable.
When direct running exits with code 5, retry running via ${RTLD}.
* elf/rtld.c (process_envvars): If __libc_enable_secure and
mode != normal, exit with exitcode 5.
Roland McGrath [Tue, 7 Dec 2004 21:06:29 +0000 (21:06 +0000)]
* sysdeps/posix/sysconf.c (__sysconf_check_spec): Only define
if it will be actually used.
Roland McGrath [Tue, 7 Dec 2004 20:45:18 +0000 (20:45 +0000)]
* rt/tst-timer5.c (setup_test): New function.
(TEST_CLOCK_MISSING): Use it to punt test if timer_create does not
support CLOCK_MONOTONIC.
Roland McGrath [Tue, 7 Dec 2004 20:44:46 +0000 (20:44 +0000)]
2004-12-07 Roland McGrath <roland@redhat.com>
* rt/tst-timer5.c (setup_test): New function.
(TEST_CLOCK_MISSING): Use it to punt test if timer_create does not
support CLOCK_MONOTONIC.
Ulrich Drepper [Tue, 7 Dec 2004 20:34:18 +0000 (20:34 +0000)]
Update.
2004-12-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for
NPTL where the PID is stored at userlevel and needs to be reset when
CLONE_THREAD is not used. Restore gp before calling _exit.
Ulrich Drepper [Tue, 7 Dec 2004 19:40:04 +0000 (19:40 +0000)]
Update.
2004-12-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/clone.S: Clear the frame pointer when
starting a new thread. Add support for NPTL where the PID is stored
at userlevel and needs to be reset when CLONE_THREAD is not used.
Ulrich Drepper [Tue, 7 Dec 2004 06:55:06 +0000 (06:55 +0000)]
Update.
2004-12-01 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (process_envvars): Don't consider LD_SHOW_AUXV
and LD_DYNAMIC_WEAK if __libc_enable_secure.
If __libc_enable_secure, /etc/suid-debug doesn't exist and
program will be actually run, turn off all debugging.
* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add LD_DEBUG,
LD_DYNAMIC_WEAK and LD_SHOW_AUXV.
Ulrich Drepper [Mon, 6 Dec 2004 22:51:31 +0000 (22:51 +0000)]
[BZ #601]
Update.
2004-12-06 Jakub Jelinek <jakub@redhat.com>
* time/tzset.c (tzset_internal): If + or - is seen,
but no offset after it, reset offset to 0. [BZ #601]
* libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOFF not
Ulrich Drepper [Mon, 6 Dec 2004 22:48:11 +0000 (22:48 +0000)]
Update.
* libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOF not
_IO_SEEKPOS, saving one indirect jump.
Ulrich Drepper [Mon, 6 Dec 2004 22:39:13 +0000 (22:39 +0000)]
Update.
2004-12-06 Ulrich Drepper <drepper@redhat.com>
* libio/fileops.c (_IO_new_file_seekoff): Fix optimization of in-buffer
seek. Remove dead code.
2004-12-02 Jakub Jelinek <jakub@redhat.com>
* libio/Makefile (tests): Add bug-ungetc4.
* libio/bug-ungetc4.c: New test.
Ulrich Drepper [Mon, 6 Dec 2004 22:33:26 +0000 (22:33 +0000)]
Test for ungetc bug.
Roland McGrath [Mon, 6 Dec 2004 22:29:01 +0000 (22:29 +0000)]
* sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL
for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP.
Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value.
* rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros.
Use them throughout in place of CLOCK_REALTIME and nanosleep.
(do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns
non-null, punt the test with a message using the string returned.
* rt/tst-timer5.c: New file.
* rt/Makefile (tests): Add it.
Roland McGrath [Mon, 6 Dec 2004 22:28:45 +0000 (22:28 +0000)]
2004-12-06 Roland McGrath <roland@redhat.com>
* rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros.
Use them throughout in place of CLOCK_REALTIME and nanosleep.
(do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns
non-null, punt the test with a message using the string returned.
* rt/tst-timer5.c: New file.
* rt/Makefile (tests): Add it.
Ulrich Drepper [Mon, 6 Dec 2004 03:03:01 +0000 (03:03 +0000)]
Update.
2004-12-01 Paolo Bonzini <bonzini@gnu.org>
* posix/regcomp.c (free_dfa_content, init_dfa): Remove
references to re_dfa_t's subexps field.
(parse_sub_exp, parse_expression): Do not use it. Use
completed_bkref_map instead.
(create_initial_state, peek_token): Store a backreference \N
with opr.idx = N-1.
* posix/regexec.c (proceed_next_node, check_dst_limits, get_subexp):
Likewise.
(check_subexp_limits): Remove useless condition.
* posix/regex_internal.h (re_subexp_t): Remove.
(re_dfa_t): Remove subexps and subexps_alloc field, add
completed_bkref_map.
Ulrich Drepper [Mon, 6 Dec 2004 02:56:42 +0000 (02:56 +0000)]
(free_dfa_content, init_dfa): Remove references to re_dfa_t's subexps field. (parse_sub_exp, parse_expression): Do not use it. Use completed_bkref_map instead. (create_initial_state, peek_token): Store a backreference \N with opr.idx = N-1.
Roland McGrath [Sun, 5 Dec 2004 23:50:14 +0000 (23:50 +0000)]
* Makeconfig: Comment typo fix.
Roland McGrath [Sun, 5 Dec 2004 23:49:59 +0000 (23:49 +0000)]
2004-12-05 Roland McGrath <roland@frob.com>
* Makeconfig: Comment typo fix.
Ulrich Drepper [Sun, 5 Dec 2004 23:04:27 +0000 (23:04 +0000)]
Update.
2004-11-30 Andreas Schwab <schwab@suse.de>
* nis/ypclnt.c (ypprot_err): Remove unused entries.
2004-11-30 Paolo Bonzini <bonzini@gnu.org>
* posix/regexec.c (check_dst_limits_calc_pos_1): Check for
bkref_idx == -1, and don't recurse in that case.
Ulrich Drepper [Sun, 5 Dec 2004 22:54:28 +0000 (22:54 +0000)]
* posix/confstr.c: Enclose #error message with double quote
for gcc-3.3 and lower.
Ulrich Drepper [Sun, 5 Dec 2004 20:18:50 +0000 (20:18 +0000)]
Pretty printing.
* sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
* sysdeps/unix/arm/brk.S: Likewise.
* sysdeps/unix/arm/fork.S: Likewise.
* sysdeps/unix/arm/sysdep.S: Likewise.
* sysdeps/unix/arm/sysdep.h: Likewise.
Roland McGrath [Sun, 5 Dec 2004 09:41:16 +0000 (09:41 +0000)]
bogon
Roland McGrath [Sun, 5 Dec 2004 09:38:27 +0000 (09:38 +0000)]
bogon
Ulrich Drepper [Sun, 5 Dec 2004 07:50:01 +0000 (07:50 +0000)]
Update.
2004-12-04 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/clone.S: Add support for NPTL where
the PID is stored at userlevel and needs to be reset when CLONE_THREAD
is not used.
* sysdeps/unix/sysv/linux/86_64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/arm/clone.S: Update uses of RETINSTR.
* sysdeps/unix/sysv/linux/arm/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
* sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
Ulrich Drepper [Sun, 5 Dec 2004 07:45:18 +0000 (07:45 +0000)]
clone syscall implementation for nptl/i386.
Roland McGrath [Sat, 4 Dec 2004 21:20:42 +0000 (21:20 +0000)]
* sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.
Use it instead of __THUMB_INTERWORK__. Make RETINSTR take
only a condition and a register.
* sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of
__THUMB_INTERWORK__.
(_dl_start_user): Use BX.
* sysdeps/arm/strlen.S: Use DO_RET.
* sysdeps/unix/arm/brk.S, sysdeps/unix/arm/fork.S,
sysdeps/unix/arm/sysdep.S, sysdeps/unix/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/arm/clone.S,
sysdeps/unix/sysv/linux/arm/mmap.S,
sysdeps/unix/sysv/linux/arm/mmap64.S,
sysdeps/unix/sysv/linux/arm/socket.S,
sysdeps/unix/sysv/linux/arm/sysdep.h,
sysdeps/unix/sysv/linux/arm/vfork.S: Update uses of RETINSTR.
Roland McGrath [Thu, 2 Dec 2004 22:55:30 +0000 (22:55 +0000)]
* extra-lib.mk (object-suffixes-$(lib)): Add .oS when
$(lib)-static-only-routines is nonempty.
(extra-objs, o-iterator.mk rule): Filter out .oS from generators.
Add a special rule for .oS objects -> _nonshared.a library.
Roland McGrath [Thu, 2 Dec 2004 22:16:35 +0000 (22:16 +0000)]
* time/mktime.c (__mktime_internal): If SEC_REQUESTED != SEC,
convert T2, not T.
* time/Makefile (tests): Add tst-mktime3.
* time/tst-mktime3.c: New test.
2004-12-01 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Wed, 1 Dec 2004 19:55:58 +0000 (19:55 +0000)]
* posix/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after
normal_bracket label.
* time/tst-mktime2.c (bigtime_test): Initialize tm.tm_isdst to -1.
Roland McGrath [Wed, 1 Dec 2004 19:54:41 +0000 (19:54 +0000)]
* stdlib/stdlib.h (realpath): Remove nonnull attribute.
Roland McGrath [Wed, 1 Dec 2004 19:44:39 +0000 (19:44 +0000)]
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c):
Do $(make-target-directory).
Roland McGrath [Tue, 30 Nov 2004 03:37:32 +0000 (03:37 +0000)]
* posix/confstr.c: Avoid punctuation in #error text.
Roland McGrath [Tue, 30 Nov 2004 03:37:14 +0000 (03:37 +0000)]
2004-11-29 Roland McGrath <roland@redhat.com>
* posix/confstr.c: Avoid punctuation in #error text.
Ulrich Drepper [Sat, 27 Nov 2004 22:47:48 +0000 (22:47 +0000)]
Update.
* posix/Makefile (tests): Add tst-sysconf.
* posix/tst-sysconf.c: New file.
Ulrich Drepper [Sat, 27 Nov 2004 20:57:44 +0000 (20:57 +0000)]
Update.
2004-11-27 Ulrich Drepper <drepper@redhat.com>
* posix/getconf.c (vars): Add support for _SC_IPV6 and
_SC_RAW_SOCKETS.
* sysdeps/posix/sysconf.c (__sysconf): Add support for _SC_IPV6
and _SC_RAW_SOCKETS.
* sysdeps/generic/bits/confname.h: Define _SC_IPV6 and
_SC_RAW_SOCKETS.
Ulrich Drepper [Sat, 27 Nov 2004 20:38:06 +0000 (20:38 +0000)]
Update.
2004-11-26 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR.
2004-11-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if
NO_SGIDEFS_H isn't defined. Don't include sgidefs.h twice.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
Ulrich Drepper [Sat, 27 Nov 2004 19:32:49 +0000 (19:32 +0000)]
Update.
2004-11-27 Ulrich Drepper <drepper@redhat.com>
* include/dlfcn.h (__libc_dlopen): Add __RTLD_DLOPEN to the mode
parameter. Reported by VY Newsum <newsum@fel.tno.nl>.
2004-11-10 Daniel Jacobowitz <dan@debian.org>
* libio/iolibio.h (_IO_fclose, _IO_new_fclose, _IO_old_fclose,
_IO_fflush, _IO_fgetpos, _IO_fgetpos64, _IO_fgets, _IO_fopen,
_IO_old_fopen, _IO_new_fopen, _IO_fopen64, __fopen_internal,
_IO_fprintf, _IO_fputs, _IO_fsetpos, _IO_fsetpos64, _IO_ftell,
_IO_fread, _IO_fwrite, _IO_gets, _IO_printf, _IO_puts, _IO_scanf,
_IO_fflush_internal, _IO_ftell_internal, _IO_fputs_internal)
_IO_fwrite_internal): Remove incorrect __THROW.
* libio/libioP.h (_IO_default_xsputn, _IO_wdefault_xsputn,
_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_default_write,
_IO_default_read, _IO_getline, _IO_getline_info, _IO_getwline,
_IO_getwline_info, _IO_file_read_internal, _IO_sgetn_internal,
_IO_wdo_write_internal, _IO_do_write_internal,
_IO_getline_info_internal, _IO_getline_internal,
_IO_vfprintf_internal, _IO_putc_internal, _IO_read, _IO_write,
_IO_close): Likewise.
Ulrich Drepper [Fri, 26 Nov 2004 08:19:03 +0000 (08:19 +0000)]
Update.
Ulrich Drepper [Fri, 26 Nov 2004 08:16:33 +0000 (08:16 +0000)]
Update.
* posix/Makefile (install-others): Add $(inst_libexecdir)/getconf.
(CFLAGS-sysconf.c): Add -D_GETCONF_DIR.
(CFLAGS-getconf.c): New.
($(inst_libexecdir)/getconf): New.
* posix/confstr.c (confstr): Use __sysconf to query specifications
that don't have _POSIX_V6_* macros defined. Use __*_{C,LD}FLAGS
macros defined in bits/environments.h.
* sysdeps/posix/sysconf.c: Include stdlib.h, string.h and
sys/stat.h.
(__sysconf_check_spec): New routine.
(__sysconf): Use it.
* posix/getconf.c (specs): Change into structure array.
(main): If -v is not given, try to get default from
$(libexecdir)/getconf/default. If specification is not
supported by this getconf, try to execute
$(libexecdir)/getconf/$(specification).
* sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/s390/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/i386/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/environments.h: New file.
* sysdeps/generic/bits/environments.h (__ILP32_OFFBIG_CFLAGS):
Define.
2004-11-26 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Fri, 26 Nov 2004 07:16:57 +0000 (07:16 +0000)]
Update.
2004-11-26 Jakub Jelinek <jakub@redhat.com>
* stdlib/stdlib.h (setenv): Use nonnull only for second argument.
(unsetenv): Remove.
Ulrich Drepper [Thu, 25 Nov 2004 22:32:18 +0000 (22:32 +0000)]
Update.
2004-11-23 Paolo Bonzini <bonzini@gnu.org>
* posix/regcomp.c (analyze_tree): Always call calc_epsdest.
(calc_inveclosure): Use re_node_set_insert_last.
(parse_dup_op): Lower X{1,5} to (X(X(X(XX?)?)?)?)?
rather than X?X?X?X?X?.
* posix/regex_internal.h (re_node_set_insert_last): New declaration.
* posix/regex_internal.c (re_node_set_insert_last): New function.
* posix/PCRE.tests: Add testcases.
Ulrich Drepper [Thu, 25 Nov 2004 20:16:31 +0000 (20:16 +0000)]
Update.
* dlfcn/dlfcn.h: Remove nonnull attribute from dlopen.
Ulrich Drepper [Thu, 25 Nov 2004 17:28:52 +0000 (17:28 +0000)]
Update.
2004-11-25 Ulrich Drepper <drepper@redhat.com>
* posix/confstr.c (confstr): Return appropriate strings for
_CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, and _CS_LFS64_LINTFLAGS.
Ulrich Drepper [Thu, 25 Nov 2004 06:25:42 +0000 (06:25 +0000)]
Update.
* sysdeps/x86_64/Makefile [nptl]: Define CFLAGS-pthread_create.c.
Ulrich Drepper [Wed, 24 Nov 2004 22:59:03 +0000 (22:59 +0000)]
Update.
2004-11-24 Ulrich Drepper <drepper@redhat.com>
* Makefile (libpthread-routines): Add pthread_setschedprio.
* Versions [libpthread, GLIBC_2.3.4]: Add pthread_setschedprio.
* sysdeps/pthread/pthread.h: Declare pthread_setschedprio.
* pthread_setschedprio.c: New file.
Ulrich Drepper [Wed, 24 Nov 2004 22:52:48 +0000 (22:52 +0000)]
Implementation of pthread_setschedprio.
Andreas Jaeger [Wed, 24 Nov 2004 04:43:30 +0000 (04:43 +0000)]
Remove whitespace from last change
* sysdeps/mips/sgidefs.h: Prevent <asm/sgidefs.h> from being
included by kernel headers and undo its settings if already
included. Define _ABIO32, _ABIN32 and _ABI64 if missing and use
them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and
Andreas Jaeger [Wed, 24 Nov 2004 04:39:24 +0000 (04:39 +0000)]
Update.
2004-11-05 Maciej W. Rozycki <macro@mips.com>
* sysdeps/mips/dl-machine.h: Include <sgidefs.h>. Use _ABIO32,
_ABIN32 and _ABI64 for ABI selection throughout.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/mips/mips64/__longjmp.c: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
* sysdeps/mips/mips64/setjmp.S: Likewise.
* sysdeps/mips/mips64/setjmp_aux.c: Likewise.
* sysdeps/mips/sys/regdef.h: Likewise.
* sysdeps/mips/sys/ucontext.h: Likewise.
* sysdeps/unix/mips/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/kernel-features.h: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
* sysdeps/mips/atomicity.h: Use _ABIO32, _ABIN32 and _ABI64 for
ABI selection throughout.
* sysdeps/mips/bits/setjmp.h: Likewise.
* sysdeps/mips/fpu/bits/mathdef.h: Likewise.
* sysdeps/mips/machine-gmon.h: Likewise.
* sysdeps/mips/sys/asm.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
* sysdeps/mips/sgidefs.h: Prevent <asm/sgidefs.h> from being
included by kernel headers and undo its settings if already
included. Define _ABIO32, _ABIN32 and _ABI64 if missing and use
them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and
_MIPS_SIM_ABI64 for compatibility.
* sysdeps/unix/sysv/linux/mips/Makefile: Use _ABIO32, _ABIN32 and
_ABI64 for ABI selection in generated syscall-list.h
* sysdeps/unix/sysv/linux/mips/configure.in: Use _ABIO32, _ABIN32
and _ABI64 for ABI selection in generated asm-unistd.h.
* sysdeps/unix/sysv/linux/mips/configure: Regenerate.
* sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Correct
an inverted _MIPS_SIM conditional.
Andreas Jaeger [Wed, 24 Nov 2004 04:33:22 +0000 (04:33 +0000)]
Include <sgidefs.h>. Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout.
Ulrich Drepper [Tue, 23 Nov 2004 22:57:42 +0000 (22:57 +0000)]
Update.
2004-11-23 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Use free
range even if it doesn't match exactly.
Ulrich Drepper [Tue, 23 Nov 2004 21:18:36 +0000 (21:18 +0000)]
Update.
2004-11-23 Jakub Jelinek <jakub@redhat.com>
* nss/nss_files/files-XXX.c (internal_getent): If parse_line returned
-1, also do H_ERRNO_SET (NETDB_INTERNAL).
Ulrich Drepper [Mon, 22 Nov 2004 19:03:42 +0000 (19:03 +0000)]
Update.
2004-11-22 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/fpu_control.h: Add volatile to the asms.
Patch by Alexander Stohr.
Ulrich Drepper [Mon, 22 Nov 2004 18:43:44 +0000 (18:43 +0000)]
Update.
2004-11-22 Jakub Jelinek <jakub@redhat.com>
* nscd/nscd_getai (__nscd_getai): Avoid memory and file descriptor
leaks.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Free air.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
* dirent/dirent.h: Add nonnull attributes.
Ulrich Drepper [Mon, 22 Nov 2004 18:41:05 +0000 (18:41 +0000)]
(__nscd_getai): Avoid memory and file descriptor leaks.
Andreas Jaeger [Mon, 22 Nov 2004 12:48:01 +0000 (12:48 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
Define appropriately based on __WORDSIZE.
[struct siginfo] (__pad0): Add for explicit padding.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes
throughout.