summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
2005-07-06import start of ldso based on glibcMike Frysinger
2005-07-06make sure ldso.o depends on more files in subdirsMike Frysinger
2005-07-04use the a_val member instead of a_ptr/a_fcn since newer elf defines dropped ↵Mike Frysinger
the other values
2005-07-02use new __always_inline defineMike Frysinger
2005-07-02use new __always_inline defineMike Frysinger
2005-06-30oops, we dont want to use relative paths for the header filesMike Frysinger
2005-06-30if the include files get updated we want to rebuildMike Frysinger
2005-06-30create generic ELF_* macros to hide 32/64 bit differencesMike Frysinger
2005-06-30whitespace tweaksMike Frysinger
2005-06-30change all Elf32_* usage to ElfW(*) usage since we shouldnt care about the ↵Mike Frysinger
bitsize
2005-06-30Quick and dirty hack to prevent ld.so from beeing loaded twice.Joakim Tjernlund
Bug exposed by the new __libc_stack_end feature in libc.so.
2005-06-30typecast to long instead of int so pointers on 64bit arches can be typecast ↵Mike Frysinger
safely
2005-06-30small whitespace fixMike Frysinger
2005-06-30err revert %p->%x change since _dl_printf() is not fprintf()Mike Frysinger
2005-06-30use %p instead of %x to show addresses so we dont have to worry about the ↵Mike Frysinger
sizeof pointers
2005-06-30use %p instead of %x to show addresses so we dont have to worry about the ↵Mike Frysinger
sizeof pointers
2005-06-30The function '_dl_memset' should always be inlined regardless of the"Steven J. Hill"
optimization level chosen. This allows uClibc to be compiled with the latest GCC-4.1.0. While tracking down the specific culprit causing the segmentation fault of the dynamic loader with GCC-4.1.0 I was able to force inlining of other functions such that I shaved 512 bytes off the size of the loader, yay. Also fixed warning in 'dl-hash.c'.
2005-06-27Add __libc_stack_end to ld.so. The libc.a version remains to do.Joakim Tjernlund
sjhill, feel free to comment :)
2005-06-25use _dl_debug_file instead of hardcode 2Mike Frysinger
2005-06-25move _dl_if_debug_dprint() to shared ldso headerMike Frysinger
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