about summary refs log tree commit diff
path: root/elf
Commit message (Collapse)AuthorAgeFilesLines
* Fix conditional on using DSOCAPS to match condition on defining it.Roland McGrath2012-08-201-1/+1
|
* Change type of constant to avoid a warning.Roland McGrath2012-08-171-2/+2
|
* Add a cast to silence a warning.Roland McGrath2012-08-171-2/+6
|
* Also set r->r_map when unmapping the first object in a namespace.Gary Benson2012-08-171-1/+1
| | | | | | When unmapping the first object in a namespace, the runtime linker did not update the externally visible pointer. This resulted in debuggers seeing pointers to memory that had been freed.
* Fix dl-load.c for [!_LIBC_REENTRANT] case.Roland McGrath2012-08-151-0/+2
|
* Add a missing #include to dl-sym.c.Roland McGrath2012-08-151-1/+2
|
* Add a missing #include.Roland McGrath2012-08-141-1/+2
|
* Add a missing #include.Roland McGrath2012-08-141-1/+2
|
* Add new AM33 relocsMark Salter2012-08-081-2/+17
|
* Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX.Roland McGrath2012-08-031-4/+3
|
* Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.Marek Polacek2012-08-024-16/+4
|
* Fix lots of bitrot for stub configurations.Roland McGrath2012-07-301-0/+2
|
* Add SystemTap static probes to the runtime linker. [BZ #14298]Gary Benson2012-07-275-3/+149
|
* Move testsuite audit definitions to sysdeps tst-audit.h files.Joseph Myers2012-07-267-148/+1
|
* Move localplt baselines to sysdeps directories.Joseph Myers2012-07-201-12/+5
|
* S/390: Add support for STT_GNU_IFUNC symbols.Andreas Krebbel2012-07-191-1/+2
| | | | | | Add support for STT_GNU_IFUNC symbols and the new R_390_IRELATIVE relocation. Provide optimized version of memcpy, memset, and memcmp for z10 and z196.
* Fix a few typos.Marek Polacek2012-07-181-4/+4
|
* Split tls-macros.h into sysdeps directories.Joseph Myers2012-07-171-737/+1
|
* Get rid of ASM_GLOBAL_DIRECTIVE.Marek Polacek2012-07-104-4/+4
|
* Avoid use of libgcc_s and libgcc_eh when building glibc.Joseph Myers2012-07-032-1/+51
|
* Fix invalid memory access in do_lookup_x.Andreas Schwab2012-06-224-18/+15
| | | | | | | | [BZ #13579] Do not free l_initfini and allow it to be reused on subsequent dl_open calls for the same library. This fixes the invalid memory access in do_lookup_x when the previously free'd l_initfini was accessed through l_searchlist when a library had been opened for the second time.
* 2012-06-21 Jeff Law <law@redhat.com>Jeff Law2012-06-213-12/+12
| | | | | | | | [BZ #13882] * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use uint16_t for elements in the "seen" array to avoid char overflows. * elf/dl-fini.c (_dl_sort_fini): Likewise. * elf/dl-open.c (dl_open_worker): Likewise.
* Remove use of INTDEF/INTUSE in stdio-commonAndreas Schwab2012-06-012-8/+6
|
* Fix stack size and address inconsistency due to executable stackSiddhesh Poyarekar2012-05-261-1/+70
| | | | | | | | | | | | | | | When a stack is marked executable due to loading a DSO that requires an executable stack, the logic tends to leave out a portion of stack after the first frame, thus causing a difference in the value returned by pthread_getattr_np before and after the stack is marked executable. It ought to be possible to fix this by marking the rest of the stack as executable too, but in the interest of marking as less of the stack as executable as possible, the path this fix takes is to make pthread_getattr_np also look at the first frame as the underflow end of the stack and compute size and stack top accordingly. The above happens only for the main process stack. NPTL thread stacks are not affected by this change.
* Add --enable-systemtap configuration to define static probe points.Roland McGrath2012-05-252-4/+4
|
* Add <sys/auxv.h> and getauxval.Richard Henderson2012-05-202-5/+6
|
* Fix warningAndreas Jaeger2012-05-171-1/+1
| | | | | | Fixes: tst-relsort1.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
* Split up stackguard-macros.h into sysdeps directories.Joseph Myers2012-05-151-32/+0
|
* Use _dl_fatal_printf instead of a private variant.Roland McGrath2012-05-141-1/+1
|
* Add x32 support to STACK_CHK_GUARDH.J. Lu2012-05-111-1/+3
|
* Add x32 support to TLS_LE/TLS_IE/TLS_GDH.J. Lu2012-05-111-5/+11
|
* Handle R_X86_64_RELATIVE64 and R_X86_64_64 for x32H.J. Lu2012-05-101-1/+2
|
* 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.