summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
2005-05-25Prepare for standalone execution of ldso.Joakim Tjernlund
2005-05-21Enable new FINI processing. ldso now passes a FINI functionJoakim Tjernlund
ptr to crt. Only PowerPC and x86 support this currently.
2005-05-20Fix debug macros.Joakim Tjernlund
2005-05-01On mips, gdb explicitly looks for the symbol "__dl_runtime_resolve" so changeEric Andersen
the name of our mips resolver function to match gdb's expectations.
2005-04-27Get rid of extern references to ldso variables."Steven J. Hill"
2005-04-27Simplify PERFORM_BOOTSTRAP_RELOC() default path.Paul Mundt
This makes sh and sh64 get more in line with what the other architectures are doing. Also fixes up some build failures.
2005-04-27GCC-4.1.0 doesn't like it when you reference 'extern' one place and then try"Steven J. Hill"
and declare the variable static in another. Let's not do that.
2005-04-23Fix dlopen to handle circular dependency libs. Wouldn't surprise me if ↵Joakim Tjernlund
something else broke. I hate libdl :(
2005-04-23Cleanup library loading.Joakim Tjernlund
2005-04-13Add missing definition for DL_OPENEDEric Andersen
2005-04-13Adjust indentationEric Andersen
2005-04-13This update gets mips working again.Eric Andersen
2005-04-13On some wierd arches (i.e. mips), none of the early debug stuffEric Andersen
works at all, so disable the whole lot.
2005-04-13Fix bug 214, reported by aurel. This is a major update thatJoakim Tjernlund
possibly break other apps. Please test. Send a LD_DEBUG=1 log if there is a problem.
2005-04-13Don't write out the terminating NULL charEric Andersen
2005-04-13Rework the dl-startup.c ldso early debugging macros to beEric Andersen
significantly less horrible
2005-04-12early debug stuff goes to stderr, not _dl_debug_fileEric Andersen
2005-04-12fix a thinko -- we cant use Eric Andersen
2005-04-12Only dl-startup.c should be using the SEND_STDERR macros,Eric Andersen
which are intended only for early debugging support.
2005-04-12Remove __FORCE_SHAREABLE_TEXT_SEGMENTS__ hack from ldso itself.Joakim Tjernlund
2005-04-07Replaced modulo code with the modulo operator.Tobias Anderberg
2005-04-03Prepare PowerPC some more for standalone exection of ldso.Joakim Tjernlund
Note that every arch that wants to support standalone execution needs to align its stack pointer in crtX since ldso will adjust the stack pointer when adjusting argc and argv in standalone mode.
2005-04-01minor cosmetic cleanupEric Andersen
2005-04-01Optimize _dl_elf_hash(), both smaller and faster. MostlyJoakim Tjernlund
taken from glibc.
2005-03-31sh64 ldso updates and fixes.Paul Mundt
Update the sh64 ldso backend to work with Jocke's ldso changes. We also handle a few more relative relocations, and fix a few spots where the LSB was being set incorrectly for SHmedia branches.
2005-03-29Moved the addition of load address from the fast pathJoakim Tjernlund
where possible. This will also make ldso smaller. However the patch touches all archs and I have only tested PPC and x86.
2005-03-21Prepare for moving ldso FINI handling to libc by passing _dl_fini. This ↵Joakim Tjernlund
should not break ABI. Minor cleanup as well.
2005-03-20Prepare for moving ldso FINI handling to libc by passing _dl_fini. This ↵Joakim Tjernlund
should not break ABI. Minor cleanup as well.
2005-03-20Move ldso FINI handling into _dl_fini(). Add #ifndef _DL_DO_FINI_IN_LIBC aroundJoakim Tjernlund
registering _dl_fini with atexit(). This is a preparation to move the FINI handling to libc.
2005-03-18Remove dead code.Joakim Tjernlund
2005-03-18Forgot to commit the arch cleanup changes to m68kJoakim Tjernlund
2005-03-18have ldso.c depend on dl-startup.h tooMike Frysinger
2005-03-17Fix ldso for MIPS.Joakim Tjernlund
2005-03-17Corrected a typo (exection -> execution).Peter Kjellerstedt
2005-03-17General arch cleanup and prepare support for standaloneJoakim Tjernlund
execution of ldso. Added new asm for MIPS to be tested. All arches should retest.
2005-03-16cleanup & standardizeMike Frysinger
2005-03-16add hack like m68k so it *builds* again ... probably needs to be cleaned up ↵Mike Frysinger
like m68k though ...
2005-03-16make it compile againMike Frysinger
2005-03-16make sure we rebuild ldso.o when the dl-*.c files have been updatedMike Frysinger
2005-03-16merge the syscalls and punt the glibc import in the process (blah, what a ↵Mike Frysinger
waste of time that was :D)
2005-03-16updates to match i386Mike Frysinger
2005-03-16clean up whitespace style and hack around a build failure or twoMike Frysinger
2005-03-16fix 13mo+ old typoMike Frysinger
2005-03-16whitespace trimMike Frysinger
2005-03-16clean up style to be match i386Mike Frysinger
2005-03-15Add _dl_boot() prototype.Joakim Tjernlund
2005-03-15A little whitespace clean up.Peter Kjellerstedt
2005-03-15Made it compile again (and it even seems to work).Peter Kjellerstedt
2005-03-15Fix MIPS initial GOT relocation.Joakim Tjernlund
2005-03-14Same typo here.Joakim Tjernlund