about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update.Ulrich Drepper2003-07-255-15/+49
| | | | | | | | 2003-07-24 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/aio_cancel.c (aio_cancel): Return AIO_ALLDONE if aiocbp != NULL and has already completed. Return -1/EINVAL if aiocbp->aio_fildes does not match fildes.
* Update.Ulrich Drepper2003-07-252-5/+9
| | | | | * timezone/zic.c (rpytime): Replace cheap overflow check with a functioning one.
* Update.Ulrich Drepper2003-07-2411-22/+231
| | | | | | | | | | | | | | | | | | | | 2003-07-24 Ulrich Drepper <drepper@redhat.com> * include/link.h (struct link_map): Add l_tls_firstbyte_offset field. * sysdeps/generic/dl-tls.c [TLS_TCB_AT_TP] (_dl_determine_tlsoffset): Fix calculation of offsets to take misalignment of first byte in file into account. * elf/dl-load.c (_dl_map_object_from_fd): Initialize l_tls_firstbyte_offset field. * elf/rtld.c (_dl_start_final, _dl_start, dl_main): Likewise. * elf/dl-reloc.c (_dl_allocate_static_tls): Change return type to int. Take l_tls_firstbyte_offset information into account. (CHECK_STATIS_TLS): _dl_allocate_static_tls can fail now. * sysdeps/generic/ldsodefs.h: Adjust _dl_allocate_static_tls prototype. * elf/Makefile: Add rules to build and run tst-tls14. * elf/tst-tls14.c: New file. * elf/tst-tlsmod14a.c: New file. * elf/tst-tlsmod14b.c: New file.
* Update.Ulrich Drepper2003-07-234-152/+19
| | | | | | | | | 2003-07-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/lio_listio.c (LIO_OPCODE_BASE): Define. (lio_listio): Use it. * sysdeps/pthread/lio_listio64.c: Include lio_listio.c instead of after few defines to avoid duplication.
* Update.Ulrich Drepper2003-07-2221-318/+251
| | | | | | | | | | | | | | | | | * include/stdio.h (__libc_fatal): Add libc_hidden_proto. * include/dlfcn.h (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose): Likewise. * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose): Add libc_hidden_def. * sysdeps/generic/libc_fatal.c (__libc_fatal): Likewise. * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Likewise. * elf/Versions (libc): Export __libc_dlopen_mode@@GLIBC_PRIVATE, __libc_dlsym@@GLIBC_PRIVATE and __libc_dlclose@@GLIBC_PRIVATE. * libio/Versions (libc): Export __libc_fatal@@GLIBC_PRIVATE. * sysdeps/generic/unwind-dw2.c: Readd #ifs removed during last change. * sysdeps/generic/unwind.inc: Removed.
* Update.Ulrich Drepper2003-07-2221-34/+285
| | | | | | | | | | | | | | | | 2003-07-22 Jakub Jelinek <jakub@redhat.com> * include/resolv.h (__resp): Declare. Define to __libc_resp if in libc.so. (_res): If USE___THREAD, define to (*__resp). * resolv/res_libc.c (_res): Normal .bss variable with compat_symbol even if USE___THREAD. (__resp): New __thread variable. (__libc_resp): New alias. * resolv/Versions (libc): Export _res@GLIBC_2.0 even if USE_TLS && HAVE___THREAD. Export __resp@@GLIBC_PRIVATE. * sysdeps/generic/res-state.c (__res_state): Return __resp if USE___THREAD.
* Update.Ulrich Drepper2003-07-2215-24/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-22 H.J. Lu <hongjiu.lu@intel.com> * elf/dl-support.c (_dl_hwcap): New variable. (_dl_aux_init): Initialize GL(dl_hwcap) for static binaries. * sysdeps/i386/fpu/fclrexcpt.c: Include <unistd.h>, <ldsodefs.h> and <dl-procinfo.h>. (__feclearexcept): Clear MXCSR if needed. * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Document that newer hardware needs more than these macros. * sysdeps/i386/setfpucw.c: New file. 2003-07-22 Jakub Jelinek <jakub@redhat.com> * elf/Makefile (CFLAGS-ldconfig.c): Define IS_IN_ldconfig. * elf/ldconfig.c: Include dl-procinfo.c. (PROCINFO_CLASS): Define. * sysdeps/generic/ldsodefs.h (PROCINFO_CLASS): Define. * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: New file. * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: New file. * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (PROCINFO_CLASS): Define if not yet defined. Use it instead of EXTERN. Undefine at the end of the file. * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (PROCINFO_CLASS): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c (PROCINFO_CLASS): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c (PROCINFO_CLASS): Likewise. 2003-07-22 H.J. Lu <hongjiu.lu@intel.com> * elf/ldconfig.c (main): Issue a fatal error if relative path is used to build cache. 2003-07-22 Ulrich Drepper <drepper@redhat.com> * elf/readlib.c (process_file): Avoid possible overflow in assignment.
* (process_file): Avoid possible overflow in assignment.Ulrich Drepper2003-07-221-10/+7
|
* * manual/charset.texi (Converting a Character): Fix example code so aRoland McGrath2003-07-221-0/+5
| | | | valid pointer is returned.
* 2003-07-21 Art Haas <ahaas@airmail.net>Roland McGrath2003-07-221-1/+1
| | | | | * manual/charset.texi (Converting a Character): Fix example code so a valid pointer is returned.
* (process_file): Check that file is a shared object.Andreas Jaeger2003-07-221-5/+6
|
* Update.Andreas Jaeger2003-07-221-0/+3
| | | | | * elf/readlib.c (process_file): Check that file is a shared object.
* Update.Andreas Jaeger2003-07-222-3/+8
| | | | | | | * elf/sofini.c (__FRAME_END__): Use attribute used so that gcc will not optimize it away. (__DTOR_END__): Likewise. (__CTOR_END__): Likewise.
* Update.Andreas Jaeger2003-07-221-0/+6
| | | | | | | | 2003-07-22 Andreas Jaeger <aj@suse.de> * include/libc-symbols.h (_elf_set_element): Use attribute used so that gcc will not optimize it away. (link_warning): Likewise.
* Update.Ulrich Drepper2003-07-221-0/+6
| | | | | | | | 2003-07-22 Ulrich Drepper <drepper@redhat.com> * wcsmbs/wcpncpy.c (__wcpncpy): Correct destination pointer handling. * wcsmbs/Makefile (tests): Add tst-wcpncpy. * wcsmbs/tst-wcpncpy.c: New file.
* (_elf_set_element): Use attribute used so that gcc will not optimize it ↵Andreas Jaeger2003-07-221-3/+3
| | | | away. (link_warning): Likewise.
* (tests): Add tst-wcpncpy.Ulrich Drepper2003-07-223-8/+37
|
* Update.Ulrich Drepper2003-07-225-5/+6
| | | | * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_STOPPED): Define.
* Update.Ulrich Drepper2003-07-222-2/+5
| | | | | * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Reverse use of stmxcsr and ldmxcsr.
* Update.Ulrich Drepper2003-07-226-5/+11
| | | | | | | | * sysdeps/i386/fpu/fedisblxcpt.c: Use dl_hwcap, not dl_hwcap_mask. * sysdeps/i386/fpu/feenablxcpt.c: Likewise. * sysdeps/i386/fpu/feholdexcpt.c: Likewise. * sysdeps/i386/fpu/fesetround.c: Likewise. * sysdeps/i386/fpu/ftestexcept.c: Likewise.
* Update.Ulrich Drepper2003-07-216-1/+57
| | | | | | | | | | 2003-07-21 Ulrich Drepper <drepper@redhat.com> * Makerules (build-module-helper): Add -z defs unless explicitly said not to do it. * dlfcn/Makefile: Define various *-no-z-defs variables for test DSOs which has undefined symbols. * elf/Makefile: Likewise.
* Update.Ulrich Drepper2003-07-214-3/+21
| | | | | | | 2003-07-21 HJ Lu <hongjiu.lu@intel.com> * elf/ldconfig.c (search_dir): Treat symlink as regular file if it won't point to itself.
* Update.Ulrich Drepper2003-07-202-2/+6
| | | | | | 2003-07-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int.
* Update.Ulrich Drepper2003-07-203-0/+27
| | | | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO): Fix typo.
* lseek and llseek are no cancellation points.Ulrich Drepper2003-07-201-2/+0
|
* * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called Andreas Jaeger2003-07-203-4/+10
| | | | | | | | | | STANDARD_TO_LOOP_ERR_HANDLER. * iconvdata/euc-jp-ms.c (BODY): Likewise. 2003-07-20 Andreas Jaeger <aj@suse.de> * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called STANDARD_TO_LOOP_ERR_HANDLER. * iconvdata/euc-jp-ms.c (BODY): Likewise.
* Update.Ulrich Drepper2003-07-2012-76/+265
| | | | | | | | | | | | | | | | | | | | 2003-07-20 Ulrich Drepper <drepper@redhat.com> * Makefile (libpthread-routines): Add pthread_attr_getaffinity and pthread_attr_setaffinity. * Versions [libpthread] (GLIBC_2.3.3): Likewise. * sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: New file. * sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: New file. * pthread_attr_destroy.c: Free cpuset element if allocated. * pthread_create.c: Pass iattr as additional parameter to create_thread. * sysdeps/pthread/createthread.c: If attribute is provided and a new thread is created with affinity set or scheduling parameters, start thread with CLONE_STOPPED. * sysdeps/pthread/pthread.h: Declare pthread_attr_getaffinity and pthread_attr_setaffinity. * sysdeps/unix/sysv/linux/internaltypes.h (struct pthread_attr): Add cpuset element.
* Update.Ulrich Drepper2003-07-191-0/+4
| | | | | | 2003-07-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/syscalls.list: Remove affinity syscalls.
* Remove affinity syscalls.Ulrich Drepper2003-07-191-2/+0
|
* Update.Andreas Jaeger2003-07-161-0/+6
| | | | | | | | 2003-07-16 Daniel Jacobowitz <drow@mvista.com> Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to 256K, remove unneeded declaration of __getpagesize.
* 2003-07-16 Daniel Jacobowitz <drow@mvista.com> Andreas Jaeger2003-07-161-3/+2
| | | | | | Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to 256K, remove unneeded declaration of __getpagesize.
* Update.Ulrich Drepper2003-07-162-0/+5
| | | | | | 2003-07-16 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/futimes.c: Include <string.h>.
* Update.Ulrich Drepper2003-07-155-18/+50
| | | | | | 2003-07-15 Ulrich Drepper <drepper@redhat.com> * io/test-utime.c (main): Make test yet more robust.
* Update.Ulrich Drepper2003-07-1527-179/+543
| | | | | | | | | | | | | | | | | | | | | | | | | | | | More cancellation handling fixups. * sysdeps/unix/sysv/linux/not-cancel.h: Add waitpid_not_cancel. * sysdeps/generic/not-cancel.h: Likewise. * catgets/open_catalog.c: Use not-cancelable syscalls. * time/Makefile (CFLAGS-getdate.c): Add -fexceptions. * sysdeps/unix/sysv/linux/llseek.c: Must not be cancelable. * sysdeps/unix/syscalls.list: Don't mark lseek as cancelable. * dlfcn/dlfcn.h: Mark dlopen with __THROW again. * io/fcntl.h: Don't mark posix_fallocate with __THROW. * libio/fileops.c: Use not-cancelable syscalls for fclose. * libio/iopopen.c: Use no-cancelable syscalls. * libio/stdio.h: Mark popen and pclose with __THROW again. * misc/Makefile (CFLAGS-syslog.c): Add -fexceptions. * misc/syslog.c: Fix locking and cancellation cleanup handling. * posix/unistd.h: Mark ttyname and ttyname_r again with __THROW. * stdio-common/Makefile (CFLAGS-tmpfile.c, CFLAGS-tmpfile64.c, CFLAGS-tempname.c): Add -fexceptions. * stdlib/Makefile (CFLAGS-mkstemp.c): Add -fexceptions. * string/string.h: Mark strerror and strerror_r with _THROW again. * sysdeps/generic/unwind.inc: New file. Copied from gcc. * sysdeps/generic/unwind-dw2.c: Update from gcc version. Remove #ifs since we now need all the code compiled. * sysdeps/posix/spawni.c: Use close_not_cancel instead of close. * sysdeps/unix/closedir.c: Use not-cancelable syscalls. * sysdeps/unix/opendir.c: Likewise.
* Update.Ulrich Drepper2003-07-153-8/+17
| | | | | | | 2003-07-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/configure.in: Require CFI directives also for ppc and s390.
* Update.Ulrich Drepper2003-07-156-2/+9673
| | | | | | | | | | | | | | | | 2003-07-14 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile (modules): Add CP932 and EUC-JP-MS. Add rule for EUC-JP-MS dependency. * iconvdata/cp932.c: New file. * iconvdata/eucjp-ms.c: New file. * iconvdata/gconv-modules: Add entries for CP932 and EUC-JP-MS. Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>. 2003-07-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket): Add cfi directives.
* Update.Ulrich Drepper2003-07-144-4/+18
| | | | | | | 2003-07-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Fix typo in test for compilation in libc.
* Update.Ulrich Drepper2003-07-141-0/+8
| | | | | | | | | | 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FIXED_CLONE_SYSCALL): New macro. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Use it. * sysdeps/unix/sysv/linux/utimes.c: Include sysdep.h.
* Update.Ulrich Drepper2003-07-145-7/+36
| | | | | | | 2003-07-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_TGKILL for Alpha appropriately.
* Update.Ulrich Drepper2003-07-124-1/+8
| | | | | | | * sysdeps/unix/sysv/linux/alpha/bits/statfs.h (_STATFS_F_FRSIZE): Likewise. * sysdeps/unix/sysv/linux/s390/bits/statfs.h (_STATFS_F_FRSIZE): Likewise.
* Update.Ulrich Drepper2003-07-121-0/+2
| | | | * sysdeps/unix/sysv/linux/bits/statfs.h (_STATFS_F_FRSIZE): Define.
* Update.Ulrich Drepper2003-07-124-11/+96
| | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMES for x86 and kernels > 2.5.75. * sysdeps/unix/sysv/linux/futimes.c (__futimes): Handle case with second parameter == NULL. * sysdeps/unix/sysv/linux/utimes.c: New file. 2003-07-12 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/futimes.c: Include kernel-features.h. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Fix a typo. 2003-07-12 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2003-07-122-3/+3
| | | | * time/sys/time.h: Namespace cleanup.
* Update.Ulrich Drepper2003-07-123-0/+72
| | | | | | | | 2003-07-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMES for the architectures which always had the syscall. * sysdeps/unix/sysv/linux/futimes.c: New file.
* Update.Ulrich Drepper2003-07-1213-82/+267
| | | | | | | 2003-07-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/socket.S: Save and restore the PR register across CENABLE and CDISABLE.
* Update.Ulrich Drepper2003-07-1110-2/+43
| | | | | | | | | | * sysdeps/unix/sysv/linux/sigwait.c: Include string.h. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. * sysdeps/unix/sysv/linux/sleep.c (__sleep): Cast value to unsigned int before assigning to max to avoid warnings. 2003-07-11 Jakub Jelinek <jakub@redhat.com>
* Update.Ulrich Drepper2003-07-114-1/+39
| | | | | | | | | 2003-07-11 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Add cfi directives. * sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise.
* Update.Ulrich Drepper2003-07-102-1/+6
| | | | | | | 2003-07-10 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc64/elf/start.S: Set section flags of .data.rel.ro.local to "aw".
* Update.Ulrich Drepper2003-07-102-1/+1
| | | | * sysdeps/m68k/Makefile: Remove CLFAGS-.oS addition.
* Update.Ulrich Drepper2003-07-102-1/+8
| | | | | | | 2003-07-10 Ulrich Drepper <drepper@redhat.com> * Makeconfig (CFLAGS-.oS): Use PIC-ccflag instead of pic-ccflag. (PIC-ccflag): Define.