summaryrefslogtreecommitdiff
path: root/libexec/ld.elf_so
AgeCommit message (Collapse)Author
2014-01-31Catch up with _lwp_park change.joerg
2014-01-12Don't align random sections. Simplify by using .pushsection/.popsection.joerg
2013-12-03Don't use GOT relocations. Use PC relative for the GOT and GOTOFF formatt
_DYNAMIC. Make thumb friendly.
2013-11-27CID 1132773: Fix file descriptor leakchristos
2013-11-20If dlopen of the dynamic linker is requested, e.g. by rump inskrll
rumpuser_dl_bootstrap, then return &_rtld_objself as the handle and do not create a duplicate mapping. The handle is mostly useless as _rtld_objself doesn't appear on _rtld_objlist. This fixes a problem on earm platforms where ld.elf_so (currently) has an init_array section. Calling this caused binaries to segv.
2013-11-16Remove hack now it's fixed in 4.8.2skrll
2013-11-13Apply hack for gcc 4.8 bug on rtld.c.skrll
2013-10-21Only initialise TLS space from the PT_TLS segment, if the size isjoerg
positive and the offset has been computed. Fixes PR lib/48324.
2013-10-19fix unused variable warningschristos
2013-10-19Add debug code.skrll
2013-10-09Use MACHINE_CPU for m68k. Use similar logic for both tests.matt
2013-10-03The R_SPARC_L44 relocation type is documented to be truncating andmartin
calculated as "(S + A) & 0xfff" - so while it (usually) sets a "imm13" field in the opcode, only 12 bits of the calculated value can be used.
2013-09-23Missing , in table initializermartin
2013-09-10For earm, emit a MARCH note.matt
2013-08-12Some architectures can't create unwind tables without the frame pointer,joerg
so don't use -fomit-frame-pointer on those.
2013-08-03Fix DEBUG build.skrll
2013-07-18Support MACHINE_ARCH of coldfirematt
2013-07-18Use new macros from <machine/asm.h> to be more portablematt
2013-07-10Simplify ELFSIZE by using _MIPS_SZPTRmatt
2013-05-09Remove redundant assignment. Hasn't been needed since 1999.skrll
2013-05-09remove stray debuggingchristos
2013-05-09convert to SIMPLEQ like the rest of the queues.christos
2013-05-09Fix refcount of the object we found in our list by name.christos
2013-05-09Fix debug symlinkskrll
2013-05-08provide debug symlink.christos
2013-05-08need xfree() instead of free(). Using free() ends us up in an infinite loop.christos
2013-05-07we don't need the versioning stuff for lddchristos
2013-05-06don't overwrite COPTSchristos
2013-05-06Fixed handling of DT_SONAME:christos
- add function to add name aliases for shared libraries loaded XXX[1]: we don't add a name during load time, only when DT_SONAME is present. - search already loaded objects in load_by_name for an already loaded object that matches our name and return it. - add missing initialization and cleanup for obj->names XXX[2]: should we make them SIMPLEQ? - Add XXX in rtld.c about getting the name of an object. NB: This makes the jdk work again without resorting to a hack of putting the build path of libjvm.so into the run path (which is a security problem). XXX: Pullup-6?
2013-05-06Trailing whitespaceskrll
2013-05-06Disalble a debug only where it causes problems.skrll
2013-05-06Add some DEBUG code.skrll
2013-05-03Remove dbg for _ctype_matt
2013-05-03Consistently use LDELFSO_MACHINE_ARCH.matt
2013-05-03Remove trailing whitespaceskrll
2013-05-03Provide a default LDELFSO_MACHINE_ARCH. hi matt!skrll
atf-run works again - the init/fini stuff didn't get run otherwise.
2013-05-02Print out &_DYNAMIC too.matt
2013-05-02Print out PT_DYNAMIC address for objmain.matt
Print out &_DYNAMIC too.
2013-04-27Changes for MKCOMPAT for earm.matt
2013-04-25Use __printflike and __dead instead of __attributes__matt
2013-04-25Use phdr as start of phdrs (duh)matt
2013-04-25Use ph, not phdr, consistently.matt
2013-04-25Use relocbase, not mapbase.matt
2013-04-25Don't assume that PT_PHDR is always first.matt
2013-04-25Adjust exidx_start by relocbaseskrll
2013-04-25Handle PT_ARM_EXIDX when mapping objects.skrll
2013-04-25Only include unwind.h if _RTLD_SOURCEmatt
2013-04-24Add support for PT_ARM_EXIDX and __gnu_Unwind_Find_exidx for libgcc's supportmatt
of the ARM EHABI.
2013-04-24Add a ld.elf_so internals version of __gnu_Unwind_Find_exidx for that thematt
libgcc EHABI can find the exception tables for a supplied PC.
2013-04-05split debug info for rtldchristos