external/glibc.git
15 years ago* socket/sys/socket.h: Declare accept4.
Ulrich Drepper [Wed, 3 Dec 2008 04:23:18 +0000 (04:23 +0000)]
* socket/sys/socket.h: Declare accept4.

* socket/accept4.c: New file.
* sysdeps/unix/sysv/linux/accept4.c: New file.
* sysdeps/unix/sysv/linux/i386/accept4.S: New file.
* socket/Makefile (routines): Add accept4.
* socket/Versions: Export accept4 with version GLIBC_2.10.
* socket/paccept.c: Removed.
* sysdeps/unix/sysv/linux/paccept.c: Removed.
* sysdeps/unix/sysv/linux/i386/paccept.S: Removed.
* Versions.def: Define GLIBC_2.10 for libc.
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4.

* nscd/connections.c: Use accept4.

* sysdeps/unix/sysv/linux/i386/socket.S: Fix comment.

15 years ago* resolv/res_send.c (send_dg): Create sockets with non-blocking
Ulrich Drepper [Tue, 2 Dec 2008 06:21:18 +0000 (06:21 +0000)]
* resolv/res_send.c (send_dg): Create sockets with non-blocking

flag already set.

15 years ago* stdlib/Makefile (tests): Add tst-unsetenv1.
Ulrich Drepper [Tue, 2 Dec 2008 02:27:43 +0000 (02:27 +0000)]
* stdlib/Makefile (tests): Add tst-unsetenv1.

* stdlib/tst-unsetenv1.c: New file.

15 years ago* stdlib/setenv.c (unsetenv): Don't search environment if it does
Ulrich Drepper [Tue, 2 Dec 2008 01:40:59 +0000 (01:40 +0000)]
* stdlib/setenv.c (unsetenv): Don't search environment if it does

not exist.

15 years ago* login/utmp_file.c (file_writable): New variable.
Ulrich Drepper [Sun, 30 Nov 2008 06:56:27 +0000 (06:56 +0000)]
* login/utmp_file.c (file_writable): New variable.

(setutent_file): Don't try to open file for writing.
(pututline_file): Before writing, make descriptor writable if
necessary.

15 years ago* sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search
Ulrich Drepper [Thu, 27 Nov 2008 06:31:04 +0000 (06:31 +0000)]
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search

to IPv4 or IPv6 if an interface has been found.

15 years ago* sysdeps/posix/getaddrinfo.c (getaddrinfo): If the system has
Ulrich Drepper [Thu, 27 Nov 2008 00:25:32 +0000 (00:25 +0000)]
* sysdeps/posix/getaddrinfo.c (getaddrinfo): If the system has

neither IPv4 nor IPv6 addresses defined, don't do anything.

15 years agoRegenerated: autoconf configure.in
Ulrich Drepper [Wed, 26 Nov 2008 23:09:12 +0000 (23:09 +0000)]
Regenerated: autoconf  configure.in

15 years ago* sysdeps/mach/strerror_l.c: New file.
Roland McGrath [Wed, 26 Nov 2008 19:45:00 +0000 (19:45 +0000)]
* sysdeps/mach/strerror_l.c: New file.

15 years ago* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ...
Roland McGrath [Wed, 26 Nov 2008 19:20:20 +0000 (19:20 +0000)]
* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ...

* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here.

* sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ...
* sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here.
* sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include.

15 years ago* elf/elf.h (NT_386_IOPERM): New macro.
Roland McGrath [Wed, 26 Nov 2008 09:15:38 +0000 (09:15 +0000)]
* elf/elf.h (NT_386_IOPERM): New macro.

(NT_PPC_VSX): New macro.

15 years agoMoved alpha to ports repository.
Roland McGrath [Wed, 26 Nov 2008 07:26:32 +0000 (07:26 +0000)]
Moved alpha to ports repository.

2008-11-25  Roland McGrath  <roland@redhat.com>

* sysdeps/alpha, sysdeps/unix/bsd/osf/alpha,
sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha,
sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha,
sysdeps/mach/alpha, sysdeps/mach/hurd/alpha:
Subdirectories moved to ports repository.
* configure.in (base_machine): Remove alpha case.

15 years ago.
Ulrich Drepper [Mon, 17 Nov 2008 14:13:14 +0000 (14:13 +0000)]
.

