summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
2005-06-25create some DEBUG macros for the ld debug earlyMike Frysinger
2005-06-25whitespace/syntax cleanupsMike Frysinger
2005-06-25rework the debug _dl_dprintf usage to avoid #ifdef macros and make more readableMike Frysinger
2005-06-25would help if it actually compiled :/Mike Frysinger
2005-06-25hide the #ifdef debug macros/printfs behind one function to make the code ↵Mike Frysinger
more readable
2005-06-10Based in part on related code in glibc, this might even be correct.Eric Andersen
2005-06-10Finish updating mips for the new ABIEric Andersen
2005-06-03clean up syntax/whitespace and a few variables to minimize diffs between ↵Mike Frysinger
i386/m68k
2005-06-03tweak whitespace to minimize diffs between i386/m68kMike Frysinger
2005-06-01Add debug printout of RTLD_GLOBAL and RTLD_NOW flag.Joakim Tjernlund
2005-06-01Initial support for both RUNPATH support.Joakim Tjernlund
RPATH sematics changed to match RUNPATH. Only difference is that RPATH is searched before LD_LIBRARY_PATH and RUNPATH after. This is not complete but better than the current mess(I think).
2005-05-31Fix bug 60Joakim Tjernlund
2005-05-28Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT toJoakim Tjernlund
be able to run apps built with 0.9.27. This also renames __uClibc_start_main to __uClibc_main. This compat option should be removed some time after 0.9.28 is released. Let me know if you don't like this change.
2005-05-28Add patch at bugs 274. From Peter Manzinger.Joakim Tjernlund
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