summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-12-19 22:31:24 +0000
committerChris Larson <clarson@kergoth.com>2003-12-19 22:31:24 +0000
commit5496e81f106aefb7ad2e9bed4ee898a1e3f8d9be (patch)
treed930d5d96991aeb12b53bda5ebc265b86fc7bfa0
parent4c0bfe156e42601fe75fcdfb6e36d4e6b7197451 (diff)
Fixups for the glibc build. Install the kernel headers into sys-include in glibc-initial as well as glibc to fix a problem with building an i386-linux crosscompiler. Also import a newer glibc 2.3.2 patchset from debian
's package pool. BKrev: 3fe37c3cgArHHqFEDVnEZyqfCf4ovQ
-rw-r--r--glibc/glibc-2.3.2/10_cvs.patch177223
-rw-r--r--glibc/glibc-2.3.2/11_shlib-lds.patch0
-rw-r--r--glibc/glibc-2.3.2/50_glibc232-hppa-full-nptl-2003-10-22.patch0
-rw-r--r--glibc/glibc-2.3.2/80_glibc232-locales-nb_NO-fix.patch0
-rw-r--r--glibc/glibc-2.3.2/90_glibc232-statvfs.patch0
-rw-r--r--glibc/glibc-2.3.2/90_glibc232-timezones.patch0
-rw-r--r--glibc/glibc-2.3.2/arm-ioperm.patch0
-rw-r--r--glibc/glibc-2.3.2/arm-no-hwcap.patch11
-rw-r--r--glibc/glibc-2.3.2/glibc-2.3.2-ldconfig-tls.patch0
-rw-r--r--glibc/glibc-2.3.2/glibc-i686-timing.patch0
-rw-r--r--glibc/glibc-2.3.2/glibc-make-check-perms.patch0
-rw-r--r--glibc/glibc-2.3.2/glibc23-01-hppa-dl-machine.patch305
-rw-r--r--glibc/glibc-2.3.2/glibc23-cmov.patch36
-rw-r--r--glibc/glibc-2.3.2/glibc23-errno-hack.patch0
-rw-r--r--glibc/glibc-2.3.2/glibc23-errno.patch36
-rw-r--r--glibc/glibc-2.3.2/glibc23-libio-compat.patch0
-rw-r--r--glibc/glibc-2.3.2/glibc23-mips-msq.patch0
-rw-r--r--glibc/glibc-2.3.2/glibc23-powerpc-sigcontext.patch0
-rw-r--r--glibc/glibc-2.3.2/glibc23-sparc-pread64.patch0
-rw-r--r--glibc/glibc-2.3.2/glibc23-sse-oldkernel.patch0
-rw-r--r--glibc/glibc-2.3.2/glibc23-version-sanity.patch0
-rw-r--r--glibc/glibc-2.3.2/glibcbug.patch22
-rw-r--r--glibc/glibc-2.3.2/hppa-syscall.patch0
-rw-r--r--glibc/glibc-2.3.2/ldconfig.patch37
-rw-r--r--glibc/glibc-2.3.2/ldso-disable-hwcap.patch0
-rw-r--r--glibc/glibc-2.3.2/makeconfig.patch15
-rw-r--r--glibc/glibc-2.3.2/nptl-pthread-once.patch0
-rw-r--r--glibc/glibc-2.3.2/pthread-cleanup.patch0
-rw-r--r--glibc/glibc-initial_2.3.2.oe48
-rw-r--r--glibc/glibc_2.3.2.oe129
30 files changed, 177799 insertions, 63 deletions
diff --git a/glibc/glibc-2.3.2/10_cvs.patch b/glibc/glibc-2.3.2/10_cvs.patch
index e69de29bb2..5a84b37896 100644
--- a/glibc/glibc-2.3.2/10_cvs.patch
+++ b/glibc/glibc-2.3.2/10_cvs.patch
@@ -0,0 +1,177223 @@
+--- glibc-2.3.2/CANCEL-FILE-WAIVE 1969-12-31 19:00:00.000000000 -0500
++++ glibc-2.3.2/CANCEL-FILE-WAIVE 2003-09-02 05:24:58.000000000 -0400
+@@ -0,0 +1,33 @@
++mkdtemp.os
++tmpnam.os
++tmpnam_r.os
++__assert.os
++assert.os
++assert-perr.os
++gconv_builtin.os
++gconv_simple.os
++gconv.os
++iconv.os
++strfmon.os
++strfmon_l.os
++argp-xinl.os
++iofdopen.os
++printf_fp.os
++printf_fphex.os
++printf_size.os
++strxfrm.os
++strxfrm_l.os
++strcoll.os
++strcoll_l.os
++alphasort.os
++alphasort64.os
++set-freeres.os
++btowc.os
++wctob.os
++mblen.os
++strops.os
++wstrops.os
++fmemopen.os
++closedir.os
++hsearch.os
++hsearch_r.os
+--- glibc-2.3.2/ChangeLog 2003-02-28 20:10:14.000000000 -0500
++++ glibc-2.3.2/ChangeLog 2003-09-20 09:40:33.000000000 -0400
+@@ -1,3 +1,5919 @@
++2003-09-19 Ulrich Drepper <drepper@redhat.com>
++
++ * elf/Makefile ($(objpfx)librtld.os): Create link map also for
++ final build to ease quality control.
++
++ * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): If compiled for
++ ld.so, don't include NULL buffer pointer handling.
++
++2003-09-19 Jakub Jelinek <jakub@redhat.com>
++
++ * dlfcn/dlopen.c (dlopen): Add static_link_warning.
++
++2003-09-18 Jakub Jelinek <jakub@redhat.com>
++
++ * libio/memstream.c (open_memstream): Use _IO_init instead of
++ _IO_old_init.
++
++2003-09-17 Ulrich Drepper <drepper@redhat.com>
++
++ * sysdeps/generic/wordexp.c (eval_expr_val): Use strtol since we
++ have to recognize octal and hexadecimal numbers as well. Simplify
++ function, signs are handled in strtol.
++ * posix/wordexp-test.c: Add tests for octal and hexadecimal
++ numbers in arithmetic expressions.
++
++2003-09-17 Jakub Jelinek <jakub@redhat.com>
++
++ * elf/Makefile (distribute): Add tst-alignmod.c.
++ (tests): Add tst-align.
++ (modules-names): Add tst-alignmod.
++ (CFLAGS-tst-align.c, CFLAGS-tst-alignmod.c): Add
++ $(stack-align-test-flags).
++ ($(objpfx)tst-align): Depend on libdl.
++ ($(objpfx)tst-align.out): Depend on tst-alignmod.so.
++ * elf/tst-align.c: New file.
++ * elf/tst-alignmod.c: New file.
++ * misc/Makefile (CFLAGS-tst-tsearch.c): Add $(stack-align-test-flags).
++ * misc/tst-tsearch.c: Include tst-stack-align.h.
++ (stack_align_check): New array.
++ (cmp_fn, walk_action): Use TEST_STACK_ALIGN ().
++ (main): Report error if stack was not enough aligned
++ in cmp_fn or walk_action.
++ * stdlib/Makefile (CFLAGS-tst-qsort.c): Add $(stack-align-test-flags).
++ * stdlib/tst-qsort.c: Include tst-stack-align.h.
++ (align_check): New var.
++ (compare): Use TEST_STACK_ALIGN () macro.
++ (main): Report error if stack was not enough aligned in compare.
++ * sysdeps/i386/i686/Makefile (stack-align-test-flags): Remove
++ unneeded -mpreferred-stack-boundary=4.
++ * sysdeps/x86_64/tst-stack-align.h: New file.
++
++ * libio/memstream.c (_IO_wmem_jumps): Remove unused structure.
++ (_IO_wmem_sync, _IO_wmem_finish): Remove unused functions.
++
++2003-09-17 Philip Blundell <philb@gnu.org>
++
++ * sysdeps/arm/dl-machine.h (CALL_ROUTINE): Deleted.
++ (BX): Define.
++ (ELF_MACHINE_RUNTIME_TRAMPOLINE): Optimise a little.
++
++ * sysdeps/arm/sysdep.h (DO_RET): New.
++
++ * sysdeps/unix/sysv/linux/arm/vfork.S: Add #error if __NR_vfork
++ required but not defined. Improve test of error code.
++
++2003-09-17 Jakub Jelinek <jakub@redhat.com>
++
++ * sysdeps/i386/Makefile (stack-align-test-flags): Add
++ -malign-double -mpreferred-stack-boundary=4.
++
++2003-09-17 Ulrich Drepper <drepper@redhat.com>
++
++ * sysdeps/posix/utimes.c (__utimes): Truncate instead of round.
++ * sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise.
++
++2003-09-15 Jakub Jelinek <jakub@redhat.com>
++
++ * sysdeps/i386/Makefile (sysdep-CFLAGS): If not in math or csu
++ subdir, add -mpreferred-stack-boundary=4, with few exceptions.
++
++2003-09-17 Jakub Jelinek <jakub@redhat.com>
++
++ * Makeconfig (stack-align-test-flags): Set.
++ * stdlib/Makefile (CFLAGS-tst-bsearch.c): Add
++ $(stack-align-test-flags).
++ * stdlib/tst-bsearch.c: Include tst-stack-align.h.
++ (align_check): New var.
++ (comp): Use TEST_STACK_ALIGN macro.
++ (do_test): Fail if align_check != 1.
++ * sysdeps/generic/tst-stack-align.h: New file.
++ * sysdeps/i386/i686/Makefile (stack-align-test-flags): Add -msse.
++ * sysdeps/i386/i686/tst-stack-align.h: New file.
++
++2003-09-17 Ulrich Drepper <drepper@redhat.com>
++
++ * sysdeps/unix/sysv/linux/i386/clone.S: Make sure child gets a
++ stack which is aligned (mod 16).
++
++2003-09-17 Uwe Reimann <Uwe_Reimann@gmx.net>
++ Hans-Peter Nilsson <hp@axis.com>
++
++ * sysdeps/cris/dl-machine.h (elf_machine_type_class): Classify
++ R_CRIS_GLOB_DAT as ELF_RTYPE_CLASS_PLT. Clarify comment.
++
++2003-09-17 Jakub Jelinek <jakub@redhat.com>
++
++ * dirent/scandir.c: Include bits/libc-lock.h.
++ (struct scandir_cancel_struct): New type.
++ (cancel_handler): New function.
++ (SCANDIR): Add __libc_cleanup_{push,pop}, save state into
++ scandir_cancel_struct.
++
++2003-09-16 Ulrich Drepper <drepper@redhat.com>
++
++ * sysdeps/unix/sysv/linux/Dist: Remove internal_statvfs.c.
++ * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
++ Add internal_statvfs.
++ * sysdeps/unix/sysv/linux/fstatvfs.c: Call __internal_statvfs
++ instead of including "internal_statvfs.c".
++ * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
++ * sysdeps/unix/sysv/linux/internal_statvfs.c: Make it a real function.
++ Add code to avoid the stat calls on all the reported mount points
++ when we can determine mismatch in advance.
++ * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add AUTOFS_SUPER_MAGIC and
++ USBDEVFS_SUPER_MAGIC.
++
++2003-09-16 Jakub Jelinek <jakub@redhat.com>
++
++ * posix/Versions (sched_getaffinity, sched_setaffinity): Change
++ from GLIBC_2.3.2 to GLIBC_2.3.3 symbol version.
++
++2003-09-16 Bruno Haible <bruno@clisp.org>
++
++ * intl/tst-gettext2.sh: Set GCONV_PATH and LOCPATH only after
++ invoking msgfmt, not before.
++
++2003-09-15 Jakub Jelinek <jakub@redhat.com>
++
++ * argp/argp.h (argp_parse, __argp_parse): Remove __THROW.
++ * argp/Makefile (CFLAGS-argp-help.c, CFLAGS-argp-parse.c): Add
++ $(uses-callbacks).
++ * dirent/Makefile (CFLAGS-scandir.c, CFLAGS-scandir64.c): Likewise.
++ * elf/Makefile (CFLAGS-dl-iterate-phdr.c,
++ CFLAGS-dl-iterate-phdr-static.c): Add $(uses-callbacks).
++ * elf/dl-iteratephdr.c (cancel_handler): New function.
++ (__dl_iterate_phdr): Add __libc_cleanup_{push,pop}.
++ * elf/link.h (dl_iterate_phdr): Remove __THROW.
++ * io/Makefile (CFLAGS-fts.c): Merge into one assignment.
++ Add $(uses-callbacks).
++ (CFLAGS-ftw.c, CFLAGS-ftw64.c): Add $(uses-callbacks).
++ * misc/Makefile (CFLAGS-tsearch.c, CFLAGS-lsearch.c): Change
++ $(exceptions) to $(uses-callbacks).
++ * Makeconfig (uses-callbacks): Set to $(exceptions).
++ * posix/Makefile (CFLAGS-glob.c, CFLAGS-glob64.c): Add
++ $(uses-callbacks).
++ * stdlib/Makefile (CFLAGS-bsearch.c, CFLAGS-msort.c, CFLAGS-qsort.c):
++ Likewise.
++
++2003-09-15 Andreas Schwab <schwab@suse.de>
++
++ * sysdeps/m68k/setjmp.c: Add hidden_def.
++
++2003-09-14 Ulrich Drepper <drepper@redhat.com>
++
++ * libio/memstream.c (open_memstream): Don't allow wide char operations.
++
++ * dirent/dirent.h: Remove __THROW from scandir.
++
++2003-09-14 Philip Blundell <philb@gnu.org>
++
++ * sysdeps/unix/sysv/linux/arm/mmap.S: Use sys_mmap2 if it's known
++ to be available.
++
++ * sysdeps/unix/sysv/linux/arm/mmap64.S: Optimise code a little.
++
++ * sysdeps/arm/memset.S: Rewrite.
++
++2003-09-12 Jakub Jelinek <jakub@redhat.com>
++
++ * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New.
++ (__SSIZE_T_TYPE): Define to __SWORD_TYPE for gcc 2.95.x and
++ __SLONGWORD_TYPE otherwise.
++
++2003-09-14 Ulrich Drepper <drepper@redhat.com>
++
++ * io/Makefile (CFLAGS-ftw.c): Add -fexceptions.
++ (CFLAGS-ftw64.c): Likewise.
++
++2003-09-13 Ulrich Drepper <drepper@redhat.com>
++
++ * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Add -fexceptions.
++ (CFLAGS-nscd_getgr_r.c): Likewise.
++ (CFLAGS-nscd_gethst_r.c): Likewise.
++
++2003-09-12 Ulrich Drepper <drepper@redhat.com>
++
++ * sysdeps/unix/sysv/linux/if_index.c: Use only non-cancelable
++ interfaces.
++
++ * grp/Makefile (CFLAGS-getgrgid_r.c, CFLAGS-getgrnam_r.c,
++ CFLAGS-fgetgrent.c, CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c,
++ CFLAGS-initgroups.c, CFLAGS-getgrgid.c): Add -fexceptions.
++ * inet/Makefile (CFLAGS-either_ntoh.c, CFLAGS-either_hton.c,
++ CFLAGS-getnetgrent.c, CFLAGS-getnetgrent_r.c): Likewise.
++ * io/Makefile (CFLAGS-posix_fallocate.c, CFLAGS-posix_fallocate64.c):
++ Likewise.
++ * misc/Makefile (CFLAGS-err.c): Likewise.
++ * posix/Makefile (CFLAGS-getaddrinfo.c, CFLAGS-spawn.c,
++ CFLAGS-spawnp.c, CFLAGS-spawni.c, CFLAGS-pause.c, CFLAGS-glob.c,
++ CFLAGS-glob64.c): Likewise.
++ * pwd/Makefile (CFLAGS-getpw.c): Likewise.
++ * shadow/Makefile (CFLAGS-fgetspent.c, CFLAGS-fgetspent_r.c,
++ CFLAGS-putspent.c, CFLAGS-getspnam.c, CFLAGS-getspnam_r.c): Likewise.
++ * stdio-common/Makefile (CFLAGS-cuserid.c): Likewise.
++ * sunrpc/Makefile (CFLAGS-openchild.c): Likewise.
++
++ * stdlib/Makefile (CFLAGS-mkstemp.c): Remove definition.
++
++ * libio/stdio.h: Remove __THROW from cuserid prototype.
++
++ * locale/loadarchive.c: Use only non-cancelable interfaces.
++ * resolv/herror.c (herror): Likewise.
++
++ * malloc/hooks.c: Before using IO stream mark stream so it uses
++ only non-cancelable interfaces.
++ * malloc/malloc.c: Likewise.
++ * posix/getopt.c: Likewise.
++
++
++2003-09-11 Jakub Jelinek <jakub@redhat.com>
++
++ * Makerules (LDFLAGS-c.so): Remove -u __register_frame.
++
++2003-09-12 Ulrich Drepper <drepper@redhat.com>
++
++ * stdio-common/stdio_ext.h: Mark most functions with __THROW.
++
++ * misc/err.h: Remove __THROW from all prototypes.
++
++ * posix/getopt.h (__THROW): Define if not already defined. Add
++ __THROW to the getopt functions.
++
++2003-09-11 Ulrich Drepper <drepper@redhat.com>
++
++ * io/Makefile (CFLAGS-lockf.c): Add -fexceptions.
++ (CFLAGS-fts.c): Likewise.
++ * io/fcntl.h: Remove __THROW from lockf prototypes.
++ * io/fts.h: Remove most __THROW.
++
++2003-09-11 H.J. Lu <hongjiu.lu@intel.com>
++
++ * elf/tls-macros.h (TLS_IE): Add a stop bit for ia64.
++ (TLS_LD): Likewise.
++ (TLS_GD): Likewise.
++
++2003-09-11 Jakub Jelinek <jakub@redhat.com>
++
++ * libio/fileops.c (_IO_new_file_overflow): Add INTUSE to
++ _IO_free_backup_area call.
++
++2003-09-10 Chris Demetriou <cgd@broadcom.com>
++
++ * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix
++ syscall invocation.
++ * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
++ * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
++ Also, only assert off_t size is 4 for N32 and O32, and clean up
++ white space.
++ * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
++
++2003-09-10 Roland McGrath <roland@redhat.com>
++
++ * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr):
++ Don't use c_ispeed under [! _HAVE_STRUCT_TERMIOS_C_ISPEED].
++ Don't use c_ospeed under [! _HAVE_STRUCT_TERMIOS_C_OSPEED].
++ * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
++ Reported by Daniel Jacobowitz <drow@mvista.com>.
++
++2003-09-10 Jakub Jelinek <jakub@redhat.com>
++
++ * string/Makefile (strop-tests): Add memccpy.
++ * string/test-memccpy.c: New test.
++
++2003-09-09 Jakub Jelinek <jakub@redhat.com>
++
++ * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): Add
++ siginfo_t * argument before, change into struct ucontext *.
++ (SIGCONTEXT_EXTRA_ARGS): Define to _si,.
++ (GET_PC, GET_FRAME, GET_STACK): Adjust for ctx being a pointer
++ instead of structure.
++ * sysdeps/unix/sysv/linux/x86_64/register-dump.h (REGISTER_DUMP):
++ Likewise.
++
++2003-09-09 Ulrich Drepper <drepper@redhat.com>
++
++ * string/stratcliff.c (main): Check memccpy.
++
++2003-04-11 Jes Sorensen <jes@wildopensource.com>
++
++ * sysdeps/ia64/memccpy.S: When recovering for src_aligned and the
++ character is found during recovery, use correct register when
++ determining the position of the found character.
++
++2003-04-01 Jes Sorensen <jes@wildopensource.com>
++
++ * sysdeps/ia64/memccpy.S: Use speculatively loads for readahead to
++ avoid segfaults when reading from unmapped pages. For aligned
++ reload and continue, for misaligned, roll back and use byte copy.
++ Save ar.ec on entry and restore on exit.
++
++2003-09-09 Chris Demetriou <cgd@broadcom.com>
++
++ * sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining.
++
++2003-09-08 Chris Demetriou <cgd@broadcom.com>
++
++ * sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to
++ the top of the list.
++ * sysdeps/mips/mips64/n64/Implies: Likewise.
++
++2003-09-08 Roland McGrath <roland@frob.com>
++
++ * sysdeps/unix/sysv/linux/speed.c
++ (cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
++ (cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
++ * sysdeps/unix/sysv/linux/bits/termios.h
++ (_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
++ * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
++ * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
++
++2003-09-08 Ulrich Drepper <drepper@redhat.com>
++
++ * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Undo last change.
++ * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
++
++2003-09-08 Jakub Jelinek <jakub@redhat.com>
++
++ * sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit.
++ (__u_quad_t): Make unsigned long int if 64-bit.
++ (__SQUAD_TYPE): Make long int if 64-bit.
++ (__UQUAD_TYPE): Make unsigned long int if 64-bit.
++ * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove.
++
++2003-09-08 Ulrich Drepper <drepper@redhat.com>
++
++ * Makefile (tests): Run check-c++-types.sh if possible.
++ * scripts/check-c++-types.h: New file.
++ * scripts/data/c++-types-i386-linux-gnu.data: New file.
++
++2003-09-08 Andreas Jaeger <aj@suse.de>
++
++ * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
++ Use struct sigcontext.
++
++ * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
++ Use struct sigcontext.
++ (GET_PC): Adopt.
++ (GET_FRAME): Likewise.
++ (GET_STACK): Likewise.
++
++2003-09-08 Wolfram Gloger <wg@malloc.de>
++
++ * malloc/malloc.c (sYSMALLOc): Move foreign sbrk accounting into
++ contiguous case. Bug report from Prem Gopalan <prem@mazunetworks.com>.
++ (mALLOPt): Avoid requirement of C99.
++
++2003-09-08 Ulrich Drepper <drepper@redhat.com>
++
++ * libio/bug-ftell.c: Include <sys/types.h>.
++ (main): Mark cp as const.
++
++2003-09-07 Jakub Jelinek <jakub@redhat.com>
++
++ * sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove.
++ * sysdeps/unix/sysv/linux/x86_64/fcntl.c: Remove.
++
++2003-09-05 Roland McGrath <roland@redhat.com>
++
++ * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Fill in c_ispeed
++ and c_ospeed fields.
++ * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Set c_ospeed field.
++ (cfsetispeed): Set c_ispeed field.
++ * sysdeps/unix/sysv/linux/tcsetattr.c (IBAUD0): Define unconditionally
++ to match corresponding speed.c code.
++
++2003-09-06 Ulrich Drepper <drepper@redhat.com>
++
++ * libio/wfileops.c (_IO_wfile_underflow): Mark beginning of the
++ narrow character buffer.
++ * libio/Makefile: Add rules to build and run bug-ftell.
++ * libio/bug-ftell.c: New file.
++
++ * stdio-common/vfprintf.c: Don't use the first grouping number twice.
++
++ * stdio-common/vfscanf.c (vfscanf): Fix recognition of characters
++ matching the decimal point and possibly leading the thousands
++ separator. This caused the recognition of thousands separators to
++ always fail.
++
++2003-09-05 Ulrich Drepper <drepper@redhat.com>
++
++ * libio/fileops.c (_IO_new_file_overflow): Handle switching to
++ write mode from read in backup buffer.
++ * libio/Makefile (tests): Add bug-ungetc2.
++ * libio/bug-ungetc2.c: New file.
++
++2003-09-05 Roland McGrath <roland@redhat.com>
++
++ * nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.
++
++2003-09-04 Roland McGrath <roland@frob.com>
++
++ * sysdeps/mach/hurd/mmap.c (__mmap): If io_map fails with MIG_BAD_ID,
++ EOPNOTSUPP, or ENOSYS, change it to ENODEV.
++
++2003-09-04 H.J. Lu <hongjiu.lu@intel.com>
++
++ * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ):
++ Fix a typo.
++
++2003-09-05 Andreas Jaeger <aj@suse.de>
++
++ * sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler
++ to make it conforming C.
++ * sysdeps/i386/i486/bits/string.h (__memrchr): Likewise.
++
++ * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Change
++ prototype to use variable argument lists and get the possible one
++ argument via va_arg.
++ * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise.
++ * sysdeps/unix/sysv/linux/x86_64/fcntl.c: New.
++
++2003-09-04 Ulrich Drepper <drepper@redhat.com>
++
++ * posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf.
++
++ * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
++ Report correct value for vxfs.
++ * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define VXFS_SUPER_MAGIC.
++
++ * gmon/gmon.c: Use only not-cancelable syscalls to write profiling
++ data.
++
++ * sysdeps/generic/utmp_file.c: Use not-cancelable syscalls all
++ over the place. It would be allowed to have these functions as
++ cancellation points but the cleanup would be ugly and a lot of
++ work.
++
++ * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Define.
++ * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Define.
++
++ * include/fcntl.h (__fcntl_nocancel): Declare.
++ * sysdeps/unix/sysv/linux/fcntl.c: New file.
++ * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Only enable
++ cancellation if absolutely needed.
++ (__fcntl_nocancel): Define.
++
++ * posix/unistd.h (gethostid): Remove __THROW. Clarify comment.
++ * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gethostid.c): Add
++ -fexceptions.
++ * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use
++ extend_alloca.
++
++ * resolv/res_init.c (__res_nclose): Use close_not_cancel_no_status
++ instead of __close.
++
++ * nss/getXXbyYY.c (FUNCTION_NAME): Add a few casts. Remove
++ unnecessary errno handling.
++
++ * nss/getXXbyYY_r.c (INTERNAL): Use better variable name.
++ Initialize it in all cases. Change it to be a bit more like the
++ code we had before.
++
++2003-09-04 Jakub Jelinek <jakub@redhat.com>
++
++ * libio/fileops.c (_IO_file_read, _IO_new_file_write): Add
++ __builtin_expect.
++ (_IO_file_open): Likewise. Use close_not_cancel.
++
++2003-09-04 Ulrich Drepper <drepper@redhat.com>
++
++ * libio/libio.h: Define _IO_FLAGS2_NOTCANCEL.
++ * libio/fileops.c [_LIBC]: Remove close macro.
++ (_IO_file_open): If _IO_FLAGS2_NOTCANCEL is set, use open_not_cancel.
++ (_IO_new_file_open): Recognize 'c' flag in mode string.
++ (_IO_file_read): If _IO_FLAGS2_NOTCANCEL is set use read_not_cancel.
++ (_IO_new_file_write): If _IO_FLAGS2_NOTCANCEL is set use
++ write_not_cancel.
++ * iconv/gconv_conf.c: Use fopen with 'c' mode flag.
++ * inet/rcmd.c: Likewise.
++ * inet/ruserpass.c: Likewise.
++ * intl/localealias.c: Likewise.
++ * malloc/mtrace.c: Likewise.
++ * misc/getpass.c: Likewise.
++ * misc/getttyent.c: Likewise.
++ * misc/mntent_r.c: Likewise.
++ * misc/getusershell.c: Likewise.
++ * nss/nsswitch.c: Likewise.
++ * resolv/res_hconf.c: Likewise.
++ * resolv/res_init.c: Likewise.
++ * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
++ * time/getdate.c: Likewise.
++ * time/tzfile.c: Likewise.
++ * misc/fstab.h: Undo last change.
++ * misc/mntent.h: Likewise.
++ * misc/Makefile: Remove CFLAGS-mntent_r.c, CFLAGS-mntent.c, and
++ CFLAGS-fstab.c definition.
++
++2003-09-04 Jakub Jelinek <jakub@redhat.com>
++
++ * sysdeps/generic/unwind.h (_Unwind_GetBSP): Add prototype.
++
++2003-09-03 Ulrich Drepper <drepper@redhat.com>
++
++ * nss/getXXbyYY_r.c (INTERNAL): Explicitly set errno and avoid
++ returning ERANGE if this wasn't intended.
++
++2003-09-03 Jakub Jelinek <jakub@redhat.com>
++
++ * intl/loadmsgcat.c (open, close, read, mmap, munmap): Define as
++ function-like macros.
++
++2003-09-03 Ulrich Drepper <drepper@redhat.com>
++
++ * grp/Makefile (CFLAGS-getgrent_r.c): Add -fexceptions.
++ (CFLAGS-getgrent.c): Likewise.
++ * pwd/Makefile (CFLAGS-getpwent_r.c): Add -fexceptions.
++ (CFLAGS-getpwent.c): Likewise.
++ * shadow/Makefile (CFLAGS-getspent_r.c): Add -fexceptions.
++ (CFLAGS-getspent.c): Likewise.
++
++ * inet/Makefile: Add -fexceptions to CFLAGS for the various
++ getXXent and getXXbyYY functions.
++
++ * locale/loadlocale.c: Use not-cancelable variants of open, close,
++ and read.
++
++2003-09-02 Jakub Jelinek <jakub@redhat.com>
++
++ * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
++ rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo and
++ rt_sigpending.
++ * sysdeps/unix/sysv/linux/alpha/sigaction.c (__syscall_rt_sigaction):
++ New prototype.
++ * sysdeps/unix/sysv/linux/arm/syscalls.list (__syscall_*): Remove
++ unused __syscall_ stubs.
++ * sysdeps/unix/sysv/linux/arm/Makefile (sysdep_routines): Remove
++ rt_*.
++ * sysdeps/unix/sysv/linux/cris/Makefile: Removed.
++ * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list
++ (__syscall_recvfrom, __syscall_sendto): Remove unused aliases.
++ * sysdeps/unix/sysv/linux/mips/syscalls.list (__syscall_*): Remove
++ unused __syscall_ stubs.
++ * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Remove rt_*.
++ * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
++ (__syscall_*): Remove unused __syscall_ stubs.
++ * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
++ (__syscall_*): Likewise.
++ * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines): Remove
++ rt_*.
++ * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__syscall_*):
++ Remove unused __syscall_ stubs.
++ * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_routines): Remove rt_*.
++ * sysdeps/unix/sysv/linux/rt_sigaction.c: Removed.
++ * sysdeps/unix/sysv/linux/rt_sigpending.c: Removed.
++ * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Removed.
++ * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Removed.
++ * sysdeps/unix/sysv/linux/rt_sigreturn.c: Removed.
++ * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Removed.
++ * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Removed.
++ * sysdeps/unix/sysv/linux/s_pread64.c: Removed.
++ * sysdeps/unix/sysv/linux/s_pwrite64.c: Removed.
++ * sysdeps/unix/sysv/linux/alpha/gethostname.c: Remove unused
++ __syscall_* prototypes.
++ * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Likewise.
++ * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
++ * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
++ * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
++ * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
++ * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
++ * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
++ * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
++ * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
++ * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
++ * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
++ * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
++ * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
++ * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
++ * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
++ * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
++ * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
++ * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
++ * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
++ * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
++ * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
++ * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
++ * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
++ * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
++ * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
++ * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise.
++ * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
++ * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
++ * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Likewise.
++ * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise.
++ * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise.
++ * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
++ * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
++ * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: Likewise.
++ * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise.
++ * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
++ * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
++ * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
++ * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
++ * sysdeps/unix/sysv/linux/execve.c: Likewise.
++ * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
++ * sysdeps/unix/sysv/linux/reboot.c: Likewise.
++ * sysdeps/unix/sysv/linux/_exit.c: Likewise.
++ * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
++ * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
++ * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
++ * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise.
++ * sysdeps/unix/sysv/linux/readahead.c: Likewise.
++ * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
++ * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
++ * sysdeps/unix/sysv/linux/getdents.c: Likewise.
++ * sysdeps/unix/sysv/linux/readv.c: Likewise.
++ * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
++ * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
++ * sysdeps/unix/sysv/linux/ipc_priv.h: Likewise.
++ * sysdeps/unix/sysv/linux/llseek.c: Likewise.
++ * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
++ * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
++ * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
++ * sysdeps/unix/sysv/linux/ustat.c: Likewise.
++ * sysdeps/unix/sysv/linux/poll.c: Likewise.
++ * sysdeps/unix/sysv/linux/pread64.c: Likewise.
++ * sysdeps/unix/sysv/linux/writev.c: Likewise.
++ * sysdeps/unix/sysv/linux/pread.c: Likewise.
++ * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
++ * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
++ * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
++ * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
++ * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
++ * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
++ * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
++ * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
++ * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
++ * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
++
++2003-09-02 Jakub Jelinek <jakub@redhat.com>
++
++ * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Revert last change.
++ * sysdeps/unix/sysv/linux/powerpc/syscalls.list: New file.
++ * sysdeps/unix/sysv/linux/sparc/syscalls.list: New file.
++
++2003-09-02 Ulrich Drepper <drepper@redhat.com>
++
++ * stdio-common/Makefile (CFLAGS-vprintf.c): Add -fex