aboutsummaryrefslogtreecommitdiff
path: root/elf
AgeCommit message (Collapse)AuthorFilesLines
2012-10-05Move _dl_important_hwcaps to dl-hwcaps.cH.J. Lu4-272/+280
2012-10-05Set GL(dl_nns) to 1 for vDSO in libc.aH.J. Lu1-0/+2
2012-10-05Set up the data structures for vDSO in libc.aH.J. Lu5-238/+292
2012-10-03Clean up conditionalize of ld.so.cache support.Roland McGrath4-11/+16
2012-10-02Use ElfW(Off) rather than off_t for offsets within ELF files.Roland McGrath1-2/+2
2012-09-28Conditionalize elf/dl-sysdep.c contents on [SHARED].Roland McGrath1-2/+9
2012-09-28Define VERSYMIDX/VALIDX/ADDRIDX in ldsodefs.hH.J. Lu5-30/+0
2012-09-25Set "fail on error" mode directly in testsuite shell scriptsDmitry V. Levin2-3/+4
2012-09-19rtld: limit self loading check to normal mode onlyDmitry V. Levin3-2/+52
Commit glibc-2.14~10 disallowed rtld self loading to avoid a segfault that used to happen when rtld was loading itself in normal mode. Unfortunately, that commit disallowed all modes of self loading, including those that used to work before. This change limits the check for self loading to normal mode only, so that instruments like ldd could handle rtld properly.
2012-09-06Restore GL(dl_initial_dtv)H.J. Lu1-4/+2
2012-09-06Remove _dl_initial_dtvH.J. Lu1-1/+8
* csu/libc-tls.c (static_dtv): Renamed to ... (_dl_static_dtv): This. Make it global. (_dl_initial_dtv): Removed. (__libc_setup_tls): Updated. * elf/dl-tls.c (DL_INITIAL_DTV): New macro. (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with DL_INITIAL_DTV.
2012-09-06Synchronize with linux/elf.h.Petr Machata1-0/+9
Add new ARM and s390 note constants e.g. NT_*.
2012-09-06Always check dtv before freeing dtv[-1]H.J. Lu1-2/+0
2012-08-23Check floating-point ABI in ARM VALID_ELF_HEADER.Steve McIntyre1-0/+3
2012-08-20Fix conditional on using DSOCAPS to match condition on defining it.Roland McGrath1-1/+1
2012-08-17Change type of constant to avoid a warning.Roland McGrath1-2/+2
2012-08-17Add a cast to silence a warning.Roland McGrath1-2/+6
2012-08-17Also set r->r_map when unmapping the first object in a namespace.Gary Benson1-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.
2012-08-15Fix dl-load.c for [!_LIBC_REENTRANT] case.Roland McGrath1-0/+2
2012-08-15Add a missing #include to dl-sym.c.Roland McGrath1-1/+2
2012-08-14Add a missing #include.Roland McGrath1-1/+2
2012-08-14Add a missing #include.Roland McGrath1-1/+2
2012-08-08Add new AM33 relocsMark Salter1-2/+17
2012-08-03Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX.Roland McGrath1-4/+3
2012-08-02Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.Marek Polacek4-16/+4
2012-07-30Fix lots of bitrot for stub configurations.Roland McGrath1-0/+2
2012-07-27Add SystemTap static probes to the runtime linker. [BZ #14298]Gary Benson5-3/+149
2012-07-26Move testsuite audit definitions to sysdeps tst-audit.h files.Joseph Myers7-148/+1
2012-07-20Move localplt baselines to sysdeps directories.Joseph Myers1-12/+5
2012-07-19S/390: Add support for STT_GNU_IFUNC symbols.Andreas Krebbel1-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.
2012-07-18Fix a few typos.Marek Polacek1-4/+4
2012-07-17Split tls-macros.h into sysdeps directories.Joseph Myers1-737/+1
2012-07-10Get rid of ASM_GLOBAL_DIRECTIVE.Marek Polacek4-4/+4
2012-07-03Avoid use of libgcc_s and libgcc_eh when building glibc.Joseph Myers2-1/+51
2012-06-22Fix invalid memory access in do_lookup_x.Andreas Schwab4-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-212012-06-21 Jeff Law <law@redhat.com>Jeff Law3-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.
2012-06-01Remove use of INTDEF/INTUSE in stdio-commonAndreas Schwab2-8/+6
2012-05-26Fix stack size and address inconsistency due to executable stackSiddhesh Poyarekar1-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.
2012-05-25Add --enable-systemtap configuration to define static probe points.Roland McGrath2-4/+4
2012-05-20Add <sys/auxv.h> and getauxval.Richard Henderson2-5/+6
2012-05-17Fix warningAndreas Jaeger1-1/+1
Fixes: tst-relsort1.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
2012-05-15Split up stackguard-macros.h into sysdeps directories.Joseph Myers1-32/+0
2012-05-14Use _dl_fatal_printf instead of a private variant.Roland McGrath1-1/+1
2012-05-11Add x32 support to STACK_CHK_GUARDH.J. Lu1-1/+3
2012-05-11Add x32 support to TLS_LE/TLS_IE/TLS_GDH.J. Lu1-5/+11
2012-05-10Handle R_X86_64_RELATIVE64 and R_X86_64_64 for x32H.J. Lu1-1/+2
2012-05-10Hurd: Build pldd also if use-ldconfig != yes || build-shared != yesThomas Schwinge1-3/+2
2012-05-09Make ldconfig message clearerAndreas Jaeger1-2/+4
[BZ #13983] Let not confuse the user and think there's an error instead of a warning.
2012-05-03Fix make clean for recent elf/Makefile changes.Roland McGrath1-3/+3
2012-05-02Fix test-suite failues with -Wl,--as-neededAllan McRae1-1/+20
Signed-off-by: Allan McRae <allan@archlinux.org>