about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-09-1713-25/+179
| | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-09-172-2/+9
| | | | | | | 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).
* Update.Ulrich Drepper2003-09-174-4/+145
| | | | | | | 2003-09-16 Ulrich Drepper <drepper@redhat.com> * attr.c (pthread_getattr_np): Correctly fill in the stack-related values for the initial thread.
* Update.Ulrich Drepper2003-09-174-2/+46
| | | | | | | | | | | | | | | | 2003-09-17 Jakub Jelinek <jakub@redhat.com> * pthread.c (manager_thread): Remove static, add attribute_hidden. (thread_self_stack): Rename to... (__pthread_self_stack): ... this. Remove static. (pthread_handle_sigcancel): Use check_thread_self (). (pthread_handle_sigrestart): Likewise. * sighandler.c (__pthread_sighandler, __pthread_sighandler_rt): Likewise. * descr.h (manager_thread): Declare. * internals.h (__pthread_self_stack): New prototype. (__manager_thread): Define. (check_thread_self): New function.
* (manager_thread): Remove static, add attribute_hidden. (thread_self_stack): ↵Ulrich Drepper2003-09-171-22/+4
| | | | Rename to... (__pthread_self_stack): ... this. Remove static. (pthread_handle_sigcancel): Use check_thread_self (). (pthread_handle_sigrestart): Likewise.
* 2003-09-17 Uwe Reimann <Uwe_Reimann@gmx.net>Roland McGrath2003-09-171-0/+6
| | | | | | | 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 Uwe Reimann <Uwe_Reimann@gmx.net> Hans-Peter Nilsson <hp@axis.com>Roland McGrath2003-09-171-6/+14
| | | | | * sysdeps/cris/dl-machine.h (elf_machine_type_class): Classify R_CRIS_GLOB_DAT as ELF_RTYPE_CLASS_PLT. Clarify comment.
* Update.Ulrich Drepper2003-09-172-10/+49
| | | | | | | | | | 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.
* Update.Ulrich Drepper2003-09-179-43/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-09-1615-16/+65
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* (argp_parse, __argp_parse): Remove __THROW.Ulrich Drepper2003-09-161-2/+2
|
* * sysdeps/m68k/setjmp.c: Add hidden_def.Andreas Schwab2003-09-151-0/+4
|
* Add hidden_def.Andreas Schwab2003-09-151-0/+3
|
* Update.Ulrich Drepper2003-09-152-1/+3
| | | | * libio/memstream.c (open_memstream): Don't allow wide char operations.
* Update.Ulrich Drepper2003-09-145-62/+115
| | | | | | | | | | | | | | | 2003-09-14 Ulrich Drepper <drepper@redhat.com> * 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.
* Update.Ulrich Drepper2003-09-146-0/+173
| | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-09-132-12/+16
| | | | | * sysdeps/unix/sysv/linux/if_index.c: Use only non-cancelable interfaces.
* Update.Ulrich Drepper2003-09-1223-51/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-12 Ulrich Drepper <drepper@redhat.com> * 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.
* Update.Ulrich Drepper2003-09-113-1/+15
| | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-09-114-3/+10
| | | | | | | | 2003-09-11 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/pt-machine.h [MEMORY_BARRIER]: Use lwsync. [READ_MEMORY_BARRIER]: Define. [WRITE_MEMORY_BARRIER]: Define.
* Update.Ulrich Drepper2003-09-111-0/+4
| | | | | | 2003-09-11 Ulrich Drepper <drepper@redhat.com> * pthread_mutex_lock.c: Minor code rearrangements.
* Minor code rearrangements.Ulrich Drepper2003-09-111-16/+14
|
* * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): FixRoland McGrath2003-09-105-39/+48
| | | | | | | | | 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.
* * sysdeps/pthread/pthread-functions.h (struct pthread_functions): MoveRoland McGrath2003-09-102-3/+10
| | | | | ptr___pthread_cond_timedwait to the end of the structure to avoid breaking Wine unnecessarily.
* * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr):Roland McGrath2003-09-101-0/+8
| | | | | | | 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 Roland McGrath <roland@redhat.com>Roland McGrath2003-09-102-6/+10
| | | | | | | | * 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>.
* Update.Ulrich Drepper2003-09-103-3/+301
| | | | | | | 2003-09-10 Jakub Jelinek <jakub@redhat.com> * string/Makefile (strop-tests): Add memccpy. * string/test-memccpy.c: New test.
* Update.Ulrich Drepper2003-09-093-11/+21
| | | | | | | | | | | | | | | | | 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. * sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining. * sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to the top of the list. * sysdeps/mips/mips64/n64/Implies: Likewise.
* Update.Ulrich Drepper2003-09-092-7/+62
| | | | | | | | | | | | | | | | | | | 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.
* (main): Check memccpy.Ulrich Drepper2003-09-091-1/+38
|
* 2003-09-08 Chris Demetriou <cgd@broadcom.com>Roland McGrath2003-09-093-2/+8
| | | | | | * sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to the top of the list. * sysdeps/mips/mips64/n64/Implies: Likewise.
* 2003-09-09 Chris Demetriou <cgd@broadcom.com>Roland McGrath2003-09-092-0/+5
| | | | * sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining.
* * sysdeps/unix/sysv/linux/speed.cRoland McGrath2003-09-0952-1020/+1718
| | | | | | | | | (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 Roland McGrath <roland@frob.com>Roland McGrath2003-09-094-3/+15
| | | | | | | | | | * 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.
* Update.Ulrich Drepper2003-09-095-84/+149
| | | | | | | | | 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. * scripts/data/c++-types-i386-linux-gnu.data: New file.
* Update.Ulrich Drepper2003-09-0918-161/+130
| | | | | | | | | | | | | | | | | | 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++-ctypes-i386-linux-gnu.data: New file. contiguous case. Bug report from Prem Gopalan <prem@mazunetworks.com>.
* Script to check non-changing C++ type name mangling.Ulrich Drepper2003-09-081-0/+107
|
* * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): Andreas Jaeger2003-09-083-82/+93
| | | | | | | | | | | | | | | | | | | 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 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.
* Update.Ulrich Drepper2003-09-083-6/+14
| | | | | | | | | 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.
* Update.Ulrich Drepper2003-09-082-1/+7
| | | | | | | 2003-09-08 Ulrich Drepper <drepper@redhat.com> * libio/bug-ftell.c: Include <sys/types.h>. (main): Mark cp as const.
* Update.Ulrich Drepper2003-09-073-2/+5
| | | | | | | 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.
* Update.Ulrich Drepper2003-09-061-1/+0
|
* Update.Ulrich Drepper2003-09-0611-30/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> >>>>>>> 1.7905 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define VXFS_SUPER_MAGIC.
* (_IO_new_file_overflow): Handle switching to write mode from read of backup ↵Ulrich Drepper2003-09-061-6/+17
| | | | buffer.
* * nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.Roland McGrath2003-09-052-2/+16
| | | | | | | 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-05 Roland McGrath <roland@redhat.com>Roland McGrath2003-09-051-1/+0
| | | | * nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.
* Update.Ulrich Drepper2003-09-051-0/+5
| | | | | | | 2003-09-04 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ): Fix a typo.
* (MINSIGSTKSZ): Fix a typo.Ulrich Drepper2003-09-051-2/+2
|
* Update.Andreas Jaeger2003-09-053-6/+13
| | | | | | * sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler to make it conforming C. * sysdeps/i386/i486/bits/string.h (__memrchr): Likewise.
* Update.Andreas Jaeger2003-09-052-0/+2
| | | | * sysdeps/unix/sysv/linux/x86_64/fcntl.c: New.