about summary refs log tree commit diff
path: root/elf
Commit message (Collapse)AuthorAgeFilesLines
* Adding MicroBlaze support to elf/elf.hDavid Holsgrove2013-04-161-0/+32
| | | | Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* Fix invalid free of memory allocated during rtld initAndreas Schwab2013-04-111-0/+6
|
* dl_open_worker: Memset all of seen array.Carlos O'Donell2013-04-061-1/+1
| | | | | | | | | | | | | The seen array was doubled in size recently, but the memset to clear the array was not adjusted. We adjust the memset to always be correct regardless of the size of seen. --- 2013-04-06 Carlos O'Donell <carlos@redhat.com> [BZ #15309] * elf/dl-open.c (dl_open_worker): memset all of seen array.
* Make _dl_phdr pointer to const.Roland McGrath2013-03-281-2/+2
|
* Consolidate declarations of _dl_phdr, _dl_phnum.Roland McGrath2013-03-281-4/+0
|
* Add support for rtld directory different from slib directoryAndreas Schwab2013-03-191-5/+6
|
* Clean up _dl_pagesize initialization.Roland McGrath2013-03-151-4/+2
|
* Fix NEED_DL_SYSINFO_DSO conditionals.Roland McGrath2013-03-015-8/+8
|
* Add ARM relocation constants to elf/elf.h.Petr Machata2013-02-201-18/+119
|
* unify xmalloc prototypes & friendsMike Frysinger2013-02-181-4/+1
| | | | | | | | 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>
* New function _dl_find_dso_for_objectSiddhesh Poyarekar2013-02-184-38/+38
| | | | Consolidate code to search for an address within a DSO.
* Sort Versions filesAndreas Jaeger2013-02-171-12/+11
|
* Remove miscellaneous bounded-pointers relics in C code.Joseph Myers2013-02-151-1/+1
|
* Remove bp-sym.h and BP_SYM uses from C code.Joseph Myers2013-02-141-2/+1
|
* Remove __ptrvalue, __bounded and __unbounded.Joseph Myers2013-02-131-3/+1
|
* Add more comments to _dl_load_cache_lookup().Carlos O'Donell2013-02-081-2/+3
| | | | | | 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.
* ARM: Support loading unmarked objects from cache.Carlos O'Donell2013-02-081-0/+4
| | | | | | | | | | | | 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>
* Remove lots of inline keywords.Roland McGrath2013-02-072-5/+3
|
* Replace an alloca use with a variable-length array.Roland McGrath2013-02-051-3/+2
|
* Don't use GLIBC_PRIVATE errno outside of librariesAndreas Schwab2013-02-041-0/+1
|
* Improve link_map.l_addr comment.Jan Kratochvil2013-02-021-1/+2
|
* Build elf/tst-array2 and elf/tst-array5 with --no-as-neededAdam Conrad2013-01-221-0/+3
| | | | | * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed). (LDFLAGS-tst-array5): Likewise.
* Implement x86 SIZE32/SIZE64 relocationsH.J. Lu2013-01-161-1/+1
|
* 2013-01-11 Steve Ellcey <sellcey@mips.com>Steve Ellcey2013-01-111-2/+4
| | | | | | | * 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.
* Add --enable-hardcoded-path-in-tests configure optionH.J. Lu2013-01-111-20/+12
|
* Fix whitespace in elf.h MIPS macros.Roland McGrath2013-01-101-86/+86
|
* Use __extension__ with long long in installed headers.Joseph Myers2013-01-101-2/+2
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0273-74/+73
|
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-013-6/+3
|
* Update copyright years.David S. Miller2013-01-015-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add values from Linux 3.7 to <elf.h>Andreas Jaeger2012-12-281-0/+5
|
* Warn about unsupported DT_FLAGS_1 flags.Carlos O'Donell2012-11-291-2/+10
| | | | | The dynamic loader will now warn about unsupported DT_FLAGS_1 flags when run with LD_DEBUG=files or LD_DEBUG=all.
* Cast to __intptr_t before casting pointer to int64H.J. Lu2012-11-261-1/+2
|
* sotruss: fix argument parsingAndreas Schwab2012-11-261-2/+2
|
* use $(READELF) rather than readelfMike Frysinger2012-11-231-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>
* Check supported DF_1_XXX bitsH.J. Lu2012-11-212-0/+12
|
* Add ldconfig cache tag handling for AArch64Steve McIntyre2012-11-191-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>
* Add ldconfig cache tag handling for ARM hard-float ABISteve McIntyre2012-11-191-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>
* Remove ELF_MACHINE_NO_PLT conditionals.Joseph Myers2012-11-171-4/+2
|
* Set constructor/destructor priority to 1000H.J. Lu2012-11-162-4/+8
|
* Skip audit if l_reloc_result is NULLH.J. Lu2012-11-143-2/+27
|
* Support --with-pkgversion and --with-bugurl.Joseph Myers2012-11-098-26/+53
|
* Adjust comment above AArch64 relocs.Marcus Shawcroft2012-11-081-1/+1
|
* Adding AArch64 support to elf/elf.hMarcus Shawcroft2012-11-071-0/+18
|
* elf.h: add new tilegx relocations (copy from binutils trunk)Chris Metcalf2012-11-031-3/+14
|
* Fix build for !(defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO).Thomas Schwinge2012-11-011-1/+1
|
* Support cross-testing for elf/tst-array*.Joseph Myers2012-10-301-24/+16
|
* Invoke DL_AFTER_LOAD if definedChris Metcalf2012-10-301-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
* [BZ#14767] Remove tests for have-initfini-array in elf/MakefileAndreas Jaeger2012-10-301-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.
* Fix fini_array and init_array sectionsAndreas Jaeger2012-10-302-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.