Roland McGrath [Wed, 11 Feb 2004 01:02:11 +0000 (01:02 +0000)]
2004-02-10 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/configure.in: Move `retcode' check to ...
* sysdeps/mach/configure.in: ... here.
* sysdeps/mach/hurd/configure: Regenerated.
* sysdeps/mach/configure.in: Regenerated.
Ulrich Drepper [Tue, 10 Feb 2004 21:57:59 +0000 (21:57 +0000)]
(_i18n_number_rewrite): Few more changes to make the code smaller.
Ulrich Drepper [Tue, 10 Feb 2004 08:02:07 +0000 (08:02 +0000)]
Update.
2004-02-10 Ulrich Drepper <drepper@redhat.com>
* stdio-common/_i18n_number.h: Finish last patch.
Ulrich Drepper [Tue, 10 Feb 2004 01:56:53 +0000 (01:56 +0000)]
Update.
2004-02-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/i686/memcmp.S: New file. Patch by HJ Lu.
Ulrich Drepper [Tue, 10 Feb 2004 01:55:34 +0000 (01:55 +0000)]
memcmp optimized for i686.
Roland McGrath [Mon, 9 Feb 2004 21:46:48 +0000 (21:46 +0000)]
* sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old
for vm86@GLIBC_2.0 version. Add new vm86@GLIBC_2.3.4.
* sysdeps/unix/sysv/linux/i386/Versions (libc: GLIBC_2.3.4): Add vm86.
* sysdeps/unix/sysv/linux/i386/sys/vm86.h: Update vm86 prototype.
Roland McGrath [Mon, 9 Feb 2004 21:46:35 +0000 (21:46 +0000)]
2003-12-05 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old
for vm86@GLIBC_2.0 version. Add new vm86@GLIBC_2.3.4.
* sysdeps/unix/sysv/linux/i386/Versions (libc: GLIBC_2.3.4): Add vm86.
* sysdeps/unix/sysv/linux/i386/sys/vm86.h: Update vm86 prototype.
Ulrich Drepper [Mon, 9 Feb 2004 21:24:16 +0000 (21:24 +0000)]
#Update.
2004-02-09 Ulrich Drepper <drepper@redhat.com>
* nis/ypclnt.c: Cleanup last patch.
Ulrich Drepper [Mon, 9 Feb 2004 21:19:19 +0000 (21:19 +0000)]
Cleanup last patch.
Andreas Jaeger [Mon, 9 Feb 2004 20:58:22 +0000 (20:58 +0000)]
* configure.in: Remove glibcbug creation.
* configure: Regenerated.
* configure.in: Remove glibcbug creation.
* configure: Regenerated.
Andreas Jaeger [Mon, 9 Feb 2004 20:47:09 +0000 (20:47 +0000)]
Update.
2004-02-09 Andreas Jaeger <aj@suse.de>
* sysdeps/x86_64/fpu/s_copysignf.S: Only load 4 bytes.
Andreas Jaeger [Mon, 9 Feb 2004 20:46:36 +0000 (20:46 +0000)]
Only load 4 bytes.
Roland McGrath [Mon, 9 Feb 2004 20:33:35 +0000 (20:33 +0000)]
* nis/ypclnt.c (__yp_bind_client_create): New, small chunk
of duplicated code from __yp_bind.
(__yp_bind_file): New, binding dir code from __yp_bind.
(__yp_bind_client_create): New, ypbind code from __yp_bind.
(__ypclnt_call): New, make NIS query.
(do_ypcall): At first use cached data, then try data from
binding directory, after this ask ypbind for a working ypserv.
Based on a patch from Jeff Bastian <jmbastia@ti.com> and
Chris Barrera <cbarrera@ti.com>
Roland McGrath [Mon, 9 Feb 2004 20:20:23 +0000 (20:20 +0000)]
* configure.in: Don't set CCVERSION.
* configure: Regenerated.
* glibcbug.in: File removed.
* Makefile (install-bin-script): Remove glibcbug.
(glibcbug): Target removed.
(distclean-1): Don't rm glibcbug.
(distribute): Remove glibcbug.in.
Roland McGrath [Mon, 9 Feb 2004 20:16:34 +0000 (20:16 +0000)]
* time/tzset.c (tzset_internal): Cap hour in POSIX $TZ rule format to
24, not 23.
Roland McGrath [Mon, 9 Feb 2004 20:13:16 +0000 (20:13 +0000)]
* io/ftwtest-sh: Use $tmp consistently, not literal /tmp.
Reported by Kevin P. Fleming <kpfleming@backtobasicsmgmt.com>.
Roland McGrath [Mon, 9 Feb 2004 20:12:23 +0000 (20:12 +0000)]
2004-01-29 Roland McGrath <roland@redhat.com>
* io/ftwtest-sh: Use $tmp consistently, not literal /tmp.
Reported by Kevin P. Fleming <kpfleming@backtobasicsmgmt.com>.
Ulrich Drepper [Mon, 9 Feb 2004 20:10:14 +0000 (20:10 +0000)]
[BZ #7]
#Update.
2004-02-09 Ulrich Drepper <drepper@redhat.com>
* libio/genops.c (_IO_cleanup): Do not use locking when flushing
the buffers. Some thread might be using a stream.
* sysdeps/x86_64/memcpy.S: Fix alignment [BZ #7].
Ulrich Drepper [Mon, 9 Feb 2004 20:08:44 +0000 (20:08 +0000)]
(_IO_cleanup): Do not use locking when flushing the buffers. Some thread might be using a stream.
Andreas Jaeger [Mon, 9 Feb 2004 18:21:32 +0000 (18:21 +0000)]
Update.
2004-02-09 Andreas Jaeger <aj@suse.de>
PR 7
* sysdeps/x86_64/memcpy.S: Fix alignment.
Patch by Jan Beulich <jbeulich@novell.com>.
Andreas Jaeger [Mon, 9 Feb 2004 18:21:04 +0000 (18:21 +0000)]
PR 7
* sysdeps/x86_64/memcpy.S: Fix alignment.
Patch by Jan Beulich <jbeulich@novell.com>.
Andreas Schwab [Mon, 9 Feb 2004 10:47:53 +0000 (10:47 +0000)]
* include/rpc/rpc.h: Declare thread variables with their correct
type.
* sunrpc/clnt_perr.c: Don't cast thread variables.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/svcauth_des.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_raw.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
2004-02-09 Andreas Schwab <schwab@suse.de>
* include/rpc/rpc.h: Declare thread variables with their correct
type.
* sunrpc/clnt_perr.c: Don't cast thread variables.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/svcauth_des.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_raw.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
Ulrich Drepper [Mon, 9 Feb 2004 10:05:22 +0000 (10:05 +0000)]
Update.
* stdio-common/_i18n_number.h: Support printing localized decimal
point and thousand separator.
* wctype/wctrans.c: Add __wctrans alias.
* include/wctype.h: Declare __wctrans.
Based on a patch by Hamed Malek.
Ulrich Drepper [Mon, 9 Feb 2004 08:21:19 +0000 (08:21 +0000)]
[BZ #10]
Update.
2004-02-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Don't touch bits
other than the status bits [BZ #10].
Ulrich Drepper [Mon, 9 Feb 2004 07:39:42 +0000 (07:39 +0000)]
Update.
Make stream locking operations really work.
* misc/Makefile (CFLAGS-mntent_r.c): Define.
* shadow/Makefile (CFLAGS-fgetspent_r.c): Define.
(CFLAGS-putspent.c): Define.
* grp/Makefile (CFLAGS-fgetgrent_r.c): Define.
(CFLAGS-putgrent.c): Define.
* pwd/Makefile (CFLAGS-fgetpwent_r.c): Define.
Reported by Shunichi Sagawa <s-sagawa@jp.fujitsu.com>.
Ulrich Drepper [Mon, 9 Feb 2004 07:10:19 +0000 (07:10 +0000)]
Update.
* elf/dl-load.c (lose): Use noinline attribute instead of silly
alloca to prevent inlining.
* elf/dl-runtime.c (fixup): Likewise.
(profile_fixup): Likewise.
Ulrich Drepper [Sun, 8 Feb 2004 08:27:03 +0000 (08:27 +0000)]
Update.
2004-02-08 Ulrich Drepper <drepper@redhat.com>
* stdio-common/printf_size.c: Undo parts of patch from 2000-2-11.
Initialize width correctly.
Ulrich Drepper [Sun, 8 Feb 2004 08:23:19 +0000 (08:23 +0000)]
Undo parts of patch from 2000-2-11. Initialize width correctly.
Andreas Jaeger [Sat, 7 Feb 2004 16:27:50 +0000 (16:27 +0000)]
Fix last commit.
Andreas Jaeger [Sat, 7 Feb 2004 15:57:44 +0000 (15:57 +0000)]
Update.
2004-02-07 Andreas Jaeger <aj@suse.de>
* iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as
lvalue.
(internal_ucs4le_loop_single): Likewise.
(ucs4_internal_loop): Likewise.
(BODY): Likewise.
(internal_ucs4_loop_single): Likewise.
* iconvdata/iso8859-1.c (BODY): Likewise.
* iconvdata/cp1255.c (EMIT_SHIFT_TO_INIT): Likewise.
* iconvdata/cp1258.c (EMIT_SHIFT_TO_INIT): Likewise.
* iconvdata/gb18030.c (BODY): Likewise.
* iconvdata/armscii-8.c (BODY): Likewise.
* stdlib/msort.c (msort_with_tmp): Likewise.
* iconv/gconv_open.c (__gconv_open): Remove conditional expression
as lvalue.
Andreas Jaeger [Sat, 7 Feb 2004 15:56:44 +0000 (15:56 +0000)]
* iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as
lvalue.
(internal_ucs4le_loop_single): Likewise.
(ucs4_internal_loop): Likewise.
(BODY): Likewise.
(internal_ucs4_loop_single): Likewise.
Ulrich Drepper [Sat, 7 Feb 2004 06:37:42 +0000 (06:37 +0000)]
Update.
2004-02-06 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc32/dl-machine.c: Declare __cache_line_size as
weak extern.
(__elf_machine_runtime_setup): Invalidate the instruction cache over
the whole range of the PLT.
Ulrich Drepper [Fri, 6 Feb 2004 18:30:34 +0000 (18:30 +0000)]
Update.
2004-02-06 Andreas Schwab <schwab@suse.de>
* posix/regcomp.c (build_range_exp): Fix off-by-one.
(parse_bracket_exp): Likewise.
Ulrich Drepper [Thu, 5 Feb 2004 21:00:13 +0000 (21:00 +0000)]
Update.
2004-02-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Define
_HAVE_STAT_NSEC and _HAVE_STAT64_NSEC. Patch by Anton Blanchard.
Ulrich Drepper [Mon, 2 Feb 2004 20:10:21 +0000 (20:10 +0000)]
#Update.
2004-02-02 Paolo Bonzini <bonzini@gnu.org>
* posix/regexec.c (check_matching): Add P_MATCH_FIRST parameter.
(re_search_internal): Pass new parameter to check_matching.
(check_matching): Unless a parenthesized group is found at the
beginning of the regexp, advance P_MATCH_FIRST until we entered
a state different from the initial state.
Ulrich Drepper [Sun, 1 Feb 2004 19:23:10 +0000 (19:23 +0000)]
Update.
* math/libm-test.inc (lround_test): Add new test.
(llround_test): Likewise.
(lrint_test): Likewise.
(llrint_test): Likewise.
* sysdeps/ieee754/dbl-64/s_lround.c (__lround): Fix special case
with result taking up 20 bits.
* sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
* sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise..
* sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Fix special
case with result taking up 31 bits.
* sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
Ulrich Drepper [Sun, 1 Feb 2004 18:07:44 +0000 (18:07 +0000)]
Update.
2004-02-01 Ulrich Drepper <drepper@redhat.com>
* po/nl.po: Update from translation team.
Ulrich Drepper [Fri, 30 Jan 2004 20:44:00 +0000 (20:44 +0000)]
Update.
2004-01-30 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_BREAK,
FPE_DECOVF, FPE_DECDIV, FPE_DECERR, FPE_INVASC, FPE_INVDEC,
SEGV_PSTKOVF): Remove underscore prefix from definition.
Ulrich Drepper [Fri, 30 Jan 2004 05:22:32 +0000 (05:22 +0000)]
Update.
2004-01-28 Paolo Bonzini <bonzini@gnu.org>
Merge regex changes in gawk.
* posix/regcomp.c (build_range_exp) [!_LIBC]: Check validity
of collation elements.
* posix/regex.c: Include limits.h.
* posix/regex.h: Document REG_ECOLLATE correctly.
* posix/regex_internal.h [!_LIBC && !ENABLE_NLS]: Disable NLS.
Ulrich Drepper [Fri, 30 Jan 2004 05:19:45 +0000 (05:19 +0000)]
(build_range_exp) [!_LIBC]: Check validity of collation elements.
Roland McGrath [Fri, 30 Jan 2004 01:58:22 +0000 (01:58 +0000)]
(Tools for Compilation): Grammar fixes.
Ulrich Drepper [Wed, 28 Jan 2004 03:54:31 +0000 (03:54 +0000)]
Update.
2004-01-24 Andreas Jaeger <aj@suse.de>
* malloc/obstack.h: Import gnulib version.
* malloc/obstack.c: Likewise.
Ulrich Drepper [Tue, 27 Jan 2004 21:30:46 +0000 (21:30 +0000)]
Update.
2004-01-26 David Mosberger <davidm@hpl.hp.com>
* elf/link.h (struct dl_phdr_info): Fix typo in comment.
* elf/rtld.c (dl_main): After incrementing dl_nloaded, also
increment dl_load_adds.
* elf/dl-iteratephdr.c (__dl_iterate_phdr): Replace GL(dl_load_subs)
with equivalent GL(dl_load_adds - GL(dl_nloaded).
(dl_iterate_phdr): Likewise.
* elf/dl-close.c (_dl_close): Delete increment of GL(dl_load_subs).
* elf/dl-support.c: Remove global variable _dl_load_subs.
* sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
_dl_load_subs member.
2004-01-27 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (_dl_start_final): Don't set l_relro_* here.
(_dl_start): And neither here.
(dl_main): Set GL(dl_loaded)->l_relro_* and
GL(dl_rtld_map)->l_relro_*.
Ulrich Drepper [Sat, 24 Jan 2004 20:12:10 +0000 (20:12 +0000)]
Update.
2004-01-23 David Mosberger <davidm@hpl.hp.com>
* sysdeps/generic/ldsodefs.h (struct rtld_global): Add members
_dl_load_adds and _dl_load_subs.
* elf/dl-support.c (_dl_load_adds): New variable.
(_dl_load_subs): Likewise.
* elf/dl-object.c (_dl_new_object): Increment dl_load_adds.
* elf/dl-close.c (_dl_close): Increment dl_load_subs.
* elf/link.h (struct dl_phdr_info): Add members dlpi_adds and
dlpi_subs.
* include/link.h: Likewise.
* elf/dl-iteratephdr.c (__dl_iterate_phdr): Initialize dlpi_adds
and dlpi_subs members.
(dl_iterate_phdr): Likewise.
* elf/tst-dlmodcount.c: New file.
* elf/Makefile (distribute): Mention tst-dlmodcount.c.
(tests): If build-shared, mention tst-dlmodcount.
($(objpfx)tst-dlmodcount): If build-shared, build and
run tst-dlmodcount.
Ulrich Drepper [Sat, 24 Jan 2004 08:36:13 +0000 (08:36 +0000)]
Update.
2004-01-22 Jakub Jelinek <jakub@redhat.com>
* elf/dl-reloc.c (_dl_relocate_object): Move PT_GNU_RELRO protection
into...
(_dl_protect_relro): New routine.
* sysdeps/generic/ldsodefs.h (_dl_protect_relro): New prototype.
* elf/rtld.c (_dl_start_final): Copy l_relro_addr and l_relro_size
from bootstrap_map.
(_dl_main): Don't set GL(_dl_loaded)->l_relro_{addr,size} here.
Call _dl_protect_relro for libraries if prelinking.
Ulrich Drepper [Sat, 24 Jan 2004 08:33:05 +0000 (08:33 +0000)]
(_dl_relocate_object): Move PT_GNU_RELRO protection into... (_dl_protect_relro): New routine.
Richard Henderson [Fri, 23 Jan 2004 21:08:08 +0000 (21:08 +0000)]
* Versions.def (libm): Replace GLIBC_2.3.3 with GLIBC_2.3.4. * sysdeps/alpha/fpu/Versions (libm): Likewise. * sysdeps/alpha/fpu/cfloat-compat.h (cfloat_versions): Likewise. * sysdeps/alpha/fpu/s_clog10f.c (clog10f): Likewise.
2004-01-23 Richard Henderson <rth@redhat.com>
* Versions.def (libm): Replace GLIBC_2.3.3 with GLIBC_2.3.4.
* sysdeps/alpha/fpu/Versions (libm): Likewise.
* sysdeps/alpha/fpu/cfloat-compat.h (cfloat_versions): Likewise.
* sysdeps/alpha/fpu/s_clog10f.c (clog10f): Likewise.
Andreas Jaeger [Fri, 23 Jan 2004 13:17:52 +0000 (13:17 +0000)]
* sysdeps/ieee754/dbl-64/e_pow.c (log2): Rename to my_log2 to
avoid warnings for builtin function log2.
2004-01-22 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Thu, 22 Jan 2004 08:17:42 +0000 (08:17 +0000)]
Add proper unwind information.
2004-01-22 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/setcontext.S: Add proper unwind
information.
Ulrich Drepper [Wed, 21 Jan 2004 06:23:26 +0000 (06:23 +0000)]
Update.
* sysdeps/unix/sysv/linux/sys/epoll.h: Add EPOLLONESHOT.
* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
Patch by Davide Libenzi.
Ulrich Drepper [Wed, 21 Jan 2004 02:03:13 +0000 (02:03 +0000)]
Update.
* allocatestack.c: Pretty printing.
Ulrich Drepper [Wed, 21 Jan 2004 01:47:11 +0000 (01:47 +0000)]
Update.
2004-01-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/createthread.c (create_thread): Don't add
CLONE_DETACHED bit if it is not necessary.
Ulrich Drepper [Wed, 21 Jan 2004 01:30:36 +0000 (01:30 +0000)]
Update
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_NO_CLONE_DETACHED for 2.6.2+ kernels.
Ulrich Drepper [Tue, 20 Jan 2004 23:44:55 +0000 (23:44 +0000)]
Update.
* catgets/Makefile ($(objpfx)de.msg): Run sed in C locale.
Ulrich Drepper [Tue, 20 Jan 2004 23:25:27 +0000 (23:25 +0000)]
Update.
2004-01-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/readahead.c (__readahead): Use off64_t
instead of loff_t. Include <fcntl.h>.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add readahead prototype.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/cris/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
* elf/dl-load.c: Don't add attribute_relro to max_dirnamelen.
* sysdeps/generic/inttypes.h: Fix PRI*FAST{16,32} macros.
* include/unistd.h (__libc_enable_secure): Mark attribute_relro.
(__libc_enable_secure_internal): Likewise.
* elf/dl-load.c: Don't declare __libc_stack_end.
* sysdeps/generic/libc-start.c: Likewise.
* sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
* sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h.
* sysdeps/generic/backtrace.c: Likewise.
Ulrich Drepper [Mon, 19 Jan 2004 22:05:36 +0000 (22:05 +0000)]
Update.
2003-12-31 Bruno Haible <bruno@clisp.org>
* iconvdata/iso_6937-2.c (to_ucs4): Map 0x7E to U+007E, not U+203E.
Map 0xA6 to U+0023. Map 0xA8 to U+00A4.
(to_ucs4_comb): Map 0xC5 0x20 to U+00AF.
(from_ucs4): Map U+00ED to 0xC2 0x69, not 0xC2 0xE9.
(BODY for TO_LOOP): Don't map U+02DC. Map U+02DD to 0xCD 0x20, not
0x00 0x20. Don't map U+2500..U+25E3.
Ulrich Drepper [Mon, 19 Jan 2004 20:17:24 +0000 (20:17 +0000)]
Update.
2004-01-19 Jakub Jelinek <jakub@redhat.com>
* posix/regexec.c (get_subexp): Remove bkref_str variable.
Extend buffers if needed before comparisons.
(get_subexp_sub): Handle clean_state_log_if_needed failure.
Ulrich Drepper [Sat, 17 Jan 2004 18:39:29 +0000 (18:39 +0000)]
Update.
2004-01-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/i486/bits/atomic.h (atomic_add): Fix test for using
atomic_decrement. Patch by Davin McCall.
Ulrich Drepper [Sat, 17 Jan 2004 18:35:16 +0000 (18:35 +0000)]
(atomic_add): Fix test for using atomic_decrement.
Roland McGrath [Sat, 17 Jan 2004 01:39:06 +0000 (01:39 +0000)]
* sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions)
(__sim_disabled_exceptions, __sim_round_mode): Declare with
hidden data and nocommon.
* sysdeps/powerpc/nofpu/soft-supp.h (__sim_exceptions)
(__sim_disabled_exceptions, __sim_round_mode): Use
libc_hidden_proto.
* sysdeps/powerpc/soft-fp/sfp-machine.h (__sim_exceptions)
(__sim_disabled_exceptions, __sim_round_mode): Likewise.
Roland McGrath [Sat, 17 Jan 2004 01:38:55 +0000 (01:38 +0000)]
2004-01-13 Daniel Jacobowitz <drow@mvista.com>
* sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions)
(__sim_disabled_exceptions, __sim_round_mode): Declare with
hidden data and nocommon.
* sysdeps/powerpc/nofpu/soft-supp.h (__sim_exceptions)
(__sim_disabled_exceptions, __sim_round_mode): Use
libc_hidden_proto.
* sysdeps/powerpc/soft-fp/sfp-machine.h (__sim_exceptions)
(__sim_disabled_exceptions, __sim_round_mode): Likewise.
Ulrich Drepper [Fri, 16 Jan 2004 17:23:51 +0000 (17:23 +0000)]
Update.
2004-01-16 Ulrich Drepper <drepper@redhat.com>
* pthread_getattr_np.c: Include ldsodefs.h.
* allocatestack.c: Don't declare __libc_stack_end.
* init.c (__pthread_initialize_minimal_internal): Likewise.
* pthread_getattr_np.c (pthread_getattr_np): Likewise.
Ulrich Drepper [Fri, 16 Jan 2004 10:26:38 +0000 (10:26 +0000)]
Update.
2004-01-16 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h: Define PT_IA_64_HP_OPT_ANOT, PT_IA_64_HP_HSL_ANOT, and
PT_IA_64_HP_STACK.
Ulrich Drepper [Fri, 16 Jan 2004 10:22:21 +0000 (10:22 +0000)]
Define PT_IA_64_HP_OPT_ANOT, PT_IA_64_HP_HSL_ANOT, and PT_IA_64_HP_STACK.
Richard Henderson [Fri, 16 Jan 2004 08:21:37 +0000 (08:21 +0000)]
* include/unistd.h (__libc_enable_secure): Mark attribute_relro. (__libc_enable_secure_internal): Likewise.
* include/unistd.h (__libc_enable_secure): Mark attribute_relro.
(__libc_enable_secure_internal): Likewise.
Richard Henderson [Fri, 16 Jan 2004 08:07:01 +0000 (08:07 +0000)]
* elf/dl-load.c: Don't declare __libc_stack_end. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. * sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h. * sysdeps/generic/backtrace.c: Likewise. linuxthreads/ * attr.c: Include ldsodefs.h. (pthread_getattr_np): Don't declare __libc_stack_end. nptl/ * allocatestack.c: Don't declare __libc_stack_end. * init.c (__pthread_initialize_minimal_internal): Likewise. * pthread_getattr_np.c (pthread_getattr_np): Likewise.
2004-01-16 Richard Henderson <rth@redhat.com>
* elf/dl-load.c: Don't declare __libc_stack_end.
* sysdeps/generic/libc-start.c: Likewise.
* sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
* sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h.
* sysdeps/generic/backtrace.c: Likewise.
Ulrich Drepper [Fri, 16 Jan 2004 07:42:45 +0000 (07:42 +0000)]
Update.
2004-01-15 Ulrich Drepper <drepper@redhat.com>
* Versions.def: Add GLIBC_2.3.4.
[SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_getcontext):
[SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_setcontext):
[SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_swapcontext):
[SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_getcontext):
[SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_makecontext):
[SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_setcontext):
Ulrich Drepper [Fri, 16 Jan 2004 07:39:20 +0000 (07:39 +0000)]
Add GLIBC_2.3.4.
Richard Henderson [Fri, 16 Jan 2004 06:04:53 +0000 (06:04 +0000)]
* sysdeps/unix/alpha/sysdep.h: Revert last change.
* sysdeps/unix/alpha/sysdep.h: Revert last change.
2004-01-15 Richard Henderson <rth@redhat.com>
Richard Henderson [Fri, 16 Jan 2004 06:02:52 +0000 (06:02 +0000)]
* sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use !samegp relocation.
* sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use
!samegp relocation.
Richard Henderson [Fri, 16 Jan 2004 05:59:42 +0000 (05:59 +0000)]
* sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal.
* sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal.
2004-01-15 Richard Henderson <rth@redhat.com>
Richard Henderson [Fri, 16 Jan 2004 05:23:05 +0000 (05:23 +0000)]
* sysdeps/alpha/tls.h (tcbhead_t): Add private. (TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN, TLS_TCB_SIZE, TLS_PRE_TCB_SIZE, TLS_TCB_ALIGN, INSTALL_DTV, INSTALL_NEW_DTV, GET_DTV, THREAD_DTV, THREAD_SELF, DB_THREAD_SELF): Match ia64. (TLS_TCB_OFFSET, THREAD_ID, NO_TLS_OFFSET): Remove. (THREAD_GETMEM, THREAD_GETMEM_NC): Simplify. (THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/unix/sysv/linux/alpha/createthread.c (TLS_VALUE): Match ia64.
2004-01-15 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/tls.h (tcbhead_t): Add private.
(TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN, TLS_TCB_SIZE,
TLS_PRE_TCB_SIZE, TLS_TCB_ALIGN, INSTALL_DTV, INSTALL_NEW_DTV,
GET_DTV, THREAD_DTV, THREAD_SELF, DB_THREAD_SELF): Match ia64.
(TLS_TCB_OFFSET, THREAD_ID, NO_TLS_OFFSET): Remove.
(THREAD_GETMEM, THREAD_GETMEM_NC): Simplify.
(THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/unix/sysv/linux/alpha/createthread.c (TLS_VALUE): Match ia64.
Richard Henderson [Fri, 16 Jan 2004 05:04:59 +0000 (05:04 +0000)]
* sysdeps/unix/sysv/linux/alpha/Makefile [stdlib]: Process ucontext-offsets.sym. * sysdeps/unix/sysv/linux/alpha/getcontext.S: New file. * sysdeps/unix/sysv/linux/alpha/makecontext.S: New file. * sysdeps/unix/sysv/linux/alpha/setcontext.S: New file. * sysdeps/unix/sysv/linux/alpha/swapcontext.S: New file. * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: New file.
* sysdeps/unix/sysv/linux/alpha/Makefile [stdlib]: Process
ucontext-offsets.sym.
* sysdeps/unix/sysv/linux/alpha/getcontext.S: New file.
* sysdeps/unix/sysv/linux/alpha/makecontext.S: New file.
* sysdeps/unix/sysv/linux/alpha/setcontext.S: New file.
* sysdeps/unix/sysv/linux/alpha/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: New file.
2004-01-15 Richard Henderson <rth@redhat.com>
Richard Henderson [Fri, 16 Jan 2004 04:59:55 +0000 (04:59 +0000)]
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Prefix stubs with __syscall_, move nop inside, adjust users by +4.
2004-01-15 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Prefix stubs with
__syscall_, move nop inside, adjust users by +4.
Ulrich Drepper [Fri, 16 Jan 2004 04:50:59 +0000 (04:50 +0000)]
Update.
2004-01-14 Steven Munroe <sjmunroe@us.ibm.com>
* include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME]
(_symbol_version): Use C_SYMBOL_DOT_NAME to create '.'ed symbols.
(_default_symbol_version): Use C_SYMBOL_DOT_NAME to create '.'ed
symbols.
* sysdeps/powerpc/Makefile: Add rtld-global-offsets.sym to
gen-as-const-headers.
* sysdeps/powerpc/elf/rtld-global-offsets.sym: New file.
* sysdeps/powerpc/sysdep.h: Define v# symbols for vector registers.
Define PPC_FEATURE_* masks for Aux Vector AT_HWCAP.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_SWAPCONTEXT_SYSCALL): Define for PPC and 2.6.0 kernels.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h [!__WORDSIZE == 32]:
Declare mcontext_t inline and include altivec state for 64-bit.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Add GLIBC_2.3.4
versions for setcontext, getcontext, and swapcontext.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Add GLIBC_2.3.4
versions for setcontext, getcontext, swapcontext, and makecontext.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
(__getcontext): Upgrade to save Altivec regs and version GLIBC_2_3_4.
[SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)](__novec_getcontext):
Compatible with GLIBC_2.3.3 release.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
(__makecontext): Use parm save area instead of compiler_dw to hold
context pointer.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
(__setcontext): Upgrade to restore Altivec regs and version
GLIBC_2_3_4.
[SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)](__novec_setcontext):
Compatible with GLIBC_2.3.3 release.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
(__swapcontext): Upgrade to swap Altivec regs and version GLIBC_2_3_4.
[SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)](__novec_swapcontext):
Compatible with GLIBC_2.3.3 release.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h
(SIGCONTEXT_V_REGS_PTR, SIGCONTEXT_V_RESERVE): Defined.
2004-01-12 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Add GLIBC_2.3.4
versions for setcontext, getcontext, swapcontext, and makecontext.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
(__getcontext): Upgrade to save Altivec regs and version GLIBC_2_3_4.
[SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)](__novec_getcontext):
Compatible with GLIBC_2.3.3 release.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
(__makecontext): Upgrade to align for Altivec regs and version
GLIBC_2_3_4.
[SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)](__novec_makecontext):
Compatible with GLIBC_2.3.3 release.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
(__setcontext): Upgrade to restore Altivec regs and version
GLIBC_2_3_4.
[SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)](__novec_setcontext):
Compatible with GLIBC_2.3.3 release.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
(__swapcontext): Upgrade to swap Altivec regs and version GLIBC_2_3_4.
[SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)]
(__novec_swapcontext): Compatible with GLIBC_2.3.3 release.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h:
(_UC_VSCR, _UC_VRSAVE): Define.
(_FRAME_BACKCHAIN, _FRAME_LR_SAVE,_FRAME_PARM_SAVE1,_FRAME_PARM_SAVE2,
_FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4): Defined.
Ulrich Drepper [Fri, 16 Jan 2004 03:03:47 +0000 (03:03 +0000)]
Update.
2004-01-15 Ulrich Drepper <drepper@redhat.com>
* elf/rtld.c: Handle platforms with HP_TIMING_NONAVAIL defined.
Ulrich Drepper [Fri, 16 Jan 2004 02:45:47 +0000 (02:45 +0000)]
Update.
2004-01-16 Alfred M. Szmidt <ams@kemisten.nu>
* sysdeps/generic/dl-execstack.c (_dl_make_stack_executable): Adjust
parameter type.
Ulrich Drepper [Thu, 15 Jan 2004 22:32:26 +0000 (22:32 +0000)]
Update.
* elf/elf.h: Fix typo in comment.
Ulrich Drepper [Thu, 15 Jan 2004 19:59:44 +0000 (19:59 +0000)]
Update.
* sysdeps/generic/dl-sysdep.c: Initialize __libc_stack_end.
Ulrich Drepper [Thu, 15 Jan 2004 18:04:12 +0000 (18:04 +0000)]
Update.
* elf/rtld.c: Initialize _dl_argv to allow aliasing.
Ulrich Drepper [Thu, 15 Jan 2004 09:46:50 +0000 (09:46 +0000)]
Update.
2004-01-15 Ulrich Drepper <drepper@redhat.com>
* resolv/resolv.h: Add RES_USEBSTRING.
* resolv/res_debug.c (p_option): Add handling for RES_USE_INET6,
RES_ROTATE, RES_NOCHECKNAME, and RES_USEBSTRING.
* resolv/res_init.c (res_setioptions): Recognize ip6-bytestring.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Only perform
bytestring IPv6 lookup with RES_USEBSTRING option is selected.
Otherwise use the two nibble formats.
Ulrich Drepper [Thu, 15 Jan 2004 06:38:27 +0000 (06:38 +0000)]
Update.
2004-01-14 Ulrich Drepper <drepper@redhat.com>
* configure.in: Define HAVE_Z_RELRO if the linker supports -z relro.
* config.h.in: Add entry for HAVE_Z_RELRO.
* include/libc-symbols.h: Define attribute_relro.
* elf/dl-load.c: Add attribute_relro to env_path_list, capstr, ncapstr,
max_capstrlen, and max_dirnamelen definitions.
* elf/rtld.c: Add attribute_relro to _dl_argc, _dl_argv, _dl_skip_args,
load_time, start_time, library_path, preloadlist, version_info,
any_debug.
Remove rtld_total_time. Make it a local variable. Pass pointer to
it to print_statistics. Change print_statistics accordingly.
* sysdeps/generic/dl-sysdep.c: Add attribute_relro to _dl_auxv. Use
attribute_relro instead of explicitly assigning variable to the
.data.rel.ro section for __libc_enable_secure and __libc_stack_end.
* sysdeps/generic/ldsodefs.h: Declare __libc_stack_end, _dl_argc,
_dl_argv, _dl_argv_internal with attribute_relro.
Ulrich Drepper [Thu, 15 Jan 2004 06:26:14 +0000 (06:26 +0000)]
Define HAVE_Z_RELRO if the linker supports -z relro.
Roland McGrath [Thu, 15 Jan 2004 01:54:42 +0000 (01:54 +0000)]
* Makerules (gen-as-const): Don't silently continue on failure.
* login/utmp-private.h: Likewise.
Roland McGrath [Thu, 15 Jan 2004 01:54:31 +0000 (01:54 +0000)]
2004-01-13 Segher Boessenkool <boessen@de.ibm.com>
* Makerules (gen-as-const): Don't silently continue on failure.
Ulrich Drepper [Wed, 14 Jan 2004 19:19:47 +0000 (19:19 +0000)]
Define __libc_stack_end with rtld_hidden_data_def.
Ulrich Drepper [Wed, 14 Jan 2004 19:19:33 +0000 (19:19 +0000)]
Update.
2004-01-14 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/generic/dl-sysdep.c: Define __libc_stack_end with
rtld_hidden_data_def.
Ulrich Drepper [Wed, 14 Jan 2004 18:41:22 +0000 (18:41 +0000)]
Update.
2004-01-14 Ulrich Drepper <drepper@redhat.com>
* libio/libio.h: Add const to function tables types.
* libio/libioP.h: Likewise.
* /login/utmp-private.h: Likewise.
* libio/fileops.c: Add const to jump table variable definition.
* libio/genops.c: Likewise.
* libio/iofopncook.c: Likewise.
* libio/iopopen.c: Likewise.
* libio/memstream.c: Likewise.
* libio/obprintf.c: Likewise.
* libio/oldfileops.c: Likewise.
* libio/oldiopopen.c: Likewise.
* libio/strops.c: Likewise.
* libio/vsnprintf.c: Likewise.
* libio/vswprintf.c: Likewise.
* libio/wfileops.c: Likewise.
* libio/wstrops.c: Likewise.
* login/getutent_r.c: Likewise.
* login/getutid_r.c Likewise.
* login/getutline_r.c: Likewise.
* sysdeps/generic/utmp_file.c: Likewise.
Ulrich Drepper [Wed, 14 Jan 2004 08:51:21 +0000 (08:51 +0000)]
Update.
2004-01-14 Ulrich Drepper <drepper@redhat.com>
* init.c (pthread_funtions): Make array const.
Ulrich Drepper [Wed, 14 Jan 2004 05:38:11 +0000 (05:38 +0000)]
Update.
2004-01-09 Bruno Haible <bruno@clisp.org>
* intl/gmo.h (MO_REVISION_NUMBER_WITH_SYSDEP_I): New definition.
* intl/loadmsgcat.c (get_sysdep_segment_value): Handle "I".
(_nl_load_domain): Treat major revision 1 like major revision 0.
2004-01-11 Bruno Haible <bruno@clisp.org>
* stdio-common/vfprintf.c (vfprintf): Disallow the 'I' flag after
width or precision has been seen.
2004-01-08 Bruno Haible <bruno@clisp.org>
* intl/loadmsgcat.c (_nl_load_domain): When a string pair uses a system
dependent segment not known to this version of the library, ignore
the string pair instead of crashing.
Ulrich Drepper [Wed, 14 Jan 2004 04:28:32 +0000 (04:28 +0000)]
Update.
* configure.in: Rewrite test to give gcc to clean up after itself.
Patch by Greg Schafer.
Ulrich Drepper [Wed, 14 Jan 2004 04:11:30 +0000 (04:11 +0000)]
Update.
2004-01-13 Ulrich Drepper <drepper@redhat.com>
* posix/regex.c: Support crappy compilers and platforms which have
problems with alloca.
* posix/regex_internal.h: Likewise.
Patch by Paolo Bonzini.
Ulrich Drepper [Wed, 14 Jan 2004 02:42:20 +0000 (02:42 +0000)]
Update.
2004-01-12 Paolo Bonzini <bonzini@gnu.org>
* posix/regcomp.c [_LIBC && !RE_ENABLE_I18N]:
Drop code to support this, it is never true.
(build_range_exp) [!_LIBC]: Do not create a range
in MBCSET for a single-byte character set.
(build_range_exp) [_LIBC]: Do not create a range
in MBCSET for a single-byte character set without
collation elements.
(init_dfa): Do not conditionalize on _LIBC, it
just makes the code less clear.
(parse_bracket_exp): Use NON_MATCH variable in
addition to "mbcset->non_match", not as an
alternative.
(build_charclass_op): rename NOT parameter to
NON_MATCH, use it instead of declaring a variable.
(parse_bracket_exp) [!_LIBC]: Pass NULL for MBCSET
if the character set is single-byte.
Ulrich Drepper [Wed, 14 Jan 2004 01:45:37 +0000 (01:45 +0000)]
Update.
2004-01-14 Jakub Jelinek <jakub@redhat.com>
* posix/regcomp.c (peek_token_bracket): Check remaining
string length before re_string_peek_byte (x, 1).
(parse_bracket_symbol): Likewise.
* posix/regex_internal.h (re_string_is_single_byte_char): Return
true at last byte in the string.
* posix/bug-regex22.c (main): Add new test.
Ulrich Drepper [Wed, 14 Jan 2004 01:16:07 +0000 (01:16 +0000)]
Update.
* sysdeps/generic/dl-sysdep.c: Move __libc_enable_secure into
.data.rel.ro.
Ulrich Drepper [Wed, 14 Jan 2004 00:24:36 +0000 (00:24 +0000)]
Update.
2004-01-13 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/dl-machine.h: Include <tls.h>.
* elf/rtld.c (_dl_start_final): Initialze __libc_stack_end here.
* sysdeps/generic/dl-sysdep.c: Define __libc_stack_end with
rtld_hidden_def and move into .data.rel.ro section.
* sysdeps/generic/ldsodefs.h: Declare __libc_stack_end with
rtld_hidden_proto.
* sysdeps/generic/libc-start.c: Only initialize __libc_stack_end here
if !SHARED.
* sysdeps/unix/sysv/linux/dl-execstack.c
(_dl_make_stack_executable): Move common code in front. Use
__builtin_expect.
Ulrich Drepper [Tue, 13 Jan 2004 23:15:57 +0000 (23:15 +0000)]
Include <tls.h>.
Roland McGrath [Tue, 13 Jan 2004 21:30:17 +0000 (21:30 +0000)]
2004-01-13 Roland McGrath <roland@redhat.com>
* sysdeps/powerpc/tcb-offsets.sym: Put -- separator line before any
conditionals.
Richard Henderson [Tue, 13 Jan 2004 20:47:01 +0000 (20:47 +0000)]
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typo.
2004-01-13 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typo.
Roland McGrath [Tue, 13 Jan 2004 20:38:58 +0000 (20:38 +0000)]
* sysdeps/powerpc/tcb-offsets.sym: Put -- separator line before any
conditionals.