about summary refs log tree commit diff
path: root/elf
Commit message (Collapse)AuthorAgeFilesLines
* Backport fixes for BZ #15006 from master.Wilhelm Eger2013-05-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved backport request BZ #15122. Assume all unmarked objects are compatible with all ABI variants. Such objects may have been generated in a transitional period when ABI tags were not added to all objects. --- 2013-02-08 Carlos O'Donell <carlos@redhat.com> [BZ #15006] * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF. * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support. ports/ 2013-02-08 Carlos O'Donell <carlos@redhat.com> [BZ #15006] * sysdeps/unix/sysv/linux/arm/dl-cache.h [__ARM_PCS_VFP] (_dl_cache_check_flags): Allow plain FLAG_ELF_LIBC6. [!__ARM_PCS_VFP] (_dl_cache_check_flags): Likewise. * sysdeps/unix/sysv/linux/arm/readelflib.c (process_elf_file): Set FLAG_ARM_LIBSF for soft-float ABI otherwise just FLAG_ELF_LIBC6.
* 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.
* Support cross-testing.Joseph Myers2012-10-243-7/+16
|
* Define and use $(run-built-tests).Joseph Myers2012-10-241-3/+3
|
* Add and use $(host-built-program-cmd).Jim Blandy2012-10-231-1/+1
|
* Check the main application only if SHARED is definedH.J. Lu2012-10-203-2/+12
|
* Retry read in ld.so if the entire ELF header is not read inSiddhesh Poyarekar2012-10-201-2/+12
| | | | | | | [BZ #13601] A read operation could return less than requested data for a number of reasons.
* Move _dl_important_hwcaps to dl-hwcaps.cH.J. Lu2012-10-054-272/+280
|
* Set GL(dl_nns) to 1 for vDSO in libc.aH.J. Lu2012-10-051-0/+2
|
* Set up the data structures for vDSO in libc.aH.J. Lu2012-10-055-238/+292
|
* Clean up conditionalize of ld.so.cache support.Roland McGrath2012-10-034-11/+16
|
* Use ElfW(Off) rather than off_t for offsets within ELF files.Roland McGrath2012-10-021-2/+2
|
* Conditionalize elf/dl-sysdep.c contents on [SHARED].Roland McGrath2012-09-281-2/+9
|
* Define VERSYMIDX/VALIDX/ADDRIDX in ldsodefs.hH.J. Lu2012-09-285-30/+0
|
* Set "fail on error" mode directly in testsuite shell scriptsDmitry V. Levin2012-09-252-3/+4
|
* rtld: limit self loading check to normal mode onlyDmitry V. Levin2012-09-193-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.
* Restore GL(dl_initial_dtv)H.J. Lu2012-09-061-4/+2
|
* Remove _dl_initial_dtvH.J. Lu2012-09-061-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.
* Synchronize with linux/elf.h.Petr Machata2012-09-061-0/+9
| | | | Add new ARM and s390 note constants e.g. NT_*.
* Always check dtv before freeing dtv[-1]H.J. Lu2012-09-061-2/+0
|
* Check floating-point ABI in ARM VALID_ELF_HEADER.Steve McIntyre2012-08-231-0/+3
|
* Fix conditional on using DSOCAPS to match condition on defining it.Roland McGrath2012-08-201-1/+1
|
* Change type of constant to avoid a warning.Roland McGrath2012-08-171-2/+2
|
* Add a cast to silence a warning.Roland McGrath2012-08-171-2/+6
|
* Also set r->r_map when unmapping the first object in a namespace.Gary Benson2012-08-171-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.
* Fix dl-load.c for [!_LIBC_REENTRANT] case.Roland McGrath2012-08-151-0/+2
|
* Add a missing #include to dl-sym.c.Roland McGrath2012-08-151-1/+2
|
* Add a missing #include.Roland McGrath2012-08-141-1/+2
|
* Add a missing #include.Roland McGrath2012-08-141-1/+2
|
* Add new AM33 relocsMark Salter2012-08-081-2/+17
|
* Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX.Roland McGrath2012-08-031-4/+3
|
* Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.Marek Polacek2012-08-024-16/+4
|