aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2002-09-29Update.Ulrich Drepper
* 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>
2002-09-29* sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asmRoland McGrath
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.
2002-09-29* configure: Regenerated after aclocal.m4 change.Roland McGrath
* 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.
2002-09-28Add __syscall_exit entry point.Ulrich Drepper
2002-09-28* sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE forRoland McGrath
_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.
2002-09-28(nice): Use getpriority() for the return value.Ulrich Drepper
2002-09-28Fix number of args to syscall.Andreas Jaeger
2002-09-28Update.Ulrich Drepper
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>.
2002-09-28* sysdeps/unix/sysv/linux/x86_64/sysdep.hRoland McGrath
(__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-282002-09-27 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64 if not defined.
2002-09-28SysV shared memory definitions for Linux/PA.Ulrich Drepper
2002-09-282002-09-27 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/x86_64/tls.h [__ASSEMBLER__]: Don't include <pt-machine.h>.
2002-09-27* sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment.Roland McGrath
2002-09-27* sysdeps/powerpc/powerpc64/MakefileRoland McGrath
[$(build-shared) = yes] (pic-ccflag): Define it. [$(subdir) = csu] (CFLAGS-initfini.s): Add -fpic here too.
2002-09-27* sysdeps/x86_64/dl-machine.h (elf_machine_type_class): RemoveRoland McGrath
unneeded TLS cases.
2002-09-27* elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_startRoland McGrath
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-272002-09-24 Jakub Jelinek <jakub@redhat.com>Roland McGrath
* 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.
2002-09-25Add syscall_exit.Andreas Jaeger
2002-09-25Update.Ulrich Drepper
2002-09-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/configure.in: Recognize nptl add-on name.
2002-09-25Recognize nptl add-on name.Ulrich Drepper
2002-09-25* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read,Roland McGrath
__libc_write, __libc_lseek64, to ... (ld: GLIBC_PRIVATE): ... here.
2002-09-252002-09-24 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed. It was indentical to the linux/bits/time.h file.
2002-09-24* catgets/open_catalog.c (__open_catalog): Don't use a value typeRoland McGrath
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.
2002-09-24(sysdep_routines, shared-only-routines): Don't add divdi3 here.Ulrich Drepper
2002-09-23* sysdeps/hppa/abort-instr.h: New file.Roland McGrath
2002-09-22* sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit.Roland McGrath
2002-09-22* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal) Andreas Schwab
(isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]: Use GCC builtins.
2002-09-212002-09-21 Roland McGrath <roland@redhat.com>Roland McGrath
* 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>.
2002-09-21Update.Ulrich Drepper
* 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.
2002-09-21Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid locking when using mount tab file.
2002-09-20* sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros.Roland McGrath
* 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.
2002-09-20* sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c.Roland McGrath
* 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.
2002-09-20* sysdeps/generic/gmp-mparam.h: Include <bits/wordsize.h>.Roland McGrath
(BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in terms of __WORDSIZE. * sysdeps/x86_64/gmp-mparam.h: File removed. * sysdeps/sparc/gmp-mparam.h: File removed. * sysdeps/mips/mips64/gmp-mparam.h: File removed. * sysdeps/ia64/gmp-mparam.h: File removed. * sysdeps/alpha/gmp-mparam.h: File removed.
2002-09-20* sysdeps/powerpc/elf/libc-start.c: Use long in place of int for argcRoland McGrath
load, so as to work on both 32-bit and 64-bit. Remove unnecessary casts. Align __libc_stack_end to 8 bytes. 2002-09-20 Roland McGrath <roland@redhat.com> * sysdeps/powerpc/fpu/s_lrint.c: Use strong_alias/weak_alias macros instead of asm for lrintf, __lrintf aliases. * sysdeps/powerpc/fpu/s_lrint.c (__lrint): Change union long array to int array for 32-/64-bit compatibility. From Steven Munroe <sjmunroe@us.ibm.com>.
2002-09-20* sysdeps/generic/ifreq.h (__if_nextreq): New function.Roland McGrath
* sysdeps/unix/sysv/linux/ifreq.h (__if_nextreq): New function. * sysdeps/mach/hurd/ifreq.h (__if_nextreq): New function. * sysdeps/gnu/ifaddrs.c (getifaddrs): Use __if_nextreq for iterating through the list of interfaces. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Likewise. * sysdeps/unix/grantpt.c (pts_name): Set errno when __ptsname_r fails. Reported by Bruno Haible <bruno@clisp.org>.
2002-09-20* sysdeps/unix/bsd/bsd4.4/isatty.c: New file.Roland McGrath
* sysdeps/unix/bsd/isatty.c (__isatty): Don't save and restore errno. * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Return errno value from isatty unmodified. Reported by Bruno Haible <bruno@clisp.org>.
2002-09-20* sysdeps/powerpc/bits/setjmp.h [__WORDSIZE]: Add 64-bit jmpbuf.Roland McGrath
* sysdeps/powerpc/bits/wordsize.h: New file. * sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Change long array to int array for 32-/64-bit compatibility. 2002-09-20 Roland McGrath <roland@redhat.com> * login/programs/utmpdump.c: Don't include <error.h>, <errno.h>. * sysdeps/generic/utimes.c (__utimes): Don't check TVP for null. Reported by Bruno Haible <bruno@clisp.org>. * sysdeps/generic/ifreq.h (__ifreq): Compute termination condition before doubling RQ_LEN. * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise. Reported by Bruno Haible <bruno@clisp.org>. 2002-09-18 Bruno Haible <bruno@clisp.org> * login/logout.c (logout): Don't assume ut_time has the same size as a time_t. * login/logwtmp.c (logwtmp): Likewise. * sysdeps/pthread/configure: New file, moved here from linuxthreads/sysdeps/unix/sysv/linux/configure.
2002-09-20Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/_exit.c: Include <errno.h>. (_exit): Don't use ABORT_INSTRUCTION if it is not defined. Reported by Glen Nakamura <glen@imodulo.com>.
2002-09-20(_exit): Don't use ABORT_INSTRUCTION if it is not defined.Ulrich Drepper
2002-09-20* sysdeps/mach/hurd/fork.c (__fork): Do not free the signalRoland McGrath
thread's sigstate data structure if it has been allocated.
2002-09-19Update.Ulrich Drepper
2002-09-19 Jakub Jelinek <jakub@redhat.com> * sysdeps/wordsize-32/Makefile: New file. * sysdeps/arm/Makefile: Removed. * sysdeps/i386/Makefile (sysdep_routines, shared-only-routines): Don't add divdi3 here. * sysdeps/m68k/Makefile: Likewise. * sysdeps/powerpc/powerpc32/Makefile: Likewise. * sysdeps/sh/Makefile: Likewise. * sysdeps/s390/s390-32/Makefile: Likewise.
2002-09-19Update.Ulrich Drepper
* sysdeps/powerpc/fpu/Dist: Move fprrest.S and fprsave.S to... * sysdeps/powerpc/powerpc32/fpu/Dist: ...here. New file. * sysdeps/unix/sysv/linux/powerpc/Dist: Move kernel_stat.h to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. * sysdeps/i386/Makefile: Remove obsolete db2 rules. * sysdeps/unix/sysv/linux/Makefile: Add exit-thread.S. * sysdeps/unix/sysv/linux/powerpc/Dist: Add ldd-rewrite.sh. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: New file.
2002-09-18* locale/lc-ctype.c (_nl_postload_ctype): Add compat_symbol decls forRoland McGrath
the __ctype_* compat symbols, so the relocs generated bind to the right versioned global symbol in the shared object. * elf/do-rel.h (elf_dynamic_do_rel): Mask off 0x8000 bit (hidden flag) from the value taken from the DT_VERSYM table. * elf/dl-runtime.c (fixup, profile_fixup): Likewise. * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Likewise. (RESOLVE_GOTSYM): Likewise.
2002-09-182002-09-18 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction): Add libc_hidden_def. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2002-09-18Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/sigaction.c: If SIGCANCEL is defined define sigaction and __sigaction as wrappers around __libc_sigaction which rejects changing SIGCANCEL. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2002-09-18Update.Ulrich Drepper
2002-09-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/clone.S: Add support for SETTLS and SETTID/CLEARTID. * signal/allocrtsig.c: Move to... * sysdeps/generic/allocrtsig.c: ...here. New file.
2002-09-18* elf/dl-lookup.c (_dl_debug_bindings): Print TLS lookups always.Roland McGrath
* elf/elf.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE, R_386_TLS_LE): Define. (R_386_TLS_IE_32, R_386_TLS_LE_32, R_386_TLS_TPOFF32): Update comments. * sysdeps/i386/dl-machine.h (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for R_386_TLS_TPOFF. (elf_machine_rel): Handle R_386_TLS_TPOFF. (elf_machine_rela): Likewise. Remove unnecessary RTLD_BOOTSTRAP #ifdefs.
2002-09-172002-09-17 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath
Ported to PowerPC64 running Linux. * sysdeps/powerpc/powerpc64/Dist: New file. * sysdeps/powerpc/powerpc64/Implies: New file. * sysdeps/powerpc/powerpc64/Makefile: New file. * sysdeps/powerpc/powerpc64/__longjmp.S: New file. * sysdeps/powerpc/powerpc64/atomicity.h: New file. * sysdeps/powerpc/powerpc64/backtrace.c: New file. * sysdeps/powerpc/powerpc64/bp-asm.h: New file. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: New file. * sysdeps/powerpc/powerpc64/bsd-setjmp.S: New file. * sysdeps/powerpc/powerpc64/dl-dtprocnum.h: New file. * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: New file. * sysdeps/powerpc/powerpc64/dl-machine.c: New file. * sysdeps/powerpc/powerpc64/dl-machine.h: New file. * sysdeps/powerpc/powerpc64/memset.S: New file. * sysdeps/powerpc/powerpc64/ppc-mcount.S: New file. * sysdeps/powerpc/powerpc64/register-dump.h: New file. * sysdeps/powerpc/powerpc64/setjmp.S: New file. * sysdeps/powerpc/powerpc64/stpcpy.S: New file. * sysdeps/powerpc/powerpc64/strchr.S: New file. * sysdeps/powerpc/powerpc64/strcmp.S: New file. * sysdeps/powerpc/powerpc64/strcpy.S: New file. * sysdeps/powerpc/powerpc64/strlen.S: New file. * sysdeps/powerpc/powerpc64/elf/bzero.S: New file. * sysdeps/powerpc/powerpc64/elf/start.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: New File. * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: New file.
2002-09-17* sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des.Roland McGrath
(passwd2des): Define it as an alias. (xencrypt, xdecrypt): Call passwd2des_internal instead of passwd2des. 2002-09-12 Bruno Haible <bruno@clisp.org> * include/sys/sysctl.h (__sysctl): Add libc_hidden_proto. * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Add libc_hidden_def. * include/rpc/xdr.h (xdrstdio_create): Add libc_hidden_proto. * sunrpc/xdr_stdio.c (xdrstdio_create): Add libc_hidden_def.
2002-09-17* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Regenerate.Roland McGrath