about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE andRoland McGrath2005-03-132-3/+7
| | | | | | MAP_NONBLOCK. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. Correct MAP_GROWSDOWN value.
* * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdepsRoland McGrath2005-03-131-0/+12
| | | | | version if there is one. Only #error if macros are then undefined. * sysdeps/generic/tls-macros.h: New file.
* * sysdeps/hppa/configure.in: Remove old Makefile leftovers.Roland McGrath2005-03-132-2/+0
| | | | * sysdeps/hppa/configure: Regenerated.
* 2005-03-08 Roland McGrath <roland@redhat.com>Roland McGrath2005-03-081-2/+2
| | | | | * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so array types match exactly in C alias decls.
* * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.Ulrich Drepper2005-03-063-14/+17
| | | | | | | | | | | * sysdeps/generic/strchrnul.c: Add cast to avoid warning. * libio/iofwide.c: Add casts to avoid warnings. * stdio-common/printf-prs.c (parse_printf_format): Introduce new variable f to avoid warnings. * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): Fix a few casts to avoid warnings. * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned to avoid warning.
* * sunrpc/key_call.c: Remove doors support.Ulrich Drepper2005-03-061-1/+1
| | | | | | | | | | | | | | | | | | * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition. * configure.in: Remove test for doors support which never existed. * config.make.in: Remove have_doors entry. * configure.in: Make sure at least gcc 3.4 is used. Undo last change. * config.make.in: Undo last change. * sysdeps/i386/Makefile ((CFLAGS-initfini.s): Unconditionally use -mtune. * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define unconditionally to (defined RTLD_BOOTSTRAP). * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise. 2005-03-05 Jakub Jelinek <jakub@redhat.com>
* (ELF_MACHINE_NO_RELA): Define unconditionally to defined RTLD_BOOTSTRAP.Ulrich Drepper2005-03-062-6/+2
|
* * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.Roland McGrath2005-03-066-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (_dl_out_of_memory): Use rtld_hidden_proto. * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def. (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory. * elf/dl-open.c (_dl_open): Likewise. * elf/dl-deps.c (_dl_map_object_deps): Likewise. * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *. * elf/dl-addr.c (_dl_addr): Add a cast. * elf/unload3mod4.c: Declare foo. * elf/testobj2.c: Include <stdio.h>. * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal value constant, and use it in the defn. * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl. Use actual size for compat array decls. * config.make.in (cc-mtune): New substituted variable. * configure.in (libc_cv_cc_mtune): New test for -mtune= switch, done only if libc_mtune_example is defined. * configure: Regenerated. * sysdeps/i386/configure.in (libc_mtune_example): Set it. * sysdeps/i386/configure: Regenerated. * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
* 2005-02-21 Alan Modra <amodra@bigpond.net.au>Roland McGrath2005-03-021-8/+3
| | | | | * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't use __uint128_t.
* [BZ #721]Roland McGrath2005-03-011-5/+6
| | | | | | | | | | | | | | | 2005-03-01 Roland McGrath <roland@redhat.com> [BZ #721] * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside of [RESOLVE_MAP]. 2005-03-01 Alfred M. Szmidt <ams@gnu.org> * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]: Add missing initializer. * malloc/arena.c: #include <stdbool.h> outside of [SHARED && USE_TLS && !USE___THREAD].
* * posix/bits/unistd.h: Avoid calling __*_chk variants if we canUlrich Drepper2005-03-013-12/+0
| | | | | | | | | | | | | | | | | | | | determine the call will never trigger a failure. * sysdeps/i386/i686/memset_chk.S: Remove alias and warning. * sysdeps/x86_64/memset_chk.S: Likewise. 2005-02-24 Roland McGrath <roland@redhat.com> * debug/Versions (libc: GLIBC_2.4): Remove __memset_zero_constant_len_parameter. * sysdeps/generic/memset_chk.c: Remove alias and warning. * misc/sys/cdefs.h (__warndecl): New macro. * debug/warning-nop.c: New file. * string/bits/string3.h (memset): Call __warn_memset_zero_len with no arguments, instead of calling __memset_zero_constant_len_parameter. Use __warndecl for __warn_memset_zero_len. * debug/Makefile (routines): Add $(static-only-routines). (static-only-routines): New variable.
* [BZ #758]Andreas Jaeger2005-02-256-63/+103
| | | | | | | | | | | | | | | | 2004-11-11 Richard Sandiford <rsandifo@redhat.com> [BZ #758] * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names like __NR_N32_open. Just include <asm/unistd.h> otherwise. * sysdeps/unix/sysv/linux/mips/configure: Regenerate. * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the standard __NR prefix. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise. * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that the output file is compatible with both pre-2.6 and 2.6 kernel headers. Extract separate syscall lists for each ABI.
* * sysdeps/generic/libc-tls.c (static_dtv): Size the same as theUlrich Drepper2005-02-232-6/+6
| | | | | | | slotinfo array. (__libc_setup_tls_): Initializer length of DTV based on array length. * elf/dl-load.c: Revert last change. * sysdeps/generic/dl-tls.c: Revert last change.
* * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): UseUlrich Drepper2005-02-221-6/+7
| | | | non-cancelable I/O functions.
* * include/sys/socket.h: Declare __recv.Roland McGrath2005-02-224-11/+11
| | | | | | | | | | | | | | * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias. * sysdeps/mach/hurd/recv.c: Likewise. * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for __backtrace_* decls. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. * include/signal.h: Include <string.h> for memset decl.
* 2005-02-22 Roland McGrath <roland@redhat.com>Roland McGrath2005-02-221-0/+1
| | | | | * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for __backtrace_* decls.
* 2005-02-21 Alan Modra <amodra@bigpond.net.au>Ulrich Drepper2005-02-221-2/+0
| | | | | | | | | | * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv array index is within bounds. * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically linked code. * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid. * elf/Makefile: Remove rules to build and run tst-tls9-static.
* * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memoryUlrich Drepper2005-02-217-14/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | map if requested. * debug/chk_fail.c: Request backtrace and memory map dump. * Versions.def: Add GLIBC_2.4 for libc. * debug/fgets_chk.c: New file. * debug/fgets_u_chk.c: New file. * debug/getcwd_chk.c: New file. * debug/getwd_chk.c: New file. * debug/readlink_chk.c: New file. * debug/read_chk.c: New file. * debug/pread_chk.c: New file. * debug/pread64_chk.c: New file. * debug/recv_chk.c: New file. * debug/recvfrom_chk.c: New file. * debug/Versions: Add all new functions with version GLIBC_2.4. * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk, pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk, getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions. * debug/tst-chk1.c: Add more tests. * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked. * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk. * posix/unistd.h: Include <bits/unistd.h> for fortification. * posix/bits/unistd.h: New file. * posix/Makefile (headers): Add bits/unistd.h. * socket/sys/socket.h: Include <bits/socket2.h> for fortification. * socket/bits/socket2.h: New file. * socket/Makefile (headers): Add bits/socket2.h. * string/bits/string3.h: Extend memset macro to check for zero 3rd parameter and use __memset_zero_constant_len_parameter in that case. * sysdeps/generic/memset_chk.c: Add __memset_zero_constant_len_parameter alias and linker warning. * debug/Versions: Add __memset_zero_constant_len_parameter to libc with version GLIBC_2.4. * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__ in __STD_TYPE definition. 2005-02-21 Jakub Jelinek <jakub@redhat.com> * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print the error message rather than program name. 2005-02-21 Ulrich Drepper <drepper@redhat.com>
* [BZ #284, BZ #721]Roland McGrath2005-02-178-38/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * intl/dcigettext.c (_nl_find_msg): Add a cast. * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR. * nis/nis_clone_obj.c (nis_clone_object): Likewise. * nis/nis_clone_res.c (nis_clone_result): Likewise. * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char * for END_OF_MESSAGE and CP. * resolv/res_send.c (send_dg): Add else branch for case impossible unless `poll' is buggy. * crypt/crypt_util.c (__setkey_r): Add a cast. * locale/programs/linereader.c (get_toplvl_escape): Use size_t for NBYTES, and unsigned char * for BYTES. * locale/programs/charmap.c (charmap_new_char): Use size_t and unsighed char * for NBYTES, BYTES parameters. * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument and cast it. * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise. * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES. * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type. * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA. (authdes_marshal): Don't use unsigned int for LEN. * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2. (xdr_u_hyper): Likewise. (xdr_u_short): Don't use u_long for L. * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2. * inet/rexec.c (rexec_af): Use socklen_t. * sunrpc/key_call.c (getkeyserv_handle): Likewise. * sunrpc/rtime.c (rtime): Likewise. * resolv/res_send.c (send_vc, send_dg): Likewise. * nis/nis_callback.c (__nis_create_callback): Likewise. * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr. * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local. * libio/libio.h (_IO_BE): Add parenthesis around EXPR. * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed. (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF. (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE. * intl/bindtextdom.c (INTUSE): Macro removed. (_nl_default_dirname): Use libc_hidden_proto. (set_binding_values): Don't use INTUSE. * include/libintl.h (_libc_intl_domainname_internal): Decl removed. (_libc_intl_domainname): Use libc_hidden_proto. * posix/regex_internal.h (gettext): Remove INTUSE on it. * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def rather than INTDEF. * include/libintl.h (_): Don't use *_internal name. * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t, not uint32_t. * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments. * iconv/gconv_open.c (__gconv_open): Remove useless cast. [BZ #721] * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside of [RESOLVE_MAP]. * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rel, elf_machine_rel_relative): Removed. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rel, elf_machine_rel_relative): Removed. 2005-02-03 Alexandre Oliva <aoliva@redhat.com> [BZ #721] * elf/dynamic-link.h: Don't declare nested auto functions that are not going to be defined. 2004-07-23 Jakub Jelinek <jakub@redhat.com> [BZ #284] * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined. 2005-02-16 Roland McGrath <roland@redhat.com>
* * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defnRoland McGrath2005-02-161-1/+2
| | | | inside [! SHARED] where it's used.
* * sysdeps/generic/bits/byteswap.h: Make sure result of all theUlrich Drepper2005-02-151-9/+9
| | | | functions and macros is unsigned.
* [BZ #722]Roland McGrath2005-02-152-2/+4
| | | | | | | 2005-02-11 Barry deFrese <bddebian@comcast.net> [BZ #722] * sysdeps/mach/hurd/setresgid.c: Use weak_alias. * sysdeps/mach/hurd/setresuid.c: Likewise.
* [BZ #720]Roland McGrath2005-02-151-2/+8
| | | | | | | 2005-02-14 Roland McGrath <roland@redhat.com> [BZ #720] * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined if it wasn't originally.
* * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicatedRoland McGrath2005-02-153-3/+0
| | | | | | getpeername entry. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): DefineRoland McGrath2005-02-142-7/+33
| | | | | | | | | | with auto inline, and attribute always_inline. (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. (elf_machine_rel, elf_machine_rel_relative): Likewise. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. (elf_machine_rel, elf_machine_rel_relative): Likewise. (elf_machine_tprel): Likewise.
* * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHAREDUlrich Drepper2005-02-141-6/+8
| | | | | | | | | isn't defined. * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini if SHARED isn't defined. * elf/Makefile (tests-static): Add tst-array1-static. ($(objpfx)tst-array1-static.out): New target. * elf/tst-array1-static.c: New file.
* * sysdeps/powerpc/powerpc32/bits/link.h: Removed.Roland McGrath2005-02-102-63/+2
| | | | | * sysdeps/powerpc/powerpc64/bits/link.h: Moved to... * sysdeps/powerpc/bits/link.h: ... here. New file.
* (elf_machine_rela): Remove use of RESOLVE.Andreas Schwab2005-02-081-7/+0
|
* Really remove it.Ulrich Drepper2005-02-081-0/+0
|
* * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code usingUlrich Drepper2005-02-082-12/+22
| | | | | | | | | | | RESOLVE. 2005-02-07 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (_dl_map_object_from_fd): Makre sure registers are set correctly. * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
* (check_consistency): Define.Ulrich Drepper2005-02-081-0/+23
|
* * math/math_private.h (__copysign): Define as builtin for gcc 4. ↵Richard Henderson2005-02-081-12/+5
| | | | | | | | | | | | | | (__copysignf, __copysignl): Likewise. * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define for gcc 4.0. (copysignf, copysignl, fabsf, fabs): Likewise. (__copysign, __copysignf, __copysignl): Remove. (__fabs, __fabsf): Remove. 2005-01-07 Richard Henderson <rth@redhat.com> * math/math_private.h (__copysign): Define as builtin for gcc 4. (__copysignf, __copysignl): Likewise. * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define for gcc 4.0. (copysignf, copysignl, fabsf, fabs): Likewise. (__copysign, __copysignf, __copysignl): Remove. (__fabs, __fabsf): Remove.
* [BZ #700]Ulrich Drepper2005-02-072-10/+10
| | | | | | | | | | 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com> [BZ #700] * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S (__novec_setcontext, __setcontext): Fix typo so CCR is restored. Load MSR as a doubleword. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S (__novec_swapcontext, __swapcontext): Likewise.
* [BZ #677]Ulrich Drepper2005-02-074-15/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nscd/nscd.c (termination_handler): Avoid segfault if some database is not enabled. * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set __nss_not_use_nscd_hosts and return -1. * nscd/nscd_initgroups.c (__nscd_getgrouplist): If initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1. Avoid leaking sockets. 2005-01-28 Andreas Schwab <schwab@suse.de> H.J. Lu <hongjiu.lu@intel.com> [BZ #677] * elf/dl-runtime.c (fixup): Change return type to DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to store and retrieve relocation values. (profile_fixup): Likewise. * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for l_reloc_result. * sysdeps/generic/dl-fptr.h (link_map): Forward declaration. * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New. (DL_FIXUP_MAKE_VALUE): Likewise. (DL_FIXUP_VALUE_CODE_ADDR): Likewise. (DL_FIXUP_VALUE_ADDR): Likewise. (DL_FIXUP_ADDR_VALUE): Likewise. * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc". (DL_FIXUP_VALUE_TYPE): New. (DL_FIXUP_MAKE_VALUE): Likewise. (DL_FIXUP_VALUE_CODE_ADDR): Likewise. (DL_FIXUP_VALUE_ADDR): Likewise. (DL_FIXUP_ADDR_VALUE): Likewise. * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed. (elf_machine_profile_plt): Removed. (elf_machine_fixup_plt): Change return type and type of value parameter to struct fdesc. (elf_machine_plt_value): Likewise. (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct argument for elf_machine_fixup_plt. 2005-02-07 Jakub Jelinek <jakub@redhat.com>
* * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP ↵Richard Henderson2005-02-071-12/+2
| | | | | | | | | all the time. 2005-02-06 Richard Henderson <rth@redhat.com> * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP all the time.
* * sysdeps/mach/hurd/tls.h: Include <stdbool.h>Roland McGrath2005-02-022-2/+10
| | | | | | | | | | | | (dtv_t): Change pointer type to be a struct which also contains information whether the memory pointed to is static TLS or not. * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it. * shadow/sgetspent_r.c (FALSE): Macro renamed to ... (FALSEP): ... this. Updated all references. * libio/fmemopen.c: Include <stdint.h>.
* Update.Ulrich Drepper2005-01-294-54/+434
| | | | | | | | | | | | | | | | | | 2005-01-28 H.J. Lu <hongjiu.lu@intel.com> * elf/tst-auditmod1.c: Add ia64 entries. * sysdeps/generic/ldsodefs.h (La_ia64_regs): New. (La_ia64_retval): New. (audit_ifaces): Add ia64 entries. * sysdeps/ia64/bits/link.h: New file. * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test for dl_profile non-null. (ARCH_LA_PLTENTER): New. (ARCH_LA_PLTEXIT): New. * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate only 2 output registers. Allocate stack to save/restore 8 incoming fp registers. Call _dl_fixup instead of fixup. (_dl_runtime_profile): Rewrite.
* Update.Ulrich Drepper2005-01-295-257/+312
| | | | | | | | | | | | | | | | * sysdeps/s390/bits/link.h: New file. * sysdeps/s390/s390-32/dl-trampoline.S: New file. * sysdeps/s390/s390-64/dl-trampoline.S: New file. * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect relocation code. (elf_machine_runtime_setup): Test for dl_profile non-null. (elf_machine_rela): Remove code using RESOLVE. (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. * sysdeps/s390/s390-64/dl-machine.h: Likewise. * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval, La_s390_64_regs, La_s390_64_retval): New. * elf/tst-auditmod1.c: Add s390 entries.
* Dynamic linker definitions for s390.Ulrich Drepper2005-01-291-0/+111
|
* 2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>Roland McGrath2005-01-281-7/+7
| | | | | * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat, strncat, memchr, strcmp): Add missing memory clobber.
* Update.Ulrich Drepper2005-01-271-1/+2
| | | | | | | 2005-01-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
* 2005-01-25 Roland McGrath <roland@redhat.com>Roland McGrath2005-01-271-0/+2
| | | | * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
* Update.Ulrich Drepper2005-01-261-2/+2
| | | | | | | 2005-01-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to MSG_NOSIGNAL being in 2.2 kernels.
* [BZ #693]Ulrich Drepper2005-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Update. 2005-01-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm. [BZ #693] * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to... (WORD_DELIM_CONSTRAINT): ...this. (NOT_WORD_DELIM_CONSTRAINT): Define. (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM, change WORD_DELIM to use WORD_DELIM_CONSTRAINT. * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM anchor instead of INSIDE_WORD. (parse_expression): Handle NOT_WORD_DELIM constraint. * posix/bug-regex19.c (tests): Adjust tests that relied on \B being inside word instead of not word delim. * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped characters. * posix/rxspencer/tests: Add some new tests.
* 2005-01-23 Roland McGrath <roland@redhat.com>Roland McGrath2005-01-263-4/+26
| | | | | | | | | * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS. * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD] (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer from %gs:0 and add to that value, rather that direct %gs:OFFSET access. * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
* Update.Ulrich Drepper2005-01-252-19/+1
| | | | | | | | | | 2005-01-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using RESOLVE. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code using RESOLVE. * elf/rtld.c (_dl_start): Remove RESOLVE definition.
* Update.Ulrich Drepper2005-01-251-1/+1
| | | | | | | 2005-01-25 Alan Modra <amodra@bigpond.net.au> * ysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test sym_map, not sym, against zero.
* Update.Ulrich Drepper2005-01-243-1/+440
| | | | | | | | | | | 2005-01-24 Ulrich Drepper <drepper@redhat.com> * misc/syslog.c: Moved to... * sysdeps/generic/syslog.c: ...here. [NO_SIGIPE]: Don't install SIGPIPE handler. * sysdeps/unix/sysv/linux/syslog.c: New file. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_MSG_NOSIGNAL.
* * sysdeps/alpha/dl-trampoline.S: New file. * ↵Richard Henderson2005-01-234-144/+451
| | | | | | | | | | | | | | | | sysdeps/alpha/dl-machine.h: Move PLT trampolines there. Use RESOLVE_MAP instead of RESOLVE to protect relocation code. (elf_machine_runtime_setup): Test for dl_profile non-null. (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. * sysdeps/alpha/bits/link.h: New file. * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New. (struct audit_ifaces): Add alpha entries. * elf/tst-auditmod1.c: Add alpha entries. 2005-01-22 Richard Henderson <rth@redhat.com> * sysdeps/alpha/dl-trampoline.S: New file. * sysdeps/alpha/dl-machine.h: Move PLT trampolines there. Use RESOLVE_MAP instead of RESOLVE to protect relocation code. (elf_machine_runtime_setup): Test for dl_profile non-null. (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New. * sysdeps/alpha/bits/link.h: New file. * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New. (struct audit_ifaces): Add alpha entries. * elf/tst-auditmod1.c: Add alpha entries.
* Update.Ulrich Drepper2005-01-232-128/+235
| | | | | * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here. * sysdeps/ia64/dl-trampoline.S: New file.