aboutsummaryrefslogtreecommitdiff
path: root/elf
AgeCommit message (Collapse)Author
2012-04-10Fix ld.so regression.David S. Miller
[BZ #13967] * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case where the is a gap between DT_REL(A) and DT_JMPREL.
2012-04-11New ld.so argument --inhibit-ldcache to disable ld.so.cache lookupSiddhesh Poyarekar
It may sometimes be desirable to make the dynamic linker only pick up libraries from the library path and rpath and not look at the ld.so.cache that ldconfig generates. An example of such a use case is the glibc testsuite where the dynamic linker must not be influenced by any external paths or caches. This change adds a new option --inhibit-ldcache that when used, tells the dynamic linker to not use ld.so.cache even if it is available.
2012-04-07Handle some new sparc relocation types.David S. Miller
* elf/elf.h (R_SPARC_WDISP10): Define. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle R_SPARC_SIZE32. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle R_SPARC_SIZE64 and R_SPARC_H34.
2012-04-07Simplify _ELF_DYNAMIC_DO_RELOC after combining the old two defs.Carlos O'Donell
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify conditions and remove no longer applicable assertion.
2012-04-05Reduce down to one definition of _ELF_DYNAMIC_DO_RELOC.David S. Miller
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one definition. * sysdeps/powerpc/powerpc32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Delete. * sysdeps/s390/s390-32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2012-04-05Fix DL_DEBUG_UNUSED to elide the VDSO and handle PLT references properly.David S. Miller
* elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off lazy binding. * elf/dl-lookup (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore undefined symbol errors. * elf/rtlc.c (dl_main): Skip VDSO when checking for unused DT_NEEDED entries.
2012-03-21Add x32 support to dynamic linker auditH.J. Lu
2012-03-20Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu
2012-03-16Add x32 support to ldconfigH.J. Lu
2012-03-09Fix bugs in sparc PLT profiling register management, and add sparc sotruss ↵David S. Miller
support. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local variables with appropriate CPP guards. * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the frame pointer, not the stack pointer. Correct layout comments. Fix test on resulting framesize and the management of the outregs buffer for pltexit. Preserve floating point return values across _dl_call_pltexit call. * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting framesize and the management of the outregs buffer for pltexit. Preserve floating point return values across _dl_call_pltexit call. * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions. (print_exit): Fix format string for return register value.
2012-03-07Remove distribute variable from MakefilesUlrich Drepper
2012-02-29Always set l_used for vDSO.Marek Polacek
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-02-09Avoid pointer type mismatch warning.Richard Henderson
update_get_addr returns a link_map*, but the return expression was of type char*. Fix by relying on gcc's void* arithmetic extension and auto-conversion from void*.
2012-01-30Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper
Conflicts: ChangeLog
2012-01-30Optimize __get_tls_addr a bitUlrich Drepper
Rearrange code to avoid creation of a stack frame. At least on x86-64 the code for the fast path should be down to the bare minimum.
2012-01-30Add Tile relocation types.Chris Metcalf
2012-01-27Sort objects before relocationsUlrich Drepper
2012-01-27Fix commentUlrich Drepper
2012-01-25Remove gets declarations in C++ tests.Joseph Myers
2012-01-08Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-08Static linking is always neededUlrich Drepper
2012-01-07Remove pre-ISO C supportUlrich Drepper
No more __const.
2012-01-07Remove non-ELF supportUlrich Drepper
2012-01-07More IA-64 removalUlrich Drepper
2012-01-07Add explicit declaration of gets in C++ codeUlrich Drepper
2012-01-01Also update new programsUlrich Drepper
2012-01-01Update copyright yearUlrich Drepper
2011-12-23Add missing inline keywordMarek Polacek
According to http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00608.html, a function without `inline' with an `always_inline' attribute is a bug.
2011-11-12Fix warning in __dl_iterate_phdrUlrich Drepper
2011-11-04Fix off-by-one when reading link name in sprofAndreas Schwab
2011-11-01Account for alloca size rounding in extend_allocaAndreas Schwab
2011-10-31Use extend_alloca in _dl_map_object_deps.Paul Pluzhnikov
2011-10-29Typo in last checkinUlrich Drepper
2011-10-29Correctly NUL-terminate link name in sprofUlrich Drepper
2011-10-29Cleanups in ldconfig's chroot handlingUlrich Drepper
2011-10-29Avoid warning in dl-lookup.cUlrich Drepper
2011-10-29Fix readlink call in ldconfig's chroot handlingThomas Jarosch
2011-10-25Small optimization of dependency sortingAndreas Schwab
2011-10-20Preserve link time dependencies over relocation dependenciesAndreas Schwab
2011-10-16Use rounds{s,d} for x86 rint, ceil, floorUlrich Drepper
2011-10-16Cleanup last patchUlrich Drepper
2011-10-16Fix potential problem with skipping relocationsUlrich Drepper
We never seem to have hit this problem but way relative relocations were skipped was wrong. There are relative relocations only in the DT_REL/DT_RELA section. The elf_dynamic_do_##reloc function skipped the entries in all calls, though.
2011-10-14Remove leftover debug message from plddUlrich Drepper
2011-10-07elf/dl-load.c: Avoid warningMarek Polacek
2011-10-05Don't call ifunc functions in trace modeAndreas Schwab
2011-09-14Also relocate in dependency order when doing symbol dependency testingAndreas Schwab
2011-09-13Fix pattern on $(ldd-rewrite-script) substitutionAndreas Schwab
2011-09-13Only use USE___THREAD when definedAndreas Schwab
2011-09-12Revert "Remove last use of USE___THREAD"Ulrich Drepper
This reverts commit de82006d43e198fd162807c9adc720c7ebd728a3. Conflicts: ChangeLog