summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* 2002-10-02 Roland McGrath <roland@redhat.com>Roland McGrath2002-10-024-11/+36
| | | | | | | | | | | * sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]: Conditionalize the function definitions on this. * sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]: Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL. * sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]: Likewise. * sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]: Likewise.
* Update.Ulrich Drepper2002-10-025-15/+11
| | | | | | | | 2002-10-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/pt-machine.h: Make C code ifndef'ed with __ASSEMBLER__. * sysdeps/sh/tls.h: Likewise. * sysdeps/unix/sysv/linux/sh/smp.h: New file.
* Update.Ulrich Drepper2002-10-011-0/+55
| | | | | | | | 2002-10-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ, SIGSTKSZ): Changed to match kernel. * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h: New file.
* (MINSIGSTKSZ, SIGSTKSZ): Changed to match kernel.Ulrich Drepper2002-10-011-3/+3
|
* * sysdeps/unix/sysv/linux/hppa/bits/fcntl.hRoland McGrath2002-10-011-0/+7
| | | | | | | | | | [__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros. [__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME, DN_ATTRIB, DN_MULTISHOT): New macros. 2002-02-08 Randolph Chung <tausq@debian.org> * sysdeps/hppa/elf/start.S: Define __data_start.
* 2002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca>Roland McGrath2002-10-011-0/+17
| | | | | | | * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros. [__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME, DN_ATTRIB, DN_MULTISHOT): New macros.
* 2002-10-01 Roland McGrath <roland@frob.com>Roland McGrath2002-10-012-5/+13
| | | | | | | | | | * config.h.in (NO_HIDDEN): New #undef. * include/libc-symbols.h [! NO_HIDDEN]: Add this condition to nonempty definitions of hidden_proto et al. * configure.in: Grok --disable-hidden-plt to define NO_HIDDEN. * configure: Regenerated. * sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN. * sysdeps/mach/hurd/configure: Regenerated.
* Update.Ulrich Drepper2002-10-012-2/+10
| | | | | | | | | | | | | | | 2002-09-19 David Mosberger <davidm@hpl.hp.com> * sysdeps/ia64/dl-fptr.c (make_fdesc): Load address of "local" via a 64-bit gp-relative address to enable binaries with large data sections. 2002-09-30 Ulrich Drepper <drepper@redhat.com> * stdlib/cxa_finalize.c (__cxa_finalize): Call UNREGISTER_ATFORK if it is defined. * posix/Makefile (distribute): Add fork.h. * sysdeps/generic/fork.h: New file.
* Update.Ulrich Drepper2002-09-301-10/+24
| | | | | | | | | 2002-09-29 Bruno Haible <bruno@clisp.org> * sysdeps/generic/utmp_file.c (LOCKING_FAILED): New macro. (UNLOCK_FILE): Add a label. (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file, updwtmp_file): Shut off the alarm clock when locking failed.
* * sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bitsRoland McGrath2002-09-301-2/+5
| | | | from the next quad are needed.
* * elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.Roland McGrath2002-09-305-104/+24
| | | | | | | | | | | | | | | | | | * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD] [! PIC]: Use direct-%fs form of TLS access for errno. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: File removed, since the i386 version has all the same asm now. * sysdeps/i386/elf/configure.in: Add @GOTNTPOFF and @NTPOFF uses to the TLS support check. * sysdeps/i386/elf/configure: Regenerated. * sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno. * sysdeps/unix/i386/sysdep.S (syscall_error) [USE_TLS && HAVE___THREAD]: Use TLS access for errno.
* 2002-09-30 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-301-4/+3
| | | | | * sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno.
* * sysdeps/unix/sysv/linux/x86_64/sysdep.hRoland McGrath2002-09-301-7/+12
| | | | [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access.
* Update.Andreas Jaeger2002-09-301-3/+3
| | | | | | | | | 2002-09-30 Andreas Jaeger <aj@suse.de> * iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Store 4 bytes into errno, not 8 bytes.
* * sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.Roland McGrath2002-09-291-0/+4
| | | | 2002-09-29 Roland McGrath <roland@redhat.com>
* (__sigwait): The return value semantics for sigtimedwait is different. ↵Ulrich Drepper2002-09-291-4/+9
| | | | Rework the return value handling and don't pass in an siginfo variable.
* * sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:Roland McGrath2002-09-291-6/+10
| | | | | | | | | | Define errno in .tbss. * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS access for setting errno. * sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits. AFAICT, it was just blind luck that the word following errno in .bss was just alignment padding and not some other variable to be clobbered.
* 2002-09-29 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-291-1/+11
| | | | | | | * sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Define errno in .tbss. * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS access for setting errno.
* Update.Ulrich Drepper2002-09-291-3/+3
| | | | | | | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SETRESUID_SYSCALL): On the sparc, define to 1, not empty. 2002-09-29 Jakub Jelinek <jakub@redhat.com>
* * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asmRoland McGrath2002-09-293-47/+51
| | | | | | | | | | | | | | | | volatile. (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5, inline_syscall6): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INLINE_SYSCALL): Likewise. 2002-09-29 Roland McGrath <roland@redhat.com> * configure.in (libc_cv_ranlib_necessary check): Put the .o file in the archive, not the .c file. * configure: Regenerated.
* * configure: Regenerated after aclocal.m4 change.Roland McGrath2002-09-297-9/+125
| | | | | | | | | | | | | | | * sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here. * sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP): Define it, because _dl_sym presumes it (for any platform). * sysdeps/x86_64/dl-tls.h: New file. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast. * sysdeps/x86_64/elf/configure.in: New file. * sysdeps/x86_64/elf/configure: New generated file.
* Add __syscall_exit entry point.Ulrich Drepper2002-09-281-0/+1
|
* * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE forRoland McGrath2002-09-284-7/+10
| | | | | | | | | _dl_signal_error. * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise. * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_rela): Likewise.
* (nice): Use getpriority() for the return value.Ulrich Drepper2002-09-284-16/+3
|
* Fix number of args to syscall.Andreas Jaeger2002-09-282-4/+4
|
* Update.Ulrich Drepper2002-09-281-2/+46
| | | | | | | 2002-09-27 Ulrich Drepper <drepper@redhat.com> * locales/zh_TW: Use shorter forms for abday and day. Patch by Rex Tsai <chihchun@kalug.linux.org.tw>.
* * sysdeps/unix/sysv/linux/x86_64/sysdep.hRoland McGrath2002-09-281-4/+8
| | | | | | | | | (__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64 if not defined. * sysdeps/unix/sysv/linux/powerpc/lchown.S [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Use this condition on chown compatibility symbol; use compat_symbol, not symbol_version.
* 2002-09-27 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-281-0/+10
| | | | | | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64 if not defined.
* SysV shared memory definitions for Linux/PA.Ulrich Drepper2002-09-284-0/+342
|
* 2002-09-27 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-282-0/+0
| | | | * sysdeps/x86_64/tls.h [__ASSEMBLER__]: Don't include <pt-machine.h>.
* * sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment.Roland McGrath2002-09-271-1/+1
|
* * sysdeps/powerpc/powerpc64/MakefileRoland McGrath2002-09-271-6/+10
| | | | | [$(build-shared) = yes] (pic-ccflag): Define it. [$(subdir) = csu] (CFLAGS-initfini.s): Add -fpic here too.
* * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): RemoveRoland McGrath2002-09-271-6/+5
| | | | unneeded TLS cases.
* * elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_startRoland McGrath2002-09-271-5/+60
| | | | | | | | | | | | | | | | unconditionally. Set dli_fname to _dl_argv[0] only for main program. 2002-09-27 Roland McGrath <roland@redhat.com> * elf/dl-addr.c (_dl_addr): Add a cast. * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [USE_TLS]: Handle new TLS relocs R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, and R_X86_64_TPOFF64. * elf/elf.h (R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, R_X86_64_TPOFF64, R_X86_64_TLSGD, R_X86_64_TLSLD, R_X86_64_DTPOFF32, R_x86_64_GOTTPOFF, R_X86_64_TPOFF32): New macros. (R_X86_64_NUM): Update the value.
* 2002-09-24 Jakub Jelinek <jakub@redhat.com>Roland McGrath2002-09-274-112/+29
| | | | | | | | | | | * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the addend. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use the same l_addr computation. * sysdeps/sparc/sparc64/configure.in: Removed. * sysdeps/sparc/sparc64/configure: Removed. * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove.
* Add syscall_exit.Andreas Jaeger2002-09-251-0/+1
|
* Update.Ulrich Drepper2002-09-251-2/+11
| | | | | | 2002-09-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/configure.in: Recognize nptl add-on name.
* Recognize nptl add-on name.Ulrich Drepper2002-09-251-1/+10
|
* * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read,Roland McGrath2002-09-251-2/+5
| | | | | __libc_write, __libc_lseek64, to ... (ld: GLIBC_PRIVATE): ... here.
* 2002-09-24 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-251-69/+0
| | | | | * sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed. It was indentical to the linux/bits/time.h file.
* * catgets/open_catalog.c (__open_catalog): Don't use a value typeRoland McGrath2002-09-248-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as the __builtin_expect expression, just the Boolean value. * sysdeps/generic/wordexp.c (parse_glob): int -> size_t for counter. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise. * resolv/res_hconf.c (arg_service_list, parse_line): Likewise. * iconvdata/tst-loading.c (main): Likewise. * catgets/tst-catgets.c (main): Likewise. * stdlib/tst-xpg-basename.c (main): Likewise. * stdlib/tst-bsearch.c (main): Likewise. * stdio-common/test-vfprintf.c (main): Likewise. * stdio-common/tst-rndseek.c (do_test): Likewise. * libio/tst_swprintf.c (main): Likewise. * libio/tst-fgetws.c (main): Likewise. * wcsmbs/tst-mbrtowc.c (check_ascii): Likewise. * time/tst-posixtz.c (main): Likewise. * time/tst-strptime.c (test_tm): Likewise. * time/tst-strptime.c (main): Likewise. * time/tst-getdate.c (main): Likewise. * posix/tst-mmap.c (main): Likewise. * posix/tst-getaddrinfo.c (do_test): Likewise. * io/tst-getcwd.c (do_test): Likewise. * resolv/tst-aton.c (main): Likewise. * inet/tst-network.c (main): Likewise. * libio/tst-fgetws.c (main): Likewise. * sysdeps/posix/sprofil.c (add_region): int -> unsigned int for I. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -> unsigned int for PTYNO. * stdlib/msort.c (qsort): Add a cast to silence warning. * stdio-common/vfprintf.c (process_string_arg): Likewise. * libio/oldfileops.c (_IO_old_do_write): Likewise. * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise. * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. * sysdeps/unix/grantpt.c (grantpt): Likewise. * libio/tst-widetext.c (main): Likewise. * libio/tst-mmap2-eofsync.c (do_test): Likewise. * rt/tst-aio.c (test_file): Likewise. * rt/tst-aio64.c (test_file): Likewise. * resolv/tst-aton.c (main): Likewise. * catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant. * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t instead of uint32_t in these macros.
* (sysdep_routines, shared-only-routines): Don't add divdi3 here.Ulrich Drepper2002-09-241-2/+2
|
* * sysdeps/hppa/abort-instr.h: New file.Roland McGrath2002-09-231-0/+6
|
* * sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit.Roland McGrath2002-09-221-0/+3
|
* * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal) Andreas Schwab2002-09-221-7/+17
| | | | | (isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]: Use GCC builtins.
* 2002-09-21 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-211-1/+2
| | | | | | | * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_PLATFORM): Correct the value so it covers all platforms, and is computed from _DL_PLATFORMS_COUNT rather than hard-wired. From Andrew Suffield <asuffield@debian.org>.
* Update.Ulrich Drepper2002-09-213-0/+5
| | | | | | * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. * sysdeps/unix/sysv/linux/statvfs.c: Include <stdio_ext.h>. * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
* Update.Ulrich Drepper2002-09-211-0/+3
| | | | | * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid locking when using mount tab file.
* * sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros.Roland McGrath2002-09-204-110/+378
| | | | | | | | | | * sysdeps/powerpc/powerpc32/sysdep.h: New file. Define powerpc32 specific macros copied from sysdeps/powerpc/sysdep.h. * sysdeps/powerpc/powerpc64/sysdep.h: New file. Define powerpc64 specific macros. * sysdeps/unix/powerpc/sysdep.h: Include <bits/wordsize.h>. [__WORDSIZE==64]: Include sysdeps/powerpc/powerpc64/sysdep.h. [!__WORDSIZE==64]: Include sysdeps/powerpc/powerpc32/sysdep.h.
* * sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c.Roland McGrath2002-09-202-30/+62
| | | | | | | | | | | | * sysdeps/generic/utmp_file.c (setutent_file): Invalidate last_entry also on platforms with !HAVE_UT_TYPE. (proc_utmp_eq): Remove function. (internal_getut_r, pututline_file): Call __utmp_equal instead. 2002-09-20 Bruno Haible <bruno@clisp.org> * abi-tags: Add support for FreeBSD with ABI OS value 3. * elf/cache.c (print_entry): Support the GNU/FreeBSD ABI tag.