summaryrefslogtreecommitdiff
path: root/elf/elf.h
AgeCommit message (Collapse)Author
2008-07-28Updated to fedora-glibc-20080728T2320cvs/fedora-glibc-2_8_90-10Jakub Jelinek
2008-05-15Updated to fedora-glibc-20080515T0735cvs/fedora-glibc-2_8_90-1Jakub Jelinek
2008-03-05Updated to fedora-glibc-20080305T0857cvs/fedora-glibc-2_7_90-8Jakub Jelinek
2008-02-16Updated to fedora-glibc-20080216T1726cvs/fedora-glibc-2_7_90-7Jakub Jelinek
2008-01-31Updated to fedora-glibc-20080131T0821cvs/fedora-glibc-2_7_90-4Jakub Jelinek
2007-12-12Updated to fedora-glibc-20071212T1051Jakub Jelinek
2007-08-25Updated to fedora-glibc-20070825T1839Jakub Jelinek
2007-07-31Updated to fedora-glibc-20070731T1624cvs/fedora-glibc-2_6_90-1Jakub Jelinek
2007-05-04Updated to fedora-glibc-20070504T0917cvs/fedora-glibc-2_5_90-22Jakub Jelinek
2007-01-17Updated to fedora-glibc-20070117T0857Jakub Jelinek
2006-07-11Updated to fedora-glibc-20060710T2206cvs/fedora-glibc-2_4_90-13Jakub Jelinek
2006-03-01Updated to fedora-glibc-20060301T0647Jakub Jelinek
2005-11-19 * elf/elf.h: Revert last change.cvs/fedora-glibc-2_3_90-18Jakub Jelinek
2005-11-19Updated to fedora-glibc-20051119T1959Jakub Jelinek
2005-11-15Updated to fedora-glibc-20051115T0809Jakub Jelinek
2005-10-10Updated to fedora-glibc-20051010T1417Jakub Jelinek
2005-08-08Updated to fedora-glibc-20050808T2126Jakub Jelinek
2005-06-20Updated to fedora-glibc-20050620T1530Jakub Jelinek
2005-05-20Updated to fedora-glibc-20050520T0919Jakub Jelinek
2005-03-24Updated to fedora-glibc-20050324T0715cvs/fedora-glibc-2_3_4-17Jakub Jelinek
2005-03-19Updated to fedora-glibc-20050319T1907cvs/fedora-glibc-2_3_4-15Jakub Jelinek
2004-11-15Updated to fedora-glibc-20041115T0915Jakub Jelinek
2004-11-02Updated to fedora-glibc-20041102T1153Jakub Jelinek
2004-09-102004-09-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>Roland McGrath
* stdlib/longlong.h [__M32R__] (add_ssaaaa, sub_ddmmss): Fix broken instruct operands. * elf/elf.h: Add R_M32R_* relocs.
2004-05-07(AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.Ulrich Drepper
2004-04-01Update.Ulrich Drepper
2004-04-01 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Define more ppc64 specific dynamic tags. * libio/fileops.c (new_do_write): Return _IO_size_t to make 64-bit
2004-01-16Define PT_IA_64_HP_OPT_ANOT, PT_IA_64_HP_HSL_ANOT, and PT_IA_64_HP_STACK.Ulrich Drepper
2004-01-15Update.Ulrich Drepper
* elf/elf.h: Fix typo in comment.
2004-01-13Update.Ulrich Drepper
2004-01-13 Ulrich Drepper <drepper@redhat.com> * Makeconfig: Define relro-LDFLAGS if have-z-relro==yes. Add it to LDFLAGS.so and LDFLAGS-rtld. (+link): Add relro-LDFLAGS. * Makeconfig (shlib.lds): Place __libc_subfreeres, __libc_atexit, and __libc_thread_subfreeres sections after .jcr section. * config.make.in: Add have-z-relro. * configure.in: Add check for -z relro option. * include/link.h (struct link_map): Add relro_addr and relro_size members. * elf/dl-load.c (_dl_map_object_from_fd): Recognize PT_GNU_RELRO. * elf/dl-reloc.c (_dl_relocate_object): At the end, make relro part of loaded segments read-only. * elf/elf.h: Define PT_GNU_RELRO. * elf/rtld.c (_dl_start): Recognize PT_GNU_RELRO of ld.so. (dl_main): Recognize PT_GNU_RELRO of the application. Call _dl_debug_initialize and initialize l_info[DT_DEBUG] before relocations.
2003-12-29Update.Ulrich Drepper
2003-12-29 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Add a few definitions from Solaris 9.
2003-06-262003-06-26 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/elf.h (AT_SECURE): New macro. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it, set __libc_enable_secure. (_dl_show_auxv): Add AT_SECURE to name table. * elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set __libc_enable_secure and __libc_enable_secure_decided. * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it. * sysdeps/unix/sysv/linux/kernel-features.h [__LINUX_KERNEL_VERSION >= 132425] (__ASSUME_AT_SECURE): Define it.
2003-06-252003-06-05 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/elf.h (PT_GNU_STACK): New macro.
2003-05-04(AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.Ulrich Drepper
2003-04-15Update.Ulrich Drepper
2003-04-15 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Define AT_SYSINFO_EH_FRAME. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_SYSINFO_EH_FRAME. (_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value. * sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global): Add _dl_sysinfo_eh_frame field. * elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame. * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj variable. [NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases if _dl_sysinfo_eh_frame is non-NULL. * Makeconfig (gnulib): Add -lgcc_eh. * config.h.in: Define HAVE_FORCED_UNWIND.
2003-03-02* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):Roland McGrath
Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED]. (elf_machine_rela): Clean up. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up. PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>. * sysdeps/powerpc/powerpc32/elf/configure.in: New file. * sysdeps/powerpc/powerpc32/elf/configure: New generated file. * elf/tls-macros.h [__powerpc__ && !__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support new relocs for TLS. * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these macros out of [SHARED]. (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros. * elf/elf.h: Define R_PPC_* relocs for TLS support. Clean up R_PPC64_* macro definition comments.
2003-02-252003-02-25 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath
* elf/elf.h: Add new R_PPC64_* relocs for TLS. * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define. * sysdeps/powerpc/powerpc64/elf/configure.in: New file. * sysdeps/powerpc/powerpc64/elf/configure: New file (generated). * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
2003-01-28Update.Ulrich Drepper
2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com> * elf/elf.h: Add new s390 relocs. * elf/tls-macros.h: Add s390 versions. * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset. * sysdeps/s390/dl-tls.h: New file. * sysdeps/s390/libc-tls.c: New file. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS relocs for class PLT. (elf_machine_rela): Handle TLS relocs. * sysdeps/s390/s390-64/dl-machine.h: Likewise. * sysdeps/s390/s390-32/elf/configure.in: Add TLS check. * sysdeps/s390/s390-64/elf/configure.in: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for CLONE_CHILD_*TID flags. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32 bit offset. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error): Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO variants. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT. (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO variants.
2002-12-18Update.Ulrich Drepper
2002-12-17 Ulrich Drepper <drepper@redhat.com> * elf/elf.h (AT_SYSINFO): New define. * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add support for AT_SYSINFO.
2002-11-25(EM_ST19): Fix typo.Ulrich Drepper
2002-11-062002-11-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>Roland McGrath
* elf/elf.h: Remove the obsolete SH TLS relocations. * sysdeps/sh/bits/setmp.h (JB_SIZE): Define only under [__USE_MISC || _ASM].
2002-10-24Update.Ulrich Drepper
* elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF.
2002-10-24Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT.Ulrich Drepper
2002-10-02Update.Ulrich Drepper
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.
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-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-12Correct DT_LOOS and DT_HIOS values.Ulrich Drepper
2002-09-10Update.Ulrich Drepper
2002-09-09 Steven Munroe <sjmunroe@us.ibm.com> * elf/elf.h: Add powerpc64 specific elf relocation and dynamic types. 2002-09-09 Jakub Jelinek <jakub@redhat.com> * elf/dl-error.c (_dl_signal_cerror): Don't print anything if only LD_DEBUG=statistics or LD_TRACE_PRELINKING.
2002-05-30Update.Ulrich Drepper
2002-05-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] (sysdep_routines): Add readahead. * sysdeps/unix/sysv/linux/readahead.c: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile64 syscall. * sysdeps/unix/sysv/linux/Versions: Export readahead and sendfile64. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add readahead syscall. Add sendfile64 alias to sendfile syscall. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_readahead syscall. * sysdeps/unix/sysv/linux/i386/sysdep.h: Use __i686.get_pc_thunk.XX special section for PIC register loading. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise. * config.h.in: Define HAVE_HIDDEN. * configure.in: Also define HAVE_HIDDEN if HAVE_PROTECTED is defined. * elf/elf.h: Correct Alpha TLS relocations according to last spec.
2002-04-08Update.Ulrich Drepper
2002-04-08 kaz Kojima <kkojima@rr.iij4u.or.jp> * elf/elf.h: Define R_SH_TLS_xxx macros. * elf/rtld.c: Remove an extra parenthesis. * elf/tls-macros.h: Define SH version TLS_LE, TLS_IE, TLS_LD and TLS_GD macros. * sysdeps/generic/dl-tls.c: Add a missing semi-colon. * sysdeps/sh/dl-lookupcfg.h: New file. * sysdeps/sh/dl-tls.h: New file. * sysdeps/sh/dl-machine.h (elf_machine_type_class): Set ELF_RTYPE_CLASS_PLT also for the three TLS relocations. (elf_machine_rela): Handle R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32 and R_SH_TLS_TPOFF32 relocations.
2002-03-02Update.Ulrich Drepper
2002-03-02 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Add Alpha TLS bits.