2016-03-18 Donn Seeley * rtld.c: rewrite build_local_scope to ensure breadth-first processing 2016-03-18 Mark Hatle * dl-open.c, rtld.h, Makefile.am: Add _dl_show_scope function * rtld.c: Use _dl_show_scope if RTLD_DEBUG=scopes defined Generate a scope for the exectuable * rtld.h, ../dso.c: Fix compilation warning 2016-03-10 Mark Hatle * rtld/: Rsync to glibc-2.23 (no functional changes) * dl-load.c: Fix segfault on empty dso entry 2015-10-28 Mark Hatle * dl-lookupX.h: Sync with glibc fix for ld.so / prelink mismatch 2015-10-28 H.J. Lu [BZ #19178] * elf/dl-lookup.c (RTYPE_CLASS_VALID): New. (RTYPE_CLASS_PLT): Likewise. (RTYPE_CLASS_COPY): Likewise. (RTYPE_CLASS_TLS): Likewise. (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID to set relocation type class for DL_DEBUG_PRELINK. Clear the ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA bit for DL_DEBUG_PRELINK. 2015-10-21 Mark Hatle * rtld/: Resync to glibc-2.22 * rtld/*: Update copyright dates to match glibc-2.22 * rtld/rtld.c: Update the elf_machine_type class entries Add support for ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA via new extern_protected_data function. rename reloc_typeclass to elf_machine_type_class add machine_no_rela, machine_no_rel funcs Update debug msg Fix missing dso_list->map = NULL * rtld/dl-tls.c: (rtld_determine_tlsoffsets) add NIOS2 definition * rtld/dl-lookup.c: Add EXTERN_PROTECTED_DATA support * rtld/dl-lookupX.h: Add EXTERN_PROTECTED_DATA support update debug msgs * rtld/dl-load.c: (create_map_object_from_dso_ent) Add ld.so like debug When an executable sets a load address use it Update the load address calculation, prevents visual overlaps * rtld/dl-version.c: update debug msgs * rtld/rtld.h: define _dl_debug_printf to act like ld.so debug define RTLD_DEBUG_PID to set the debug prefix * glibc changes directly affecting the implementation: 2013-12-04 Ulrich Weigand Alan Modra * libc/sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI. 2015-01-18 Chung-Lin Tang Sandra Loosemore Andrew Jenner Joseph Myers Nathan Sidwell * sysdeps/nios2/dl-machine.h: New file. 2015-03-31 H.J. Lu * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which indicates it is called from do_lookup_x on relocation against protected data, skip the data definion in the executable from copy reloc. (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA, instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol. * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT. * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT. 2015-07-24 Szabolcs Nagy * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA. * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA. 2015-09-11 Vaneet Narang * rtld/rtld.c: Add ability to specify preloaded libraries 2015-09-09 Maninder Singh Mark Hatle * rtld/rtld.c: dso null pointer check fix 2015-04-06 Mark Hatle Maninder Singh * rtld/dl-version.c: Add debug for mising ld-linux or libc.so 2014-12-10 Mark Hatle * rtld/rtld.c: Sync aarch64 elf_machine_type_class (dl-machine.h) (do_relocs): fix comparison pltrel_end >= rel_end * rtld/dl-tls.c: Add basic aarch64 support 2014-12-10 Mark Hatle * rtld/: Resync to glibc-2.20 Replace referenced to GLRO_dl_debug_mask to GLRO(dl_debug_mask) * rtld/rtld.h: Sync DL_DEBUG_* defines from ldsodefs.h add DSO_FILENAME and RTLD_PROGNAME definitions Move to __glibc_unlikely/likely instead of __builtin_expect rename link_map and update unique_sym_table to match glibc * rtld/dl-hash.h: Apply glibc changes: 2011-12-03 Ulrich Drepper Fix more warnings 2011-12-04 Ulrich Drepper Fix attreibute for _dl_elf_hash 2011-12-04 Ulrich Drepper Small optimization of generic ELF hash function 2011-12-10 Ulrich Drepper Optimize generic ELF hash function a bit more 2012-02-09 Paul Eggert Replace FSF snail mail address with URLs. 2013-01-02 Joseph Myers Update copyright notices with scripts/update-copyrights. 2014-01-01 Allan McRae Update copyright notices with scripts/update-copyrights * rtld/dl-load.c: split (_dl_new_object) move to dl-object Remove VERSYMIDX, already defined in rtld.h Apply glibc changes: 2012-02-09 Paul Eggert Replace FSF snail mail address with URLs. 2012-04-04 Siddhesh Poyarekar (Updated copyright date) 2013-01-02 Joseph Myers Update copyright notices with scripts/update-copyrights. 2014-01-01 Allan McRae Update copyright notices with scripts/update-copyrights 2014-02-10 Ond<99>ej Blka Use glibc_likely instead __builtin_expect. * rtld/dl-object.c: Apply glibc changes: 2013-11-11 Jan Kratochvil [BZ #387] * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if it is empty. * rtld/dl-lookup.c, rtld/dl-lookupX.h: Apply glibc changes: 2012-02-09 Paul Eggert Replace FSF snail mail address with URLs. 2012-04-05 David S. Miller * elf/dl-lookup (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore undefined symbol errors. 2012-08-14 Roland McGrath (Updated copyright date) 2013-01-02 Joseph Myers Update copyright notices with scripts/update-copyrights. 2013-05-29 Siddhesh Poyarekar Avoid crashing in LD_DEBUG when program name is unavailable 2013-11-13 Marcus Shawcroft Avoid passing NULL to DSO_FILENAME. 2014-01-01 Allan McRae Update copyright notices with scripts/update-copyrights 2014-02-10 Ond<99>ej Blka Use glibc_likely instead __builtin_expect. 2014-02-11 Joseph Myers Merge MIPS dl-lookup.c into generic file. * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not already defined. (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH. * sysdeps/mips/dl-lookup.c: Remove. * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro. 2014-02-28 Carlos O'Donell Promote do_lookup_x:check_match to a full function. 2014-04-02 Will Newton elf/dl-lookup.c: Remove obsolete comment about nested function * elf/dl-lookup.c (do_lookup_x): Remove comment referring to nested function and move variable declarations down to before first use. 2014-04-04 Will Newton elf/dl-lookup.c: Remove unnecessary static variable * elf/dl-lookup.c (undefined_msg): Remove variable. (_dl_lookup_symbol_x): Replace undefined_msg with string literal. 2014-04-11 Will Newton elf/dl-lookup.c: Use __glibc_likely and __glibc_unlikely * rtld/dl-misc.c: Apply glibc changes: 2012-02-09 Paul Eggert Replace FSF snail mail address with URLs. 2013-01-02 Joseph Myers Update copyright notices with scripts/update-copyrights. 2014-01-01 Allan McRae Update copyright notices with scripts/update-copyrights * rtld/dl-tls.c: Sync spacing with glibc for easier diffs (content remained the same) Apply glibc changes: 2012-02-09 Paul Eggert Replace FSF snail mail address with URLs. 2014-01-01 Allan McRae Update copyright notices with scripts/update-copyrights * rtld/dl-version: Apply glibc changes: 2012-02-09 Paul Eggert Replace FSF snail mail address with URLs. 2013-01-02 Joseph Myers Update copyright notices with scripts/update-copyrights. 2013-05-29 Siddhesh Poyarekar Avoid crashing in LD_DEBUG when program name is unavailable 2014-01-01 Allan McRae Update copyright notices with scripts/update-copyrights 2014-02-10 Ond<99>ej Blka Use glibc_likely instead __builtin_expect. 2014-12-10 Mark Hatle * rtld/COPYING, rtld/COPYING.LIB, rtld/ChangeLog, rtld/README-rtld: Add local history information to setup for a resync to glibc-2.20 2012-09-12 Joseph Myers * rtld/dl-lookup.c: Fix variable copy reloc when host/target byte size is different 2012-04-10 Maxim Kuvyrkov * rtld/rtld.c (find_lib_by_soname): Follow ld.so's behavior of pulling its name from PT_INTERP. 2012-01-26 Mark Hatle * elf.h, rtld/dl-lookupX.h, rtld/rtld.c: Sync to eglibc 2.15 2011-12-08 Mark Hatle * rtld/rtld.c: Add support for $ORIGIN, $PLATFORM and $LIB. Note: $PLATFORM = "" 2011-12-08 Mark Hatle * rtld/rtld.c: Fix an issue where missing objects would trigger an assert in dl-version.c * rtld/rtld.h: Add _dl_new_object prototype 2011-09-13 Mark Hatle * Fix printf problem causing prelink-rtld issues on x86 (32-bit) and arm 2011-08-26 Mark Hatle * Add a special check for invalid GNU_HASH entries 2011-08-26 Mark Hatle * Sync to eglibc 2.13 ld.so code * sync elf_machine_type_class macros for supports archs 2011-08-26 Mark Hatle * Sync to eglibc 2.13 ld.so code * mips specific items from ports 2011-08-26 Mark Hatle * Rename ld-libs.c to rtld.c * Sync to eglibc 2.13 ld.so code 2011-08-18 Mark Hatle * Move prelink-rtld specific components to rtld