aboutsummaryrefslogtreecommitdiff
path: root/elf
AgeCommit message (Collapse)Author
2013-03-01Fix NEED_DL_SYSINFO_DSO conditionals.Roland McGrath
2013-02-20Add ARM relocation constants to elf/elf.h.Petr Machata
2013-02-18unify xmalloc prototypes & friendsMike Frysinger
These prototypes are duplicated in many places. Add a dedicated header for holding prototypes for program-specific functions to avoid that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-02-18New function _dl_find_dso_for_objectSiddhesh Poyarekar
Consolidate code to search for an address within a DSO.
2013-02-17Sort Versions filesAndreas Jaeger
2013-02-15Remove miscellaneous bounded-pointers relics in C code.Joseph Myers
2013-02-14Remove bp-sym.h and BP_SYM uses from C code.Joseph Myers
2013-02-13Remove __ptrvalue, __bounded and __unbounded.Joseph Myers
2013-02-08Add more comments to _dl_load_cache_lookup().Carlos O'Donell
Calling _dl_load_cache_lookup will load the cache if not already. If loading the cache fails no more attempts will be made to load the cache.
2013-02-08ARM: Support loading unmarked objects from cache.Carlos O'Donell
ARM now supports loading unmarked objects from the dynamic loader cache. Unmarked objects can be used with the hard-float or soft-float ABI. We must support loading unmarked objects during the transition period from a binutils that does not mark objects to one that does mark them with the correct ELF flags. Signed-off-by: Carlos O'Donell <carlos@redhat.com>
2013-02-07Remove lots of inline keywords.Roland McGrath
2013-02-05Replace an alloca use with a variable-length array.Roland McGrath
2013-02-04Don't use GLIBC_PRIVATE errno outside of librariesAndreas Schwab
2013-02-02Improve link_map.l_addr comment.Jan Kratochvil
2013-01-22Build elf/tst-array2 and elf/tst-array5 with --no-as-neededAdam Conrad
* elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed). (LDFLAGS-tst-array5): Likewise.
2013-01-16Implement x86 SIZE32/SIZE64 relocationsH.J. Lu
2013-01-112013-01-11 Steve Ellcey <sellcey@mips.com>Steve Ellcey
* elf/elf.h (EF_MIPS_ARCH_32): Fix value. (EF_MIPS_ARCH_64): Fix value. (EF_MIPS_ARCH_32R2): New. (EF_MIPS_ARCH_64R2): New.
2013-01-11Add --enable-hardcoded-path-in-tests configure optionH.J. Lu
2013-01-10Fix whitespace in elf.h MIPS macros.Roland McGrath
2013-01-10Use __extension__ with long long in installed headers.Joseph Myers
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers
2013-01-01Update copyright years.David S. Miller
* catgets/gencat.c: Update copyright year. * csu/version.c: Likewise. * debug/catchsegv.sh: Likewise. * debug/pcprofiledump.c: Likewise. * debug/xtrace.sh: Likewise. * elf/ldconfig.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/pldd.c: Likewise. * elf/sotruss.ksh: Likewise. * elf/sprof.c: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/iconvconfig.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * login/programs/pt_chown.c: Likewise. * malloc/memusage.sh: Likewise. * malloc/memusagestat.c: Likewise. * malloc/mtrace.pl: Likewise. * nscd/nscd.c: Likewise. * nss/getent.c: Likewise. * nss/makedb.c: Likewise. * posix/getconf.c: Likewise.
2012-12-28Add values from Linux 3.7 to <elf.h>Andreas Jaeger
2012-11-29Warn about unsupported DT_FLAGS_1 flags.Carlos O'Donell
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. Lu
2012-11-26sotruss: fix argument parsingAndreas Schwab
2012-11-23use $(READELF) rather than readelfMike Frysinger
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. Lu
2012-11-19Add ldconfig cache tag handling for AArch64Steve McIntyre
* 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 McIntyre
* 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 Myers
2012-11-16Set constructor/destructor priority to 1000H.J. Lu
2012-11-14Skip audit if l_reloc_result is NULLH.J. Lu
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers
2012-11-08Adjust comment above AArch64 relocs.Marcus Shawcroft
2012-11-07Adding AArch64 support to elf/elf.hMarcus Shawcroft
2012-11-03elf.h: add new tilegx relocations (copy from binutils trunk)Chris Metcalf
2012-11-01Fix build for !(defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO).Thomas Schwinge
2012-10-30Support cross-testing for elf/tst-array*.Joseph Myers
2012-10-30Invoke DL_AFTER_LOAD if definedChris Metcalf
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 Jaeger
* 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 Jaeger
* 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 Myers
2012-10-24Define and use $(run-built-tests).Joseph Myers
2012-10-23Add and use $(host-built-program-cmd).Jim Blandy
2012-10-20Check the main application only if SHARED is definedH.J. Lu
2012-10-20Retry read in ld.so if the entire ELF header is not read inSiddhesh Poyarekar
[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. Lu
2012-10-05Set GL(dl_nns) to 1 for vDSO in libc.aH.J. Lu