15 years ago[BZ #6411]
Ulrich Drepper [Mon, 17 Nov 2008 02:49:45 +0000 (02:49 +0000)]
[BZ #6411]

2008-11-13  Ryan S. Arnold  <rsa@us.ibm.com>
[BZ #6411]
* sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr.
* sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace
magic numbers.
* sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically
choose mtfsf insn based on PPC_FEATURE_HAS_DFP.
(relax_fenv_state): Same as above.
(FPSCR_29): Reserve bit in ISA 2.05.
(FPSCR_NI): Provide define for compat.
* sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace
magic numbers.
* sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace
magic numbers.
* sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file.  Test case to
test setcontext and swapcontext with dynamic 64-bit FPSCR detection.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust
access to hwcap to account for hwcap size increase to uint64_t.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ):
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
(*setcontext): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
(*setcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size
increase to uint64_t.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
(*swapcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP.  Adjust access to hwcap to account for hwcap size
increase to uint64_t.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
(*setcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
(*swapcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP.

15 years ago* include/features.h (__GLIBC_MINOR__): Bump to 9.
Ulrich Drepper [Thu, 13 Nov 2008 21:41:41 +0000 (21:41 +0000)]
* include/features.h (__GLIBC_MINOR__): Bump to 9.

15 years ago* version.h: Bump for 2.9 release.
Ulrich Drepper [Thu, 13 Nov 2008 20:05:26 +0000 (20:05 +0000)]
* version.h: Bump for 2.9 release.

15 years ago[BZ #7029]
Ulrich Drepper [Thu, 13 Nov 2008 19:57:18 +0000 (19:57 +0000)]
[BZ #7029]

2008-11-13  Ulrich Drepper  <drepper@redhat.com>
[BZ #7029]
* sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE):
Multiply with sizeof of __cpu_mask, not 8 unconditionally after
all the rounding.

15 years ago[BZ #7009]
Ulrich Drepper [Wed, 12 Nov 2008 13:41:14 +0000 (13:41 +0000)]
[BZ #7009]

15 years ago* resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Don't abort for
Ulrich Drepper [Wed, 12 Nov 2008 07:52:27 +0000 (07:52 +0000)]
* resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Don't abort for

unknown request types for now.

15 years ago(gaih_getanswer_slice): Don't abort for unknown request types for now.
Ulrich Drepper [Wed, 12 Nov 2008 07:52:20 +0000 (07:52 +0000)]
(gaih_getanswer_slice): Don't abort for unknown request types for now.

15 years ago* sysdeps/x86_64/configure: New file.
Roland McGrath [Tue, 11 Nov 2008 09:50:20 +0000 (09:50 +0000)]
* sysdeps/x86_64/configure: New file.

* configure.in: Add AC_SUBST(libc_cv_cpp_asm_debuginfo).
* configure: Regenerated.

15 years ago2008-11-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 11 Nov 2008 09:50:06 +0000 (09:50 +0000)]
2008-11-11  Roland McGrath  <roland@redhat.com>

* sysdeps/x86_64/configure: New file.

15 years ago* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
Jakub Jelinek [Fri, 7 Nov 2008 15:22:34 +0000 (15:22 +0000)]
* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the

correct instruction to remove the stack frame.
2008-11-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
correct instruction to remove the stack frame.

15 years ago* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq,
Jakub Jelinek [Fri, 7 Nov 2008 15:18:47 +0000 (15:18 +0000)]
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq,

__arch_compare_and_exchange_val_64_acq): Add "memory" clobber.
2008-11-03  Michael Matz  <matz@suse.de>

* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq,
__arch_compare_and_exchange_val_64_acq): Add "memory" clobber.

15 years ago* include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked):
Jakub Jelinek [Fri, 7 Nov 2008 15:13:54 +0000 (15:13 +0000)]
* include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked):

Remove.
* include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked):
Remove.

15 years ago* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address,
Jakub Jelinek [Fri, 7 Nov 2008 15:07:10 +0000 (15:07 +0000)]
* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address,

__libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type
of the thread variable instead of void *.
* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define,
__libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise.
* include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust
__libc_tsd_address arguments.  Remove union hack.
* include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments.
* sunrpc/rpc_thread.c (RPC_VARS): Likewise.
(__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables):
Adjust __libc_tsd_{set,get} arguments.
* ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
* locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get}
arguments.
* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
* locale/global-locale.c (__libc_tsd_LOCALE): Adjust type.
(LOCALE): Adjust __libc_tsd_define arguments.
* locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get
arguments.
(LOCALE): Adjust __libc_tsd_define arguments.
* sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define
arguments.
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
arguments. nptl/
* sysdeps/pthread/malloc-machine.h (MALLOC): Adjust __libc_tsd_define
arguments.
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
arguments.
2008-11-07  Jakub Jelinek  <jakub@redhat.com>

* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address,
__libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type
of the thread variable instead of void *.
* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define,
__libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise.
* include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust
__libc_tsd_address arguments.  Remove union hack.
* include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments.
* sunrpc/rpc_thread.c (RPC_VARS): Likewise.
(__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables):
Adjust __libc_tsd_{set,get} arguments.
* ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
* locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get}
arguments.
* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
* locale/global-locale.c (__libc_tsd_LOCALE): Adjust type.
(LOCALE): Adjust __libc_tsd_define arguments.
* locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get
arguments.
(LOCALE): Adjust __libc_tsd_define arguments.
* sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define
arguments.
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
arguments.

15 years ago* malloc/malloc.c (public_rEALLOc): When new arena is used, copy
Ulrich Drepper [Mon, 3 Nov 2008 08:07:39 +0000 (08:07 +0000)]
* malloc/malloc.c (public_rEALLOc): When new arena is used, copy

really all bytes.  Patch by Denys Vlasenko <dvlasenk@redhat.com>.

15 years ago[BZ #6955]
Ulrich Drepper [Sat, 1 Nov 2008 19:51:41 +0000 (19:51 +0000)]
[BZ #6955]

2008-11-01  Ulrich Drepper  <drepper@redhat.com>
[BZ #6955]
* pthread_mutex_lock.c: Add support for private PI mutexes.
* pthread_mutex_timedlock.c: Likewise.
* pthread_mutex_trylock.c: Likewise.
* pthread_mutex_unlock.c: Likewise.
Patch mostly by Ben Jackson <ben@ben.com>.

15 years ago[BZ #6966]
Ulrich Drepper [Sat, 1 Nov 2008 15:39:48 +0000 (15:39 +0000)]
[BZ #6966]

2008-11-01  Ulrich Drepper  <drepper@redhat.com>
[BZ #6966]
* misc/hsearch_r.c (hsearch_r): Fix secondary hash function.

15 years ago2008-10-24 Joseph Myers <joseph@codesourcery.com>
Ulrich Drepper [Sat, 1 Nov 2008 02:28:57 +0000 (02:28 +0000)]
2008-10-24  Joseph Myers  <joseph@codesourcery.com>

    Ulrich Drepper  <drepper@redhat.com>

* math/tgmath.h (__floating_type): Use __builtin_classify_type in
definition for GCC 3.1 and later.

15 years ago[BZ #6843]
Ulrich Drepper [Sat, 1 Nov 2008 00:20:07 +0000 (00:20 +0000)]
[BZ #6843]

2008-10-31  Ulrich Drepper  <drepper@redhat.com>
[BZ #6843]
* sysdeps/pthread/gai_misc.h (__gai_create_helper_thread):
Increase stack size for helper thread.

15 years ago* elf/dl-tls.c (__tls_get_addr): After calling _dl_update_slotinfo
Ulrich Drepper [Fri, 31 Oct 2008 20:50:16 +0000 (20:50 +0000)]
* elf/dl-tls.c (__tls_get_addr): After calling _dl_update_slotinfo

refetch dtv, as it might have changed.
* elf/Makefile: Add rules to build and run tst-tls18.
* elf/tst-tls18.c: New test.
* elf/tst-tlsmod18a.c: New file.

15 years ago2008-09-09 Aurelien Jarno <aurelien@aurel32.net>
Ulrich Drepper [Fri, 31 Oct 2008 19:14:18 +0000 (19:14 +0000)]
2008-09-09  Aurelien Jarno  <aurelien@aurel32.net>

* iconvdata/gconv-modules: Add LATIN9 as an alias to ISO-8859-15.

2008-10-31  Ulrich Drepper  <drepper@redhat.com>

15 years ago[BZ #6875]
Ulrich Drepper [Fri, 31 Oct 2008 19:06:13 +0000 (19:06 +0000)]
[BZ #6875]

2008-10-31  Ulrich Drepper  <drepper@redhat.com>
[BZ #6875]

15 years ago* iconvdata/gconv-modules: Use LATIN9 as an alias to ISO-8859-15,
Ulrich Drepper [Fri, 31 Oct 2008 19:05:40 +0000 (19:05 +0000)]
* iconvdata/gconv-modules: Use LATIN9 as an alias to ISO-8859-15,

not LATIN-9.

15 years ago[BZ #6867]
Ulrich Drepper [Fri, 31 Oct 2008 19:03:31 +0000 (19:03 +0000)]
[BZ #6867]

* sysdeps/powerpc/elf/rtld-global-offsets.sym: Fix typo.

15 years ago[BZ #6919]
Ulrich Drepper [Fri, 31 Oct 2008 18:51:08 +0000 (18:51 +0000)]
[BZ #6919]

2008-10-31  Ulrich Drepper  <drepper@redhat.com>
[BZ #6919]
* posix/spawnattr_getschedparam.c (posix_spawnattr_getschedparam):
Fix length of copy operation.

15 years ago2008-10-02 Pierre Habouzit <madcoder@debian.org>
Ulrich Drepper [Fri, 31 Oct 2008 17:41:36 +0000 (17:41 +0000)]
2008-10-02  Pierre Habouzit <madcoder@debian.org>

* sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall
and fix its calling convention.

15 years ago[BZ #6942]
Ulrich Drepper [Fri, 31 Oct 2008 17:37:28 +0000 (17:37 +0000)]
[BZ #6942]

2008-10-07  Andreas Schwab  <schwab@suse.de>
[BZ #6942]
* resolv/res_send.c (send_vc): Fix last change.
(send_dg): Align here as well.

15 years ago* resource/Makefile (tests): Add bug-ulimit1.
Ulrich Drepper [Fri, 31 Oct 2008 17:33:50 +0000 (17:33 +0000)]
* resource/Makefile (tests): Add bug-ulimit1.

* resource/bug-ulimit1.c: New file.

15 years ago[BZ #6947]
Ulrich Drepper [Fri, 31 Oct 2008 17:29:46 +0000 (17:29 +0000)]
[BZ #6947]

* sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle UL_GETFSIZE
return value in case rlimit is RLIM_INFINITY.

[BZ #6947]
* sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Fix return value
for UL_SETFSIZE.

15 years ago[BZ #6974]
Ulrich Drepper [Fri, 31 Oct 2008 15:12:51 +0000 (15:12 +0000)]
[BZ #6974]

* sunrpc/rpc_main.c (mkfile_output): Properly handle filename
without dot.  Properly terminate the string with a null byte.
Based on a patch by Aurelien Jarno <aurelien@aurel32.net>.

15 years ago[BZ #6980]
Ulrich Drepper [Fri, 31 Oct 2008 14:27:36 +0000 (14:27 +0000)]
[BZ #6980]

* debug/getgroups_chk.c (__getgroups_chk): Return EINVAL error for
negative sizees.
* posix/bits/unistd.h (getgroups): Call __getgroups_chk for
negative __size.

15 years ago[BZ #6995]
Ulrich Drepper [Fri, 31 Oct 2008 14:19:57 +0000 (14:19 +0000)]
[BZ #6995]

2008-10-31  Ulrich Drepper  <drepper@redhat.com>
[BZ #6995]
* sysdeps/powerpc/powerpc32/dl-machine.c: Fix typo in message.

15 years ago* grp/initgroups.c (internal_getgrouplist): Don't prematurely
Ulrich Drepper [Thu, 30 Oct 2008 16:55:44 +0000 (16:55 +0000)]
* grp/initgroups.c (internal_getgrouplist): Don't prematurely

abort if there is no initgroups_dyn function.

15 years ago* resolv/res_send.c (send_dg): On timeout, only return nonzero
Ulrich Drepper [Thu, 30 Oct 2008 16:00:44 +0000 (16:00 +0000)]
* resolv/res_send.c (send_dg): On timeout, only return nonzero

result if any of the queries really provided an answer.

15 years ago* po/lt.po: Update from translation team.
Ulrich Drepper [Tue, 28 Oct 2008 13:04:33 +0000 (13:04 +0000)]
* po/lt.po: Update from translation team.

15 years ago* po/id.po: Update from translation team.
Ulrich Drepper [Sun, 26 Oct 2008 08:40:59 +0000 (08:40 +0000)]
* po/id.po: Update from translation team.

15 years agoFix tests for existence of second reply.
Ulrich Drepper [Fri, 24 Oct 2008 08:20:04 +0000 (08:20 +0000)]
Fix tests for existence of second reply.

15 years ago* resolv/res_query.c (__libc_res_nquery): Add a few casts.
Ulrich Drepper [Fri, 24 Oct 2008 07:05:38 +0000 (07:05 +0000)]
* resolv/res_query.c (__libc_res_nquery): Add a few casts.

15 years ago* po/id.po: New file.
Ulrich Drepper [Thu, 23 Oct 2008 12:42:18 +0000 (12:42 +0000)]
* po/id.po: New file.

Contributed by the Indonesian translation team.

15 years ago* misc/syslog.c (openlog_internal): Fix __have_sock_cloexec
Ulrich Drepper [Wed, 22 Oct 2008 21:45:13 +0000 (21:45 +0000)]
* misc/syslog.c (openlog_internal): Fix __have_sock_cloexec

initialization.

15 years ago* elf/Makefile: Add rules to build and run tst-tls17.
Ulrich Drepper [Fri, 17 Oct 2008 15:24:10 +0000 (15:24 +0000)]
* elf/Makefile: Add rules to build and run tst-tls17.

* elf/tst-tls17.c: New test.
* elf/tst-tlsmod17a.c: New file.
* elf/tst-tlsmod17b.c: Likewise.

15 years ago* stdlib/divmod_1.c: Use correct type for dummy variable.
Ulrich Drepper [Fri, 17 Oct 2008 08:38:08 +0000 (08:38 +0000)]
* stdlib/divmod_1.c: Use correct type for dummy variable.

* stdlib/mod_1.c: Likewise.

15 years ago* elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV.
Ulrich Drepper [Thu, 16 Oct 2008 21:46:50 +0000 (21:46 +0000)]
* elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV.

15 years ago(_dl_update_slotinfo): Copy all of the initial DTV.
Ulrich Drepper [Thu, 16 Oct 2008 21:45:59 +0000 (21:45 +0000)]
(_dl_update_slotinfo): Copy all of the initial DTV.

15 years ago* sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs.
Jakub Jelinek [Thu, 16 Oct 2008 20:28:45 +0000 (20:28 +0000)]
* sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs.

__nonnull order for C++.
* sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise.
2008-10-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs.
__nonnull order for C++.
* sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise.

15 years ago* stdlib/longlong.h: Update from GCC.
Roland McGrath [Thu, 16 Oct 2008 00:20:57 +0000 (00:20 +0000)]
* stdlib/longlong.h: Update from GCC.

15 years ago2008-10-01 Daniel Jacobowitz <dan@codesourcery.com>
Roland McGrath [Thu, 16 Oct 2008 00:20:51 +0000 (00:20 +0000)]
2008-10-01  Daniel Jacobowitz  <dan@codesourcery.com>

* stdlib/longlong.h: Update from GCC.

15 years ago* sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR,
Jakub Jelinek [Sat, 11 Oct 2008 08:52:58 +0000 (08:52 +0000)]
* sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR,

make sure any registers used with 64-bit 'branch-on-register'
instructions have their top 32-bits clear.
* sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise.
* sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise.
2008-10-09  Jakub Jelinek <jakub@redhat.com>
    David S. Miller  <davem@davemloft.net>

* sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR,
make sure any registers used with 64-bit 'branch-on-register'
instructions have their top 32-bits clear.
* sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise.
* sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise.

15 years ago.
Ulrich Drepper [Mon, 6 Oct 2008 16:48:17 +0000 (16:48 +0000)]
.

15 years ago* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Add memory barrier
Ulrich Drepper [Mon, 6 Oct 2008 16:47:10 +0000 (16:47 +0000)]
* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Add memory barrier

to force runp->refcntr to be read from memory.

15 years ago[BZ #6942]
Ulrich Drepper [Mon, 6 Oct 2008 16:29:56 +0000 (16:29 +0000)]
[BZ #6942]

..
2008-09-18  Andreas Schwab  <schwab@suse.de>

[BZ #6942]
* resolv/res_send.c (send_vc): Fix use of unaligned address.
        Properly handle partial reads.

15 years ago(send_vc): Fix use of unaligned address. Properly handle partial reads.
Ulrich Drepper [Mon, 6 Oct 2008 16:29:06 +0000 (16:29 +0000)]
(send_vc): Fix use of unaligned address.  Properly handle partial reads.

15 years ago* elf/elf.h (STO_MIPS_PLT): New.
Roland McGrath [Wed, 1 Oct 2008 19:42:04 +0000 (19:42 +0000)]
* elf/elf.h (STO_MIPS_PLT): New.

(R_MIPS_COPY): New.
(R_MIPS_JUMP_SLOT): New.
(R_MIPS_NUM): Redefine to 128.
(DT_MIPS_PLTGOT): New.
(DT_MIPS_RWPLT): New.
(DT_MIPS_NUM): Redefine to 0x35.

15 years ago2008-10-01 Mark Shinwell <shinwell@codesourcery.com>
Roland McGrath [Wed, 1 Oct 2008 19:41:34 +0000 (19:41 +0000)]
2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>

* elf/elf.h (STO_MIPS_PLT): New.
(R_MIPS_COPY): New.
(R_MIPS_JUMP_SLOT): New.
(R_MIPS_NUM): Redefine to 128.
(DT_MIPS_PLTGOT): New.
(DT_MIPS_RWPLT): New.
(DT_MIPS_NUM): Redefine to 0x35.

15 years ago* timezone/africa: Update from tzdata2008f.
Ulrich Drepper [Wed, 1 Oct 2008 17:12:06 +0000 (17:12 +0000)]
* timezone/africa: Update from tzdata2008f.

* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.

15 years ago* nscd/connections.c: Disable use of paccept for now.
Ulrich Drepper [Tue, 30 Sep 2008 14:17:12 +0000 (14:17 +0000)]
* nscd/connections.c: Disable use of paccept for now.

15 years ago* socket/Versions: Remove paccept export for GLIBC_2.9.
Ulrich Drepper [Mon, 29 Sep 2008 17:08:50 +0000 (17:08 +0000)]
* socket/Versions: Remove paccept export for GLIBC_2.9.

* socket/Makefile (routines): Remove paccept.
* socket/sys/socket.h: Remove paccept declaration.

15 years ago* po/sv.po: Update from translation team.
Ulrich Drepper [Mon, 29 Sep 2008 14:58:11 +0000 (14:58 +0000)]
* po/sv.po: Update from translation team.

15 years agoUpdate from translation team.
Ulrich Drepper [Mon, 29 Sep 2008 14:58:03 +0000 (14:58 +0000)]
Update from translation team.

15 years ago* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
Andreas Jaeger [Tue, 23 Sep 2008 18:50:28 +0000 (18:50 +0000)]
* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,

lll_robust_lock, lll_cond_lock, lll_robust_cond_lock,
lll_timedlock, lll_robust_timedlock, lll_unlock,
lll_robust_unlock): Promote private to int.
2008-09-08  Richard Guenther  <rguenther@suse.de>

* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
lll_robust_lock, lll_cond_lock, lll_robust_cond_lock,
lll_timedlock, lll_robust_timedlock, lll_unlock,
lll_robust_unlock): Promote private to int.

15 years ago* sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi.
Ulrich Drepper [Tue, 23 Sep 2008 17:17:42 +0000 (17:17 +0000)]
* sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi.

* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.

15 years ago* locales/en_GB: Set first weekday and workday to 2.
Ulrich Drepper [Wed, 17 Sep 2008 13:07:01 +0000 (13:07 +0000)]
* locales/en_GB: Set first weekday and workday to 2.

15 years ago* dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag.
Ulrich Drepper [Wed, 17 Sep 2008 03:12:41 +0000 (03:12 +0000)]
* dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag.

Patch by Olivier Fourdan <ofourdan@redhat.com>.

15 years ago* locales/nl_AW: New file.
Ulrich Drepper [Tue, 16 Sep 2008 21:25:18 +0000 (21:25 +0000)]
* locales/nl_AW: New file.

* SUPPORTED (SUPPORTED-LOCALES): Add nl_AW.UTF-8.

15 years ago* SUPPORTED (SUPPORTED-LOCALES): Add en_AG.UTF-8.
Ulrich Drepper [Tue, 16 Sep 2008 20:48:01 +0000 (20:48 +0000)]
* SUPPORTED (SUPPORTED-LOCALES): Add en_AG.UTF-8.

15 years ago* locales/en_AG: New file.
Ulrich Drepper [Tue, 16 Sep 2008 20:47:08 +0000 (20:47 +0000)]
* locales/en_AG: New file.

15 years ago* locales/ht_HT: New file.
Ulrich Drepper [Tue, 16 Sep 2008 05:33:16 +0000 (05:33 +0000)]
* locales/ht_HT: New file.

* SUPPORTED: Add ht_HT.UTF-8.

15 years ago* locales/en_GB: Change dom_tel_fmt to %A %l.
Ulrich Drepper [Tue, 16 Sep 2008 05:11:05 +0000 (05:11 +0000)]
* locales/en_GB: Change dom_tel_fmt to %A %l.

* locales/de_DE: Likewise.

15 years ago* SUPPORTED (SUPPORTED-LOCALES): Add sd_IN.
Ulrich Drepper [Tue, 16 Sep 2008 00:14:42 +0000 (00:14 +0000)]
* SUPPORTED (SUPPORTED-LOCALES): Add sd_IN.

* locales/sd_IN: New file.
Contributed by Pravin Satpute <psatpute@redhat.com>.

* locales/sd_IN@devanagari: Fix locale name.
* locales/ks_IN@devanagari: Likewise.

* locales/sd_IN@devanagari: New file.
* locales/ks_IN@devanagari: New file.

15 years ago* sunrpc/rpc/svc.h: Declare svcfd_create.
Ulrich Drepper [Mon, 15 Sep 2008 22:46:48 +0000 (22:46 +0000)]
* sunrpc/rpc/svc.h: Declare svcfd_create.

Patch by Michael Solberg <msolberg@redhat.com>.

* hurd/hurd/signal.h (HURD_MSGPORT_RPC): Fix a typo.

15 years ago2008-09-12 Flavio Leitner <fleitner@redhat.com>
Ulrich Drepper [Fri, 12 Sep 2008 18:19:17 +0000 (18:19 +0000)]
2008-09-12  Flavio Leitner  <fleitner@redhat.com>

            Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c (public_vALLOc): Try other arenas in case
_int_valloc fails.
(public_pVALLOc): Likewise.

15 years ago(public_vALLOc): Try other arenas in case _int_valloc fails. (public_pVALLOc): Likewise.
Ulrich Drepper [Fri, 12 Sep 2008 18:18:25 +0000 (18:18 +0000)]
(public_vALLOc): Try other arenas in case _int_valloc fails. (public_pVALLOc): Likewise.

15 years agoUpdate.
Andreas Jaeger [Tue, 2 Sep 2008 14:26:58 +0000 (14:26 +0000)]
Update.

2008-09-02  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Fix last
commit.

15 years agoFix last commit.
Andreas Jaeger [Tue, 2 Sep 2008 14:26:45 +0000 (14:26 +0000)]
Fix last commit.

15 years ago* SUPPORTED (SUPPORTED-LOCALES): Add ks_IN@devnagari and
Ulrich Drepper [Mon, 1 Sep 2008 21:08:11 +0000 (21:08 +0000)]
* SUPPORTED (SUPPORTED-LOCALES): Add ks_IN@devnagari and

sd_IN@devanagari.

15 years ago[BZ #6856, BZ #6857]
Ulrich Drepper [Mon, 1 Sep 2008 21:00:35 +0000 (21:00 +0000)]
[BZ #6856, BZ #6857]

2008-09-01  Ulrich Drepper  <drepper@redhat.com>
[BZ #6857]
* sd_IN@devanagari: New file.
Contributed by Pravin Satpute <psatpute@redhat.com>.

[BZ #6856]
* ks_IN@devanagari: New file.
Contributed by Pravin Satpute <psatpute@redhat.com>.

15 years agoSindhi language locale for India using Devanagari script.
Ulrich Drepper [Mon, 1 Sep 2008 20:58:09 +0000 (20:58 +0000)]
Sindhi language locale for India using Devanagari script.

15 years ago[BZ #6860]
Roland McGrath [Tue, 26 Aug 2008 19:11:03 +0000 (19:11 +0000)]
[BZ #6860]

15 years ago2008-08-26 Aurelien Jarno <aurelien@aurel32.net>
Roland McGrath [Tue, 26 Aug 2008 19:10:41 +0000 (19:10 +0000)]
2008-08-26  Aurelien Jarno  <aurelien@aurel32.net>

        * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Fix a typo.

15 years ago* Makefile (check-data): Check data directory in add-ons.
Roland McGrath [Tue, 19 Aug 2008 00:19:03 +0000 (00:19 +0000)]
* Makefile (check-data): Check data directory in add-ons.

* elf/Makefile (check-data): Likewise.

15 years ago* configure.in (--with-cpu): Check compiler support for -march/-mcpu.
Roland McGrath [Mon, 18 Aug 2008 09:42:25 +0000 (09:42 +0000)]
* configure.in (--with-cpu): Check compiler support for -march/-mcpu.

* configure: Regenerated.
* config.make.in (cflags-cpu): New substituted variable.
(with-cpu): Variable removed.
* Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu).

15 years ago2008-08-18 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 18 Aug 2008 09:42:17 +0000 (09:42 +0000)]
2008-08-18  Roland McGrath  <roland@redhat.com>

* configure.in (--with-cpu): Check compiler support for -march/-mcpu.
* configure: Regenerated.
* config.make.in (cflags-cpu): New substituted variable.
(with-cpu): Variable removed.
* Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu).

15 years ago[BZ #6845]
Ulrich Drepper [Sun, 17 Aug 2008 07:34:10 +0000 (07:34 +0000)]
[BZ #6845]

2008-08-14  Ryan S. Arnold  <rsa@us.ibm.com>
[BZ #6845]
* sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new
__signbitl definition and __LONG_DOUBLE_128__ guard from:
* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as
redundant.  Functions which call floating point assembler operations
should go into a sysdeps powerpc/fpu directory.

15 years ago* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK.
Ulrich Drepper [Fri, 15 Aug 2008 22:35:53 +0000 (22:35 +0000)]
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK.

* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.

15 years ago* sysdeps/x86_64/memset.S: Reduce size of tables for PIC.
Ulrich Drepper [Thu, 14 Aug 2008 18:58:04 +0000 (18:58 +0000)]
* sysdeps/x86_64/memset.S: Reduce size of tables for PIC.

15 years ago* sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all
Ulrich Drepper [Thu, 14 Aug 2008 17:11:07 +0000 (17:11 +0000)]
* sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all

change related to AT_EXECFN.  We cannot use that string.
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
_dl_execfn member.
* elf/dl-support.c: Remove _dl_execfn variable.
(_dl_aux_init): Remove handling of AT_EXECFN.
* elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN.
* elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN.

15 years ago[BZ #6544]
Ulrich Drepper [Thu, 14 Aug 2008 06:37:17 +0000 (06:37 +0000)]
[BZ #6544]

* libio/fmemopen.c: Implement binary mode.  In this mode no NUL
byte gets added to writes and seeks from the end use the length of
the buffer and not the currently terminating NUL byte.

15 years ago[BZ #6634]
Ulrich Drepper [Thu, 14 Aug 2008 04:23:40 +0000 (04:23 +0000)]
[BZ #6634]

2008-08-13  Ulrich Drepper  <drepper@redhat.com>
[BZ #6634]
* login/utmp_file.c (getutent_r_file): Take additional parameter.
Set to true if locking failed.
(getutid_r_file): Adjust caller.
(pututline_file): Likewise.  Return NULL in this case.
Patch mostly by halesh.s@gmail.com.