about summary refs log tree commit diff
path: root/elf
Commit message (Collapse)AuthorAgeFilesLines
* Hurd: Build pldd also if use-ldconfig != yes || build-shared != yesThomas Schwinge2012-05-101-3/+2
|
* Make ldconfig message clearerAndreas Jaeger2012-05-091-2/+4
| | | | | | [BZ #13983] Let not confuse the user and think there's an error instead of a warning.
* Fix make clean for recent elf/Makefile changes.Roland McGrath2012-05-031-3/+3
|
* Fix test-suite failues with -Wl,--as-neededAllan McRae2012-05-021-1/+20
| | | | Signed-off-by: Allan McRae <allan@archlinux.org>
* For PR 14055, add bounds check to _dl_show_auxv().Paul Pluzhnikov2012-05-021-2/+4
|
* Redirect check-localplt output to check-localplt.out.Roland McGrath2012-05-011-1/+2
|
* Do check-localplt test using readelf rather than a build-time C program.Roland McGrath2012-05-012-312/+21
|
* Do check-execstack test using readelf rather than a build-time C program.Roland McGrath2012-05-012-177/+26
|
* Do check-textrel test using readelf rather than a build-time C program.Roland McGrath2012-05-012-209/+16
|
* Don't run tests when cross-compilingAndreas Schwab2012-04-281-0/+4
|
* Parse hexadecimal and octal strings correctlySiddhesh Poyarekar2012-04-251-7/+25
| | | | | | | | The current implementation of __strtoul_internal seems to only pretend to support hex and octal strings by detecting a preceding 0x or 0 and marking base as 8 or 16. When it comes to the actual processing of the string, it only considers numeric values within, thus breaking hex values that may have [a-f] in them. Fixed with this commit.
* Add flexibility to localplt-*.data files, using an awk script rather than ↵Roland McGrath2012-04-241-2/+1
| | | | diff to check the results.
* Prevent warning in pldd.Marek Polacek2012-04-161-9/+9
|
* Check __ILP32__ instead of __LP64__H.J. Lu2012-04-137-7/+7
| | | | | | | | | | | | | * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__. * elf/tst-auditmod3b.c: Likewise. * elf/tst-auditmod4b.c: Likewise. * elf/tst-auditmod5b.c: Likewise. * elf/tst-auditmod6b.c: Likewise. * elf/tst-auditmod6c.c: Likewise. * elf/tst-auditmod7b.c: Likewise. * sysdeps/x86_64/ffsll.c (ffsl): Likewise. * sysdeps/x86_64/preconfigure.in: Likewise. * sysdeps/x86_64/preconfigure: Regenerated.
* Fix ld.so regression.David S. Miller2012-04-101-6/+8
| | | | | | [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.
* New ld.so argument --inhibit-ldcache to disable ld.so.cache lookupSiddhesh Poyarekar2012-04-114-4/+17
| | | | | | | | | | | 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.
* Handle some new sparc relocation types.David S. Miller2012-04-071-0/+1
| | | | | | | | * 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.
* Simplify _ELF_DYNAMIC_DO_RELOC after combining the old two defs.Carlos O'Donell2012-04-071-8/+1
| | | | | * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify conditions and remove no longer applicable assertion.
* Reduce down to one definition of _ELF_DYNAMIC_DO_RELOC.David S. Miller2012-04-051-47/+7
| | | | | | | | | | | | | * 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.
* Fix DL_DEBUG_UNUSED to elide the VDSO and handle PLT references properly.David S. Miller2012-04-052-2/+16
| | | | | | | | | | * 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.
* Add x32 support to dynamic linker auditH.J. Lu2012-03-217-35/+91
|
* Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu2012-03-206-6/+6
|
* Add x32 support to ldconfigH.J. Lu2012-03-161-0/+4
|
* Fix bugs in sparc PLT profiling register management, and add sparc sotruss ↵David S. Miller2012-03-091-2/+56
| | | | | | | | | | | | | | | | | | 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.
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-85/+0
|
* Always set l_used for vDSO.Marek Polacek2012-02-292-1/+15
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0973-215/+142
|
* Avoid pointer type mismatch warning.Richard Henderson2012-02-091-1/+1
| | | | | | 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*.
* Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper2012-01-301-3/+219
|\ | | | | | | | | Conflicts: ChangeLog
| * Add Tile relocation types.Chris Metcalf2012-01-301-3/+219
| |
* | Optimize __get_tls_addr a bitUlrich Drepper2012-01-301-16/+28
|/ | | | | 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.
* Sort objects before relocationsUlrich Drepper2012-01-275-33/+139
|
* Fix commentUlrich Drepper2012-01-271-2/+2
|
* Remove gets declarations in C++ tests.Joseph Myers2012-01-254-6/+0
|
* Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper2012-01-081-2/+4
| | | | | Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
* Static linking is always neededUlrich Drepper2012-01-081-3/+1
|
* Remove pre-ISO C supportUlrich Drepper2012-01-071-3/+3
| | | | No more __const.
* Remove non-ELF supportUlrich Drepper2012-01-071-2/+2
|
* More IA-64 removalUlrich Drepper2012-01-073-123/+21
|
* Add explicit declaration of gets in C++ codeUlrich Drepper2012-01-074-0/+8
|
* Also update new programsUlrich Drepper2012-01-012-4/+4
|
* Update copyright yearUlrich Drepper2012-01-013-6/+6
|
* Add missing inline keywordMarek Polacek2011-12-235-6/+6
| | | | | 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.
* Fix warning in __dl_iterate_phdrUlrich Drepper2011-11-121-1/+3
|
* Fix off-by-one when reading link name in sprofAndreas Schwab2011-11-041-1/+1
|
* Account for alloca size rounding in extend_allocaAndreas Schwab2011-11-011-6/+2
|
* Use extend_alloca in _dl_map_object_deps.Paul Pluzhnikov2011-10-311-2/+17
|
* Typo in last checkinUlrich Drepper2011-10-291-1/+1
|
* Correctly NUL-terminate link name in sprofUlrich Drepper2011-10-291-3/+4
|
* Cleanups in ldconfig's chroot handlingUlrich Drepper2011-10-291-3/+2
|