platform/upstream/glibc.git
20 years agoUpdate.
Ulrich Drepper [Mon, 19 Apr 2004 17:28:57 +0000 (17:28 +0000)]
Update.

2004-04-19  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Change EPERM into
EACCES.
* rt/Makefile (tests): Add tst-mqueue9.
* rt/tst-mqueue9.c: New test.
* rt/tst-mqueue4.c (do_test): Add test for mq_unlink of a too long
name component.

2004-04-19  Ulrich Drepper  <drepper@redhat.com>

* rt/tst-mqueue7.c (do_test): Make newargv const.

20 years agoUpdate.
Ulrich Drepper [Mon, 19 Apr 2004 06:51:29 +0000 (06:51 +0000)]
Update.

2004-04-18  Randolph Chung  <tausq@debian.org>

* sysdeps/hppa/elf/entry.h: New file.
* sysdeps/hppa/machine-gmon.h: New file.
* sysdeps/unix/sysv/linux/hppa/profil-counter.h: Don't use x86 version.

20 years agoUpdate.
Ulrich Drepper [Mon, 19 Apr 2004 06:19:34 +0000 (06:19 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c: New file.
* sysdeps/unix/sysv/linux/powerpc/Makefile (librt-routines): Add
rt-sysdep.

* rt/tst-mqueue5.c (mqsend): Don't inline.
(mqrecv): Likewise.

20 years agoUpdate.
Ulrich Drepper [Sun, 18 Apr 2004 08:48:50 +0000 (08:48 +0000)]
Update.

2004-04-18  Ulrich Drepper  <drepper@redhat.com>

* rt/tst-timer4.c: Include <string.h>.

20 years agoInclude <string.h>.
Ulrich Drepper [Sun, 18 Apr 2004 08:47:49 +0000 (08:47 +0000)]
Include <string.h>.

20 years ago* sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h
Andreas Jaeger [Sun, 18 Apr 2004 06:35:54 +0000 (06:35 +0000)]
* sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h

(SEM_VALUE_MAX): Add missing brace.
2004-04-18  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h
(SEM_VALUE_MAX): Add missing brace.

20 years agoUpdate.
Ulrich Drepper [Sun, 18 Apr 2004 02:37:56 +0000 (02:37 +0000)]
Update.

2004-04-17  Jakub Jelinek  <jakub@redhat.com>

* rt/Makefile (tests): Add tst-mqueue8.
* rt/tst-mqueue8.c: New test.

* sysdeps/unix/sysv/linux/s390/Makefile (librt-routines): Add
rt-sysdep.
* sysdeps/unix/sysv/linux/s390/rt-sysdep.S: New file.

20 years agoUpdate.
Ulrich Drepper [Sat, 17 Apr 2004 23:14:52 +0000 (23:14 +0000)]
Update.

2004-03-26  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/unix/sysv/linux/wordsize-64/fxstat.c (__fxstat): Don't
use "struct kernel_stat".

2004-04-02  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/ia64/memcmp.S: Fix symbol.

20 years agoUpdate.
Ulrich Drepper [Sat, 17 Apr 2004 22:57:01 +0000 (22:57 +0000)]
Update.

2004-04-04  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/Dist: Add bits/link.h elf/entry.h.

* sysdeps/hppa/bits/link.h: New file.

* sysdeps/hppa/dl-machine.h (__hppa_init_bootstrap_fdesc_table):
Initialze the fdesc table for the generic code.
(elf_machine_dynamic): Use asm version.
(elf_machine_load_addresss): Simplify asm by calling
elf_machine_dynamic.
(elf_machine_fixup_plt): Correct comment.
(elf_machine_profile_fixup_plt): New.
(elf_machine_runtime_setup): Check PLT exists, if lazy=1  process
normally, else relocate all the absolute entries.
(RTLD_START): Fix comments.
(TRAMPOLINE_TEMPLATE): Reformat assembly, add return pointer for
calls to profile_fixup.
(ELF_MACHINE_SIZEOF_JMP_SLOT, DL_STATIC_FUNCTION_ADDRESS,
DL_PLATFORM_INIT): Define.
(DL_FUNCTION_ADDRESS): Remove.
(dl_platform_init): New.
(elf_machine_rela): Use generic fdesc code, and process all COPY
relocations. Use __attribute__((always_inline)).
(elf_machine_rela_relative): Add sanity checks, remove IPLT
processing, print error message in default case. Use
__attribute__((always_inline)).
(elf_machine_lazy_rel): Use __attribute__((always_inline)).

2004-04-05  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use only sw[0]
and call feraiseexcept.

2003-11-15  Randolph Chung  <tausq@debian.org>

* gmon/gmon.c (__monstartup): Round kcountsize to multiples of
the froms[] array so the array is properly aligned.

2004-04-05  H.J. Lu  <hongjiu.lu@intel.com>

* Makeconfig (libgcc_eh): Add -Wl,.

* configure.in: Add -lgcc_s for --as-needed check.

2004-04-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/elf/configure.in: New file.

* iconvdata/gconv-modules: Add PT154 and RK1048 entries.
* iconvdata/tst-tables.sh: Add PT154 and RK1048.
* iconvdata/Makefile (modules): Add PT154 anhd RK1048.
(distribute): Add pt154.c and rk1048.c.
(gen-8bit-gap-modules): Add pt154 and rk1048.
* icondata/pt154.c: New file.
* iconvdata/rk1048.c: New file.

20 years agoFix.
Ulrich Drepper [Sat, 17 Apr 2004 22:44:55 +0000 (22:44 +0000)]
Fix.

* sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Remove unneeded
frame info.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.

20 years agoUpdate.
Ulrich Drepper [Sat, 17 Apr 2004 22:34:18 +0000 (22:34 +0000)]
Update.

2004-04-17  Ulrich Drepper  <drepper@redhat.com>

* locales/kk_KZ: New file.
* charmaps/PT154: New file.
* charmaps/RK1048: New file.

* locales/af_ZA: Make sure yesexpr and noexpr regex
* locales/ar_TN: Likewise.
* locales/ar_YE: Likewise.
* locales/bn_BD: Likewise.
* locales/br_FR: Likewise.
* locales/ca_ES: Likewise.
* locales/cy_GB: Likewise.
* locales/gd_GB: Likewise.
* locales/gv_GB: Likewise.
* locales/hy_AM: Likewise.
* locales/id_ID: Likewise.
* locales/ka_GE: Likewise.
* locales/kw_GB: Likewise.
* locales/lg_UG: Likewise.
* locales/mk_MK: Likewise.
* locales/oc_FR: Likewise.
* locales/ru_UA: Likewise.
* locales/sk_SK: Likewise.
* locales/sr_YU: Likewise.
* locales/sr_YU@cyrillic: Likewise.
* locales/uk_UA: Likewise.
* locales/ur_PK: Likewise.
* locales/wa_BE: Likewise.
* locales/fa_IR: Fix yesexpr and noexpr.

20 years agoUpdate.
Ulrich Drepper [Sat, 17 Apr 2004 18:02:33 +0000 (18:02 +0000)]
Update.

2004-04-15  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/timer_routines.c: Include errno.h.
(timer_helper_thread): Use inline rt_sigtimedwait syscall instead
of calling sigwaitinfo.

20 years agoUpdate.
Ulrich Drepper [Sat, 17 Apr 2004 15:48:10 +0000 (15:48 +0000)]
Update.

2004-04-17  Ulrich Drepper  <drepper@redhat.com>

* rt/tst-timer4.c: Disable some tests, mark errors better.

20 years agoUpdate.
Ulrich Drepper [Fri, 16 Apr 2004 23:49:58 +0000 (23:49 +0000)]
Update.

* rt/tst-mqueue6.c (mqsend): Don't inline.
(mqrecv): Likewise.

20 years agoUpdate.
Ulrich Drepper [Fri, 16 Apr 2004 22:28:50 +0000 (22:28 +0000)]
Update.

* rt/tst-mqueue3.c (do_test): Cope with kernel without mq support.

20 years agoUpdate.
Ulrich Drepper [Fri, 16 Apr 2004 22:04:55 +0000 (22:04 +0000)]
Update.

2004-04-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ieee754/bits/nan.h (__nan_union): Add __attribute_used__
attribute to keep gcc quiet.

20 years agoUpdate.
Ulrich Drepper [Fri, 16 Apr 2004 20:44:32 +0000 (20:44 +0000)]
Update.

2004-04-16  Jakub Jelinek  <jakub@redhat.com>

* misc/syslog.c (vsyslog): Avoid freeing failbuf.

2004-04-15  Jakub Jelinek  <jakub@redhat.com>

* rt/Makefile (tests): Add tst-timer4.
* rt/tst-timer4.c: New test.

2004-04-15  Jakub Jelinek  <jakub@redhat.com>

* rt/tst-mqueue5.c (rtmin_code): New variable.
(rtmin_handler): Set it.
(thr, do_child, do_test): Also check rtmin_code.

2004-04-14  Jakub Jelinek  <jakub@redhat.com>

* rt/Makefile (tests): Add tst-mqueue7.
(tst-mqueue7-ARGS): Set.
* rt/tst-mqueue7.c: New test.

2004-04-13  Jakub Jelinek  <jakub@redhat.com>

* rt/Makefile (tests): Add tst-mqueue5 and tst-mqueue6.
* rt/tst-mqueue1.c (do_one_test): Bitwise or check_attrs () into
result instead of replacing it.  Use TEMP_FAILURE_RETRY around
waitpid, kill child if waitpid failed.
(do_test): Bitwise or check_attrs () into result instead of replacing
it.  Change temp mq name.
* rt/tst-mqueue5.c: New test.
* rt/tst-mqueue6.c: New test.
* rt/tst-mqueue.h: Include stdio.h, unistd.h, sys/uio.h.
(temp_mq_list, delete_temp_mqs): Remove.
(temp_mq_fd): New variable.
(do_cleanup, do_prepare): New functions.
(add_temp_mq): Rewritten to use a temp file.
(PREPARE): Define.
(CLEANUP_HANDLER): Change to do_cleanup ().

* rt/tst-timer3.c: Don't fail if _POSIX_THREADS is not available.

2004-04-13  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/s390/ffs.c: Include limits.h

2004-04-13  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/sysdep.h (SUBSTITUTE_ARGS_1,
SUBSTITUTE_ARGS_2, SUBSTITUTE_ARGS_3, SUBSTITUTE_ARGS_4,
SUBSTITUTE_ARGS_5, SUBSTITUTE_ARGS_6, SUBSTITUTE_ARGS_7): Load
argument values into temporary variables.

20 years agoUpdate.
Ulrich Drepper [Fri, 16 Apr 2004 19:29:42 +0000 (19:29 +0000)]
Update.

2004-04-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/mq_notify.c: Shut up GCC warning.

20 years ago(SUBSTITUTE_ARGS_1, SUBSTITUTE_ARGS_2, SUBSTITUTE_ARGS_3, SUBSTITUTE_ARGS_4, SUBSTITU...
Ulrich Drepper [Fri, 16 Apr 2004 19:07:07 +0000 (19:07 +0000)]
(SUBSTITUTE_ARGS_1, SUBSTITUTE_ARGS_2, SUBSTITUTE_ARGS_3, SUBSTITUTE_ARGS_4, SUBSTITUTE_ARGS_5, SUBSTITUTE_ARGS_6, SUBSTITUTE_ARGS_7): Load argument values into temporary variables.

20 years agoFix last commit.
Andreas Jaeger [Thu, 15 Apr 2004 14:08:16 +0000 (14:08 +0000)]
Fix last commit.

20 years agoUpdate.
Andreas Jaeger [Thu, 15 Apr 2004 04:50:31 +0000 (04:50 +0000)]
Update.

2004-04-15  Atsushi Nemoto <anemo@mba.ocn.ne.jp>

* sysdeps/mips/dl-machine.h (RTLD_START): Do not use nested .end.

20 years ago(RTLD_START): Do not use nested .end.
Andreas Jaeger [Thu, 15 Apr 2004 04:50:11 +0000 (04:50 +0000)]
(RTLD_START): Do not use nested .end.

20 years agoUpdate.
Ulrich Drepper [Tue, 13 Apr 2004 05:26:20 +0000 (05:26 +0000)]
Update.

2004-04-12  Ulrich Drepper  <drepper@redhat.com>

* rt/Makefile (tests): Add tst-timer3.
* rt/tst-timer3.c: New file.  By Roland McGrath.

20 years agoUpdate.
Ulrich Drepper [Tue, 13 Apr 2004 02:15:43 +0000 (02:15 +0000)]
Update.

2004-04-08  Ulrich Drepper  <drepper@redhat.com>

* rt/tst-mqueue3.c: New file.
* rt/Makefile (tests): Add tst-mqueue3.

2004-04-08  Jakub Jelinek  <jakub@redhat.com>

* rt/tst-mqueue1.c: New file.
* rt/tst-mqueue2.c: New file.
* rt/tst-mqueue4.c: New file.
* rt/Makefile (tests): Add tst-mqueue1, tst-mqueue2, tst-mqueue4.

* rt/Versions (librt): Add mq_*@@GLIBC_2.3.4.
* rt/Makefile (headers): Add mqueue.h and bits/mqueue.h.
(mq-routines): Set.
(librt-routines): Use it.
* rt/mqueue.h: New file.
* include/mqueue.h: New file.
* sysdeps/generic/bits/mqueue.h: New file.
* sysdeps/generic/mq_setattr.c: New file.
* sysdeps/generic/mq_getattr.c: New file.
* sysdeps/generic/mq_notify.c: New file.
* sysdeps/generic/mq_close.c: New file.
* sysdeps/generic/mq_send.c: New file.
* sysdeps/generic/mq_unlink.c: New file.
* sysdeps/generic/mq_receive.c: New file.
* sysdeps/generic/mq_timedreceive.c: New file.
* sysdeps/generic/mq_timedsend.c: New file.
* sysdeps/generic/mq_open.c: New file.
* sysdeps/unix/sysv/linux/bits/local_lim.h (MQ_PRIO_MAX): Define.
* sysdeps/unix/sysv/linux/bits/mqueue.h: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Add mq_timedsend,
mq_timedreceive and mq_setattr.
* sysdeps/unix/sysv/linux/mq_getattr.c: New file.
* sysdeps/unix/sysv/linux/mq_notify.c: New file.
* sysdeps/unix/sysv/linux/mq_close.c: New file.
* sysdeps/unix/sysv/linux/mq_send.c: New file.
* sysdeps/unix/sysv/linux/mq_unlink.c: New file.
* sysdeps/unix/sysv/linux/mq_receive.c: New file.
* sysdeps/unix/sysv/linux/mq_open.c: New file.

2004-04-09  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/s390/ffs.c: Don't add ffsl weak alias on s390x.

2004-04-09  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: New file.

20 years agoUpdate.
Ulrich Drepper [Tue, 13 Apr 2004 00:27:59 +0000 (00:27 +0000)]
Update.

2004-04-09  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL): Move
LOAD_ARGS_##nr up front and add LOAD_REGS_##nr.
(LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
(LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
variables.
(LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
(LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
syscall argument registers.

* sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL): Add
LOAD_REGS_##nr.
(LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
(LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
variables.
(LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
(LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
syscall argument registers.

20 years ago(DO_INLINE_SYSCALL): Move LOAD_ARGS_##nr up front and add LOAD_REGS_##nr. (LOAD_ARGS_...
Ulrich Drepper [Tue, 13 Apr 2004 00:26:51 +0000 (00:26 +0000)]
(DO_INLINE_SYSCALL): Move LOAD_ARGS_##nr up front and add LOAD_REGS_##nr. (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary variables. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the syscall argument registers.

20 years ago* sysdeps/x86_64/pt-machine.h: Add used attribute to stack_pointer
Andreas Jaeger [Sun, 11 Apr 2004 06:13:09 +0000 (06:13 +0000)]
* sysdeps/x86_64/pt-machine.h: Add used attribute to stack_pointer

to avoid warnings with GCC 3.5.
2004-04-10  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/pt-machine.h: Add used attribute to stack_pointer
to avoid warnings with GCC 3.5.

20 years agoUpdate.
Ulrich Drepper [Fri, 9 Apr 2004 19:10:05 +0000 (19:10 +0000)]
Update.

2004-04-09  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/s390/ffs.c: Don't add ffsl weak alias on s390x.

2004-04-09  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: New file.

20 years agoumount support for ppc64/linux.
Ulrich Drepper [Fri, 9 Apr 2004 18:21:54 +0000 (18:21 +0000)]
umount support for ppc64/linux.

20 years ago* sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Add
Andreas Schwab [Thu, 8 Apr 2004 23:30:55 +0000 (23:30 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Add

LOAD_REGS_##nr.
(LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
(LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
variables.
(LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
(LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
syscall argument registers.

20 years ago(INTERNAL_SYSCALL): Add LOAD_REGS_##nr. (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_...
Andreas Schwab [Thu, 8 Apr 2004 23:30:26 +0000 (23:30 +0000)]
(INTERNAL_SYSCALL): Add LOAD_REGS_##nr. (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary variables. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the syscall argument registers.

20 years agoUpdate.
Ulrich Drepper [Thu, 8 Apr 2004 16:12:20 +0000 (16:12 +0000)]
Update.

2004-04-08  Ulrich Drepper  <drepper@redhat.com>

* po/nl.po: Update from translation team.

20 years agoUpdate.
Ulrich Drepper [Sun, 4 Apr 2004 10:52:27 +0000 (10:52 +0000)]
Update.

2004-04-04  Ulrich Drepper  <drepper@redhat.com>

* tst-context1.c (fct): Check whether correct stack is used.

20 years agoUpdate.
Ulrich Drepper [Sun, 4 Apr 2004 09:32:07 +0000 (09:32 +0000)]
Update.

2004-04-04  Ulrich Drepper  <drepper@redhat.com>

* math/test-tgmath.c: Declare compile_testl inly if we will define it.

20 years agoUpdate.
Ulrich Drepper [Sun, 4 Apr 2004 06:17:27 +0000 (06:17 +0000)]
Update.

* sysdeps/powerpc/powerpc64/ffsll.c: New file.

* sysdeps/powerpc/elf/libc-start.c: No need for a separate

20 years agoUpdate.
Ulrich Drepper [Sun, 4 Apr 2004 05:53:24 +0000 (05:53 +0000)]
Update.

* string/test-ffs.c: Also test ffsl and ffsll.

* sysdeps/powerpc/ffs.c: Don't define ffsl for ppc64.

20 years agoUpdate.
Ulrich Drepper [Sun, 4 Apr 2004 03:32:19 +0000 (03:32 +0000)]
Update.

* sysdeps/powerpc/powerpc64/bits/atomic.h: Never use matching
constraints for asm mem parameters.
* sysdeps/powerpc/bits/atomic.h: Likewise.

20 years agoUpdate.
Ulrich Drepper [Sun, 4 Apr 2004 01:07:05 +0000 (01:07 +0000)]
Update.

* sysdeps/powerpc/elf/libc-start.c: no need for a separate
function for __aux_init_cache.

20 years agoUpdate.
Ulrich Drepper [Sun, 4 Apr 2004 00:41:39 +0000 (00:41 +0000)]
Update.

* inet/test-ifaddrs.c: Fight warnings.

* argp/argp-help.c: Fight warnings.

* include/time.h: Declare __difftime.

20 years agoUpdate.
Ulrich Drepper [Sat, 3 Apr 2004 17:33:49 +0000 (17:33 +0000)]
Update.

2004-04-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/internal_statvfs.c: Restructure to avoid
duplication in 64-bit version.
* sysdeps/unix/sysv/linux/wordsize-64/internal_statvfs64.c: New file.

20 years agoRestructure to avoid duplication in 64-bit version.
Ulrich Drepper [Sat, 3 Apr 2004 17:32:18 +0000 (17:32 +0000)]
Restructure to avoid duplication in 64-bit version.

20 years agoUpdate.
Andreas Jaeger [Sat, 3 Apr 2004 10:04:36 +0000 (10:04 +0000)]
Update.

2004-04-03  Andreas Jaeger  <aj@suse.de>

* nis/nss-nis.c: Include <string.h> for strncmp.

20 years agoInclude <string.h> for strncmp.
Andreas Jaeger [Sat, 3 Apr 2004 10:04:16 +0000 (10:04 +0000)]
Include <string.h> for strncmp.

20 years agoRegenerated.
Ulrich Drepper [Sat, 3 Apr 2004 08:53:29 +0000 (08:53 +0000)]
Regenerated.

20 years agoUpdate.
Ulrich Drepper [Sat, 3 Apr 2004 08:53:24 +0000 (08:53 +0000)]
Update.

2004-03-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makeconfig (link-libc-static): Use $(static-gnulib) instead
of $(gnulib).
(libgcc_eh): New variable.
(gnulib): Use it variable.
(static-gnulib): New variable.
* Makerules (LDLIBS-c.so): Use $(static-gnulib) instead of $(gnulib).
* config.make.in (have-as-needed): New variable.
* configure.in: Check if linker supports --as-needed.

20 years agoUpdate.
Ulrich Drepper [Sat, 3 Apr 2004 07:50:20 +0000 (07:50 +0000)]
Update.

2004-04-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/internal_statvfs64.c: New file.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
Add internal_statvfs64.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Allow to be used to
compile 64bit version.
* sysdeps/unix/sysv/linux/statvfs64.c: Use __fstatfs64 and skip
compatibility code if __ASSUME_STATFS64 is defined.
* sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.

* sysdeps/unix/sysv/linux/statfs64.c: Don't add __no_statfs64 if
__ASSUME_STATFS64 != 0.

2004-04-02  Thorsten Kukuk  <kukuk@firun.suse.de>

* nis/nss_nis/nis-ethers.c (saveit): Fix return codes in error case.
* nis/nss_nis/nis-initgroups.c (saveit): Likewise.
* nis/nss_nis/nis-proto.c (saveit): Likewise.
* nis/nss_nis/nis-rpc.c (saveit): Likewise.
* nis/nss_nis/nis-service.c (saveit): Likewise.

20 years agoUpdate.
Ulrich Drepper [Fri, 2 Apr 2004 09:18:29 +0000 (09:18 +0000)]
Update.

2004-04-02  Jakub Jelinek  <jakub@redhat.com>

* nis/nss: Add SERVICES_AUTHORITATIVE.
* nis/nss-nis.h (NSS_FLAG_SET, NSS_FLAG_NETID_AUTHORITATIVE,
NSS_FLAG_SERVICES_AUTHORITATIVE): Define.
(_nis_default_nss_flags, _nis_check_default_nss): New decls.
(_nis_default_nss): New inline.
* nis/nss-nis.c: Include ctype.h, stdio.h and stdio_ext.h.
(_nis_default_nss_flags, default_nss): New variables.
(_nis_check_default_nss): New function.
* nis/nss_nis/nis-initgroups.c: Don't include stdio.h and
stdio_ext.h.
(check_default_nss, default_nss): Move to nss-nis.c.
(init): Removed.
(_nss_nis_initgroups_dyn): Use _nis_default_nss ().
* nis/nss_nis/nis-services.c (_nss_nis_getservbyname_r): If
NSS_FLAG_SERVICES_AUTHORITATIVE and services.byservicename lookup
fails, return immediately.

20 years agoAdd SERVICES_AUTHORITATIVE.
Ulrich Drepper [Fri, 2 Apr 2004 09:14:48 +0000 (09:14 +0000)]
Add SERVICES_AUTHORITATIVE.

20 years ago* elf/tst-execstack.c (do_test): Make F static.
Roland McGrath [Fri, 2 Apr 2004 02:24:23 +0000 (02:24 +0000)]
* elf/tst-execstack.c (do_test): Make F static.

20 years ago2004-04-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 Apr 2004 02:23:05 +0000 (02:23 +0000)]
2004-04-01  Roland McGrath  <roland@redhat.com>

* elf/tst-execstack.c (do_test): Make F static.

20 years agoUpdate.
Ulrich Drepper [Fri, 2 Apr 2004 00:42:24 +0000 (00:42 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Use
__sigprocmask not sigprocmask.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.

* time/mktime.c: Likewise.
* misc/getpass.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 23:29:52 +0000 (23:29 +0000)]
Update.

* include/string.h: Add libc_hidden_builtin_proto for memcmp.
* sysdeps/generic/memcmp.c: Add libc_hidden_builtin_def.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/i686/memcmp.S: Likewise.
* sysdeps/ia64/memcmp.S: Likewise.
* sysdeps/sparc/sparc64/memcmp.S: Likewise.

* sysdeps/unix/sysv/linux/sigprocmask.c: Include <string.h>.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 21:56:34 +0000 (21:56 +0000)]
Update.

* time/difftime.c (__difftime): New renamed.  Make old name alias.
Use __difftime in recursive call.

* sysdeps/powerpc/fpu/bits/mathinline.h: Add __signbitf and

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 21:25:31 +0000 (21:25 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use
__tcgetattr() instead of tcgetattr().

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 21:17:57 +0000 (21:17 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]:
Use __GI_exit.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 21:14:56 +0000 (21:14 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
__GI__exit.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 20:31:01 +0000 (20:31 +0000)]
Update.

* sysdeps/powerpc/fpu/bits/mathinline.h: Addn __signbitf and
__signbit inlines.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 19:36:34 +0000 (19:36 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Use
__sigprocmask not sigprocmask.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 18:49:40 +0000 (18:49 +0000)]
Update.

2004-04-01  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h: Define more ppc64 specific dynamic tags.

* libio/fileops.c (new_do_write): Return _IO_size_t to make 64-bit

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 09:03:29 +0000 (09:03 +0000)]
Update.

2004-04-01  Jakub Jelinek  <jakub@redhat.com>

* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol
is NULL, instead of trying yp_match (name/tcp), yp_match (name/udp),
yp_all, try yp_match (name), yp_all.

2004-04-01  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add handling for
ignored entries.  Ignore AT_IGNOREPPC.

20 years ago(_dl_show_auxv): Add handling for ignored entries. Ignore AT_IGNOREPPC.
Ulrich Drepper [Thu, 1 Apr 2004 08:55:15 +0000 (08:55 +0000)]
(_dl_show_auxv): Add handling for ignored entries.  Ignore AT_IGNOREPPC.

20 years agoUpdate.
Andreas Jaeger [Thu, 1 Apr 2004 04:41:33 +0000 (04:41 +0000)]
Update.

2004-03-31  Andreas Jaeger  <aj@suse.de>

        * libio/fileops.c (new_do_write): Return _IO_size_t to make 64-bit
        clean.

20 years ago(new_do_write): Return _IO_size_t to make 64-bit clean.
Andreas Jaeger [Thu, 1 Apr 2004 04:41:12 +0000 (04:41 +0000)]
(new_do_write): Return _IO_size_t to make 64-bit clean.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 00:51:57 +0000 (00:51 +0000)]
Update.

2004-03-31  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/localedef.c (construct_output_path): Remove
remnants of CEN locale names.

20 years agoUpdate.
Ulrich Drepper [Wed, 31 Mar 2004 09:04:57 +0000 (09:04 +0000)]
Update.

2004-03-30  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add IUTF8.
* sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.

20 years agoAdd IUTF8.
Ulrich Drepper [Wed, 31 Mar 2004 08:53:30 +0000 (08:53 +0000)]
Add IUTF8.

20 years ago * sysdeps/alpha/remqu.S: Detect power-of-two special case.
Richard Henderson [Wed, 31 Mar 2004 02:34:13 +0000 (02:34 +0000)]
    * sysdeps/alpha/remqu.S: Detect power-of-two special case.

2004-03-30  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/remqu.S: Detect power-of-two special case.

20 years agoUpdate.
Ulrich Drepper [Wed, 31 Mar 2004 01:47:34 +0000 (01:47 +0000)]
Update.

2004-03-30  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/libc-start.c (LIBC_START_MAIN)
[HAVE_CLEANUP_JMP_BUF]: Call __nptl_deallocate_tsd.

20 years agoUpdate.
Ulrich Drepper [Wed, 31 Mar 2004 00:16:53 +0000 (00:16 +0000)]
Update.

2004-03-30  Jakub Jelinek  <jakub@redhat.com>

* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol
== NULL, try name/tcp and name/udp first before falling back into
the sequential scanning.  Use services.byname database for
sequential scanning.
(_nss_nis_getservbyport_r): Likewise.  Just allocate sizeof (int) * 3
chars for integer.

* nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Convert
proto to host by order for snprintf.

* nss/getent.c (services_keys): Don't implement lookups with
missing protocol using getservent loop, just pass NULL.

20 years agoUpdate.
Ulrich Drepper [Tue, 30 Mar 2004 23:15:55 +0000 (23:15 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Avoid
comparison with limit if we can rely on the syscall being available.

20 years agoUpdate.
Ulrich Drepper [Tue, 30 Mar 2004 18:34:08 +0000 (18:34 +0000)]
Update.

* nis/Makefile (distribute): Add nss.
* nis/nss: New file.

20 years agoUpdate.
Ulrich Drepper [Tue, 30 Mar 2004 18:23:15 +0000 (18:23 +0000)]
Update.

2004-03-30  Ulrich Drepper  <drepper@redhat.com>

* nis/nss_nis/nis-initgroups.c: Implement getting the information
from the netid.byname map if the system administrator allows this.

* grp/initgroups.c (initgroups): Limit the initial allocation to 64
entries to not allocate too much on systems with really high limits.

20 years agoUpdate.
Ulrich Drepper [Tue, 30 Mar 2004 00:01:23 +0000 (00:01 +0000)]
Update.

2004-03-30  Jakub Jelinek  <jakub@redhat.com>

* nis/nss_nis/nis-service.c (struct search_t): New type.
(dosearch): New function.
(_nss_nis_getservbyname_r): Use it.  Call yp_get_default_domain
unconditionally.
(_nss_nis_getservbyport_r): Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Mar 2004 22:04:09 +0000 (22:04 +0000)]
Update.

2004-03-29  Alexandre Oliva  <aoliva@redhat.com>

* sysdeps/unix/sysv/linux/sched_getaffinity.c: Prepend GLIBC_ to
version names is SHLIB_COMPAT check.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Mar 2004 21:49:59 +0000 (21:49 +0000)]
Update.

* nis/nss_nis/nis-rpc.c (saveit): Improve memory handling.  No need to
* nis/nss_nis/nis-proto.c (saveit): Improve memory handling.  No need
(internal_nis_endprotoent): Adjust accordingly.
* nis/nss_nis/nis-initgroups.c (saveit): Improve memory handling.  No
need to allocate multiple blocks.
* nis/nss_nis/nis-ethers.c (saveit): Improve memory handling.  No need
to allocate multiple blocks.
* nis/nss_nis/nis-service.c (saveit): Improve memory handling.  No need
to allocate multiple blocks.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Mar 2004 21:46:58 +0000 (21:46 +0000)]
Update.

* nis/nss_nis/nis-rpc.c (saveit): Improve memory.  No need to
allocate multiple blocks.
(internal_nis_endrpcent): Adjust accordingly.
* nis/nss_nis/nis-proto.c (saveit): Improve memory.  No need to
allocate multiple blocks.
(internal_nis_endprotoent): Adjust accordingly.
* nis/nss_nis/nis-initgroups.c (saveit): Improve memory.  No need
to allocate multiple blocks.
(_nss_nis_initgroups_dyn): Adjust accordingly.
* nis/nss_nis/nis-ethers.c (saveit): Improve memory.  No need to
allocate multiple blocks.
(internal_nis_endetherent): Adjust accordingly.
* nis/nss_nis/nis-service.c (saveit): Improve memory.  No need to
allocate multiple blocks.
(internal_nis_endservent): Adjust accordingly.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Mar 2004 20:17:33 +0000 (20:17 +0000)]
Update.

2004-03-29  Ulrich Drepper  <drepper@redhat.com>

* nss/getXXbyYY_r.c: Return 0 for NSS_STATUS_NOTFOUND.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Mar 2004 20:04:20 +0000 (20:04 +0000)]
Update.

2004-03-26  Thorsten Kukuk  <kukuk@suse.de>

* nis/nss_nis/nis-grp.c (_nss_nis_getgrnam_r): Don't
set errno if group does not exist.

20 years agoUpdate.
Ulrich Drepper [Sun, 28 Mar 2004 10:55:26 +0000 (10:55 +0000)]
Update.

2004-03-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle
_SC_SIGQUEUE_MAX.

20 years agoUpdate.
Ulrich Drepper [Sat, 27 Mar 2004 03:40:33 +0000 (03:40 +0000)]
Update.

2004-03-26  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-caller.c: New file.
* include/caller.h: New file.
* Makefile (distribute): Add include/caller.h.
* elf/Makefile (dl-routines): Add dl-caller.
* elf/dl-load.c (_dl_map_object_from_fd): Record l_text_end.
* elf/dl-open.c (check_libc_caller): Removed.
(dl_open_worker): Use __check_caller instead.
* elf/rtld.c (_rtld_global_ro): Initialize _dl_check_caller.
(_dl_start_final): Record l_text_end for ld.so map.
(dl_main): Record l_text_end for main object and vdso.
* include/link.h (struct link_map): Add l_text_end field.
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add
_dl_check_caller field.
Define enum allowmask.  Add declaration of _dl_check_caller.
* sysdeps/unix/sysv/linux/dl-execstack.c: Also use __check_caller test.

20 years agoHeader with call site checker definitions.
Ulrich Drepper [Sat, 27 Mar 2004 02:43:52 +0000 (02:43 +0000)]
Header with call site checker definitions.

20 years ago * sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem ...
Richard Henderson [Sat, 27 Mar 2004 00:32:28 +0000 (00:32 +0000)]
    * sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem         variable, add unsigned variants.         * sysdeps/alpha/divrem.h: Remove file.         * sysdeps/alpha/div_libc.h: New file.         * sysdeps/alpha/divl.S: Rewrite from scratch.         * sysdeps/alpha/reml.S: Likewise.         * sysdeps/alpha/divq.S: Likewise.         * sysdeps/alpha/remq.S: Likewise.         * sysdeps/alpha/divlu.S: New file.         * sysdeps/alpha/remlu.S: New file.         * sysdeps/alpha/divqu.S: New file.         * sysdeps/alpha/remqu.S: New file.

2004-03-26  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem
variable, add unsigned variants.
* sysdeps/alpha/divrem.h: Remove file.
* sysdeps/alpha/div_libc.h: New file.
* sysdeps/alpha/divl.S: Rewrite from scratch.
* sysdeps/alpha/reml.S: Likewise.
* sysdeps/alpha/divq.S: Likewise.
* sysdeps/alpha/remq.S: Likewise.
* sysdeps/alpha/divlu.S: New file.
* sysdeps/alpha/remlu.S: New file.
* sysdeps/alpha/divqu.S: New file.
* sysdeps/alpha/remqu.S: New file.

20 years agoUpdate.
Ulrich Drepper [Fri, 26 Mar 2004 21:25:35 +0000 (21:25 +0000)]
Update.

2004-03-26  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-open.c (check_libc_caller): Fix typo.

20 years agoUpdate.
Ulrich Drepper [Fri, 26 Mar 2004 09:54:51 +0000 (09:54 +0000)]
Update.

2004-03-26  Jakub Jelinek  <jakub@redhat.com>

* elf/tst-dlmodcount.c: Include stddef.h and stdlib.h.

* sysdeps/alpha/backtrace.c: New file.

20 years agoInclude stddef.h and stdlib.h.
Ulrich Drepper [Fri, 26 Mar 2004 09:48:53 +0000 (09:48 +0000)]
Include stddef.h and stdlib.h.

20 years ago * sysdeps/alpha/backtrace.c: New.
Richard Henderson [Fri, 26 Mar 2004 07:56:26 +0000 (07:56 +0000)]
    * sysdeps/alpha/backtrace.c: New.

2003-03-25  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/backtrace.c: New.

20 years agoUpdate.
Ulrich Drepper [Fri, 26 Mar 2004 06:43:45 +0000 (06:43 +0000)]
Update.

2004-03-25  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/utf-7.c: Remove inline from isdirect, isxdirect, and
isxbase64.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Mar 2004 23:04:58 +0000 (23:04 +0000)]
Update.

2004-03-25  Richard Henderson  <rth@redhat.com>

* sysdeps/generic/strtol_l.c (__strtol_ul_max_tab,
__strtol_ull_max_tab, __strtol_ull_rem_tab, __strtol_ul_rem_tab,
cutoff_tab, cutlim_tab, jmax_tab): New.
(__strtol_l): Use them to avoid runtime division.

20 years ago(__strtol_ul_max_tab, __strtol_ull_max_tab, __strtol_ull_rem_tab, __strtol_ul_rem_tab...
Ulrich Drepper [Thu, 25 Mar 2004 22:58:59 +0000 (22:58 +0000)]
(__strtol_ul_max_tab, __strtol_ull_max_tab, __strtol_ull_rem_tab, __strtol_ul_rem_tab, cutoff_tab, cutlim_tab, jmax_tab): New. (__strtol_l): Use them to avoid runtime division.

20 years ago* Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed
Roland McGrath [Thu, 25 Mar 2004 03:54:03 +0000 (03:54 +0000)]
* Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed

substitutions; the semicolon terminators are enough for ld anyway.

* elf/dl-deps.c (_dl_map_object_deps): Use alloca instead of
dynamically sized auto array in function already using alloca.
* locale/programs/ld-ctype.c (ctype_output): Likewise.
* locale/programs/ld-time.c (time_output): Likewise.
* elf/dl-misc.c (_dl_debug_vdprintf): Use macro instead of const for
IOV array size.
* locale/programs/charmap.c (charmap_read): Avoid alloca (or strdupa)
when also using dynamically-sized auto array.
* locale/programs/locfile.c (locfile_read): Likewise.
* locale/programs/repertoire.c (repertoire_read): Likewise.
* nis/nis_print_group_entry.c (nis_print_group_entry): Likewise.
* locale/programs/locarchive.c (enlarge_archive): Likewise.
* posix/annexc.c (check_header): Likewise.

* iconv/gconv_int.h (norm_add_slashes): Don't handle null SUFFIX.
strlen ("") gets optimized away just as well.
* intl/loadmsgcat.c (_nl_init_domain_conv): Update caller.
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.

20 years ago* Makefile ($(objpfx)c++-types-check.out): Reduce duplication in
Roland McGrath [Thu, 25 Mar 2004 02:01:48 +0000 (02:01 +0000)]
* Makefile ($(objpfx)c++-types-check.out): Reduce duplication in

defining this target.  Also elide -Wstrict-prototypes from CFLAGS.

20 years ago2004-03-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 25 Mar 2004 02:01:27 +0000 (02:01 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* Makefile ($(objpfx)c++-types-check.out): Reduce duplication in
defining this target.  Also elide -Wstrict-prototypes from CFLAGS.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 23:53:39 +0000 (23:53 +0000)]
Update.

2004-03-24  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/vfscanf.c [!COMPILE_WSCANF] (TOLOWER): Cast first
parameter to unsigned char.
* sysdeps/generic/strcasestr.c [_LIBC] (TOLOWER): Likewise.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 22:05:34 +0000 (22:05 +0000)]
Update.

2004-03-24  Jakub Jelinek  <jakub@redhat.com>

* stdlib/strtod_l.c (INTERNAL (__STRTOF)): Clear the rest of retval,
not just one limb if RETURN_LIMB_SIZE > 2.  Fix shifting up if
RETURN_LIMB_SIZE > 2.

* stdio-common/printf_fp.c (__printf_fp): For IEEE quad long double
on 32-bit architectures reserve 8 limbs instead of 4.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 20:52:17 +0000 (20:52 +0000)]
Update.

2004-03-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/getpid.c (really_getpid): Reorganize
code to avoid warning.

vgettimeofday call might destroy the content.

20 years ago(really_getpid): Reorganize code to avoid warning.
Ulrich Drepper [Wed, 24 Mar 2004 20:50:12 +0000 (20:50 +0000)]
(really_getpid): Reorganize code to avoid warning.

20 years ago(__pthread_attr_setaffinity_old): Remove const.
Andreas Jaeger [Wed, 24 Mar 2004 13:53:13 +0000 (13:53 +0000)]
(__pthread_attr_setaffinity_old): Remove const.

20 years ago(__pthread_attr_setaffinity_old): Remove const.
Andreas Jaeger [Wed, 24 Mar 2004 13:52:34 +0000 (13:52 +0000)]
(__pthread_attr_setaffinity_old): Remove const.

2004-03-24  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c
(__pthread_attr_setaffinity_old): Remove const.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 06:36:06 +0000 (06:36 +0000)]
Update.

* sysdeps/unix/sysv/linux/smp.h: New file.
* sysdeps/unix/sysv/linux/sh/smp.h: New file.
* init.c: Define __is_smp.
(__pthread_initialize_minimal_internal): Call is_smp_system to
initialize __is_smp.
* pthreadP.h: Declare __is_smp.
Define MAX_ADAPTIVE_COUNT is necessary.
* pthread_mutex_init.c: Add comment regarding __spins field.
* pthread_mutex_lock.c: Implement adaptive mutex type.
* pthread_mutex_timedlock.c: Likewise.
* sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_mutex_t):
Add __spins field.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Define
lll_mutex_cond_trylock.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise.
Define BUSY_WAIT_NOP.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.

* tst-mutex5.c: Add support for testing adaptive mutexes.
* tst-mutex7.c: Likewise.
* tst-mutex5a.c: New file.
* tst-mutex7a.c: New file.
* Makefile (tests): Add tst-mutex5a and tst-mutex7a.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 01:56:21 +0000 (01:56 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
(__lll_mutex_timedlock_wait): Preserve r8 and r9 since the
vgettimeofday call miht destroy the content.