Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge remote branch 'origin/roland/hwcap_mask' | Ulrich Drepper | 2010-04-08 | 2 | -6/+17 |
|\ | |||||
| * | Obey LD_HWCAP_MASK in ld.so.cache lookups. roland/hwcap_mask | Roland McGrath | 2010-04-05 | 2 | -6/+17 |
| | | |||||
* | | elf/elf.h (ELFOSABI_ARM_AEABI): Define. | Joseph Myers | 2010-04-05 | 1 | -0/+1 |
|/ | |||||
* | elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast. | Roland McGrath | 2010-04-05 | 1 | -1/+1 |
| | |||||
* | Fix aux cache handling in ldconfig with chroot. | Ulrich Drepper | 2010-04-05 | 1 | -7/+14 |
| | |||||
* | Handle platforms without aux vector | Thomas Schwinge | 2010-03-29 | 1 | -3/+3 |
| | |||||
* | Don't take the address of a void object. | Richard Henderson | 2010-03-26 | 1 | -3/+3 |
| | | | | | | | | GCC 4.5 warns about "extern void _end; &end;". Use char[] instead, as that also doesn't fall foul of a target's .sdata optimizations. Signed-off-by: Richard Henderson <rth@twiddle.net> | ||||
* | Fix handling of STB_GNU_UNIQUE in LD_TRACE_PRELINKING | Ulrich Drepper | 2010-03-24 | 2 | -4/+59 |
| | |||||
* | Future safety in checking ELF header. | Ulrich Drepper | 2010-03-18 | 1 | -2/+8 |
| | | | | | | | If we should use further fields in the e_ident array in the ELF header of files we want zero to mean the default. Enforce zero for now so that non-optional features indicated by nonzero values are not go unnoticed when using an old dynamic linker. | ||||
* | Extended ELF ABI version handling only for Linux. | Ulrich Drepper | 2010-03-16 | 1 | -3/+5 |
| | | | | | If the OSABI is generic we should not allow the ABI version to be nonzero. Move all the new functionality into Linux-specific files. | ||||
* | Update copyright year. | Ulrich Drepper | 2010-03-15 | 3 | -8/+8 |
| | |||||
* | Implement handling of libc ABI in ELF header. | Ulrich Drepper | 2010-03-15 | 1 | -2/+4 |
| | |||||
* | Don't underestimate length of DST substitution | Andreas Schwab | 2010-03-12 | 1 | -8/+13 |
| | |||||
* | elf.h: Add missing R_X86_64_*64 relocs. | Roland McGrath | 2010-03-11 | 1 | -1/+7 |
| | |||||
* | Define new x86-64 relocation symbols | Ulrich Drepper | 2010-03-04 | 1 | -1/+3 |
| | |||||
* | Define NT_X86_XSTATE constant for ELF core files. | Roland McGrath | 2010-02-28 | 1 | -0/+1 |
| | |||||
* | Fix comment. | Ulrich Drepper | 2010-02-24 | 1 | -7/+7 |
| | |||||
* | fix powerpc macros in tls-macros.h | Alan Modra | 2010-02-12 | 1 | -121/+113 |
| | |||||
* | Sparc STT_GNU_IFUNC support | David S. Miller | 2010-02-10 | 1 | -0/+2 |
| | |||||
* | Add m68k TLS relocations | Maxim Kuvyrkov | 2010-02-10 | 1 | -1/+22 |
| | |||||
* | Use correct type when casting d_tag. | Andreas Schwab | 2010-01-18 | 1 | -5/+10 |
| | |||||
* | Ignore negative dynamic entry types. | Andreas Schwab | 2010-01-18 | 1 | -1/+1 |
| | |||||
* | /390: Add runtime check for the highgprs kernel feature. | Andreas Krebbel | 2010-01-15 | 1 | -0/+6 |
| | |||||
* | ld.so: Adjust the auxv if ld.so is directly invoked. | Andreas Krebbel | 2010-01-15 | 3 | -20/+40 |
| | | | | | | | | If a binary gets invoked by passing it as argument to ld.so the stack still holds the auxiliary vector of ld.so when entering the _start routine of the executable. So the invocation via ld.so is not fully transparent to the executable. This causes problems if the executable wants to scan the auxv itself. | ||||
* | Add new ELF constant PN_XNUM. | Roland McGrath | 2010-01-07 | 1 | -1/+7 |
| | |||||
* | Use NT_GNU_HWCAP instead of literal 2. | Roland McGrath | 2010-01-07 | 1 | -2/+3 |
| | |||||
* | Avoid ELF lookup race. | Ulrich Drepper | 2009-12-15 | 2 | -5/+10 |
| | | | | | | On some architectures the update of the l_used field in the lookup functions races with setting the other bits in the bitfield. Simply avoid this and optimize use of l_used in general. | ||||
* | Fix up whitespaces. | Ulrich Drepper | 2009-11-06 | 1 | -1/+1 |
| | |||||
* | Properly handle STT_GNU_IFUNC symbols in do_sym. | H.J. Lu | 2009-11-06 | 2 | -2/+16 |
| | | | | | | do_sym should use DL_FIXUP_VALUE_XXX macros to call IFUNC function. Otherwise, it won't compile on ia64. This patch fixes it and adds a test. | ||||
* | Add cast in tst-execstack to avoid warning. | Ulrich Drepper | 2009-10-30 | 1 | -1/+1 |
| | |||||
* | Uglify IFUNC tests for PPC. | Alan Modra | 2009-10-30 | 10 | -99/+24 |
| | |||||
* | Implement IFUNC for PPC. | Alan Modra | 2009-10-30 | 1 | -9/+14 |
| | |||||
* | Handle IFUNC symbols in dlsym. | Andreas Schwab | 2009-10-21 | 1 | -0/+5 |
| | |||||
* | Fix descriptor leak when calling dlopen with RTLD_NOLOAD | Andreas Schwab | 2009-10-07 | 1 | -3/+6 |
| | |||||
* | Fix missing reloc dependency | Ulrich Drepper | 2009-09-28 | 1 | -6/+3 |
| | | | | | | When DL_LOOKUP_ADD_DEPENDENCY was introduced a few callers of _dl_lookup_versioned_symbol were not properly adjusted. One of them survived until now. | ||||
* | Support mixed SSE/AVX audit and check AVX only once. | H.J. Lu | 2009-08-08 | 8 | -2/+758 |
| | | | | | | | | | | This patch fixes mixed SSE/AVX audit and checks AVX only once in _dl_runtime_profile. When an AVX or SSE register value in pltenter is modified, we have to make sure that the SSE part value is the same in both lr_xmm and lr_vector fields so that pltexit will get the correct value from either lr_xmm or lr_vector fields. AVX-enabled pltenter should update both lr_xmm and lr_vector fields to support stacked AVX/SSE pltenter functions. | ||||
* | Fix expanding STB_GNU_UNIQUE hash table. | Andreas Schwab | 2009-08-07 | 1 | -1/+1 |
| | | | | | An invalid symbol name pointer was entered into the hash table while enlarging it. | ||||
* | Preserve SSE registers in runtime relocations on x86-64. | Ulrich Drepper | 2009-07-29 | 2 | -0/+21 |
| | | | | | | | | | | SSE registers are used for passing parameters and must be preserved in runtime relocations. This is inside ld.so enforced through the tests in tst-xmmymm.sh. But the malloc routines used after startup come from libc.so and can be arbitrarily complex. It's overkill to save the SSE registers all the time because of that. These calls are rare. Instead we save them on demand. The new infrastructure put in place in this patch makes this possible and efficient. | ||||
* | Fix bookkeeping of static TLS block for TLS_TCB_AT_TP architectures. | Ulrich Drepper | 2009-07-28 | 1 | -1/+4 |
| | |||||
* | Break out _dl_scope_free into its own file. | Ulrich Drepper | 2009-07-27 | 3 | -36/+59 |
| | | | | | This reduces the coarse static callgraph that can be discovered by looking at the object files. | ||||
* | Fix STB_GNU_UNIQUE handling for > 30 unique symbols. | Jakub Jelinek | 2009-07-27 | 1 | -2/+3 |
| | | | | | | | | | | | | | There were several issues when the initial 31 entries hashtab filled up. size * 3 <= tab->n_elements is always false, table can't have more elements than its size. I assume from libiberty/hashtab.c this meant to be check for 3/4 full. Even after fixing that, _dl_higher_prime_number (31) apparently returns 31, only _dl_higher_prime_number (32) returns 61. And, size variable wasn't updated during reallocation, which means during reallocation the insertion of the new entry was done into a wrong spot. All this lead to a hang in ld.so, because a search with n_elements 31 size 31 wouldn't ever terminate. | ||||
* | Define NT_GNU_GOLD_VERSION. | Ulrich Drepper | 2009-07-26 | 1 | -0/+3 |
| | |||||
* | Minor optimization of unloading prevention patch. | Ulrich Drepper | 2009-07-23 | 1 | -5/+5 |
| | | | | | | References to unique symbols from copy relocations can only come from executables which cannot be unloaded anyway. Optimize the code to set the unload flag a bit. | ||||
* | Fix comment. | Ulrich Drepper | 2009-07-23 | 1 | -1/+1 |
| | |||||
* | Some more fixes for the unique symbol handling. | Ulrich Drepper | 2009-07-23 | 1 | -5/+4 |
| | | | | | The hash value can be zero, so we need a different test for empty slots. And unify the way we prevent a DSO from being unloaded. | ||||
* | Handle unloading of DSO with a unique symbol definition. | Ulrich Drepper | 2009-07-23 | 2 | -5/+48 |
| | |||||
* | Remove warning and little optimization. | Ulrich Drepper | 2009-07-16 | 1 | -0/+1 |
| | | | | | The prototype for _dl_higher_prime_number was missing. While at it, the function is now marked with internal_function. | ||||
* | Fix build issue with modules for audit test on machines != x86-64. | Ulrich Drepper | 2009-07-15 | 1 | -3/+5 |
| | |||||
* | Add AVX support to ld.so auditing for x86-64. | H.J. Lu | 2009-07-10 | 7 | -2/+554 |
| | |||||
* | Remove do-lookup.h. | Ulrich Drepper | 2009-07-10 | 3 | -388/+366 |
| | | | | | It is not necessary/useful anymore to have the content separate from dl-lookup.c. |