aboutsummaryrefslogtreecommitdiff
path: root/elf
AgeCommit message (Collapse)AuthorFilesLines
2012-11-29Warn about unsupported DT_FLAGS_1 flags.Carlos O'Donell1-2/+10
The dynamic loader will now warn about unsupported DT_FLAGS_1 flags when run with LD_DEBUG=files or LD_DEBUG=all.
2012-11-26Cast to __intptr_t before casting pointer to int64H.J. Lu1-1/+2
2012-11-26sotruss: fix argument parsingAndreas Schwab1-2/+2
2012-11-23use $(READELF) rather than readelfMike Frysinger1-1/+1
We setup $(READELF) and use it everywhere, so fix the two places that were using readelf directly. Reported-by: Denis M. <god@politeia.in> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-21Check supported DF_1_XXX bitsH.J. Lu2-0/+12
2012-11-19Add ldconfig cache tag handling for AArch64Steve McIntyre1-0/+3
* sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro. * elf/cache.c (print_entry): Print ",AArch64" for FLAG_AARCH64_LIB64. Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org> Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
2012-11-19Add ldconfig cache tag handling for ARM hard-float ABISteve McIntyre1-1/+4
* sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro. * elf/cache.c (print_entry): Print ",hard-float" for FLAG_ARM_LIBHF. Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org> Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
2012-11-17Remove ELF_MACHINE_NO_PLT conditionals.Joseph Myers1-4/+2
2012-11-16Set constructor/destructor priority to 1000H.J. Lu2-4/+8
2012-11-14Skip audit if l_reloc_result is NULLH.J. Lu3-2/+27
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers8-26/+53
2012-11-08Adjust comment above AArch64 relocs.Marcus Shawcroft1-1/+1
2012-11-07Adding AArch64 support to elf/elf.hMarcus Shawcroft1-0/+18
2012-11-03elf.h: add new tilegx relocations (copy from binutils trunk)Chris Metcalf1-3/+14
2012-11-01Fix build for !(defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO).Thomas Schwinge1-1/+1
2012-10-30Support cross-testing for elf/tst-array*.Joseph Myers1-24/+16
2012-10-30Invoke DL_AFTER_LOAD if definedChris Metcalf1-0/+4
This hook is useful for any arch-specific functionality that should be done on loaded objects. For the tile architecture, the hook is already provided (though we switch to using the new macro name with this commit) and implements a simulator notifier so that the simulator can load Elf symbols to match the object and generate better error messages for PC's. Also, remove a spurious definition of DL_UNMAP in dl-runtime.c
2012-10-30[BZ#14767] Remove tests for have-initfini-array in elf/MakefileAndreas Jaeger1-12/+5
* elf/Makefile (tests): Remove conditional for have-initfini-array since this is now always required and the variable does not exist anymore. (tests-static): Likewise. (modules-names): Likewise.
2012-10-30Fix fini_array and init_array sectionsAndreas Jaeger2-4/+4
* elf/tst-array1.c (fini_array): Make writeable so that it can be merged with constructor/destructor. (init_array): Likewise. * elf/tst-array2dep.c (fini_array): Likewise. (init_array): Likewise.
2012-10-24Support cross-testing.Joseph Myers3-7/+16
2012-10-24Define and use $(run-built-tests).Joseph Myers1-3/+3
2012-10-23Add and use $(host-built-program-cmd).Jim Blandy1-1/+1
2012-10-20Check the main application only if SHARED is definedH.J. Lu3-2/+12
2012-10-20Retry read in ld.so if the entire ELF header is not read inSiddhesh Poyarekar1-2/+12
[BZ #13601] A read operation could return less than requested data for a number of reasons.
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