summaryrefslogtreecommitdiffstats
path: root/ldso
Commit message (Collapse)AuthorAgeFilesLines
...
* err revert %p->%x change since _dl_printf() is not fprintf()Mike Frysinger2005-06-301-11/+13
|
* use %p instead of %x to show addresses so we dont have to worry about the ↵Mike Frysinger2005-06-301-14/+12
| | | | sizeof pointers
* use %p instead of %x to show addresses so we dont have to worry about the ↵Mike Frysinger2005-06-301-18/+15
| | | | sizeof pointers
* The function '_dl_memset' should always be inlined regardless of the"Steven J. Hill"2005-06-302-15/+15
| | | | | | | | 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'.
* Add __libc_stack_end to ld.so. The libc.a version remains to do.Joakim Tjernlund2005-06-271-2/+7
| | | | sjhill, feel free to comment :)
* use _dl_debug_file instead of hardcode 2Mike Frysinger2005-06-251-29/+24
|
* move _dl_if_debug_dprint() to shared ldso headerMike Frysinger2005-06-252-13/+7
|
* create some DEBUG macros for the ld debug earlyMike Frysinger2005-06-252-33/+22
|
* whitespace/syntax cleanupsMike Frysinger2005-06-251-45/+46
|
* rework the debug _dl_dprintf usage to avoid #ifdef macros and make more readableMike Frysinger2005-06-251-36/+23
|
* would help if it actually compiled :/Mike Frysinger2005-06-251-1/+1
|
* hide the #ifdef debug macros/printfs behind one function to make the code ↵Mike Frysinger2005-06-251-55/+29
| | | | more readable
* Based in part on related code in glibc, this might even be correct.Eric Andersen2005-06-101-9/+42
|
* Finish updating mips for the new ABIEric Andersen2005-06-102-32/+78
|
* clean up syntax/whitespace and a few variables to minimize diffs between ↵Mike Frysinger2005-06-031-44/+38
| | | | i386/m68k
* tweak whitespace to minimize diffs between i386/m68kMike Frysinger2005-06-031-4/+3
|
* Add debug printout of RTLD_GLOBAL and RTLD_NOW flag.Joakim Tjernlund2005-06-011-5/+6
|
* Initial support for both RUNPATH support.Joakim Tjernlund2005-06-013-16/+26
| | | | | | 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).
* Fix bug 60Joakim Tjernlund2005-05-311-21/+24
|
* Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT toJoakim Tjernlund2005-05-282-0/+14
| | | | | | | | 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.
* Add patch at bugs 274. From Peter Manzinger.Joakim Tjernlund2005-05-281-1/+1
|
* Prepare for standalone execution of ldso.Joakim Tjernlund2005-05-251-0/+11
|
* Enable new FINI processing. ldso now passes a FINI functionJoakim Tjernlund2005-05-211-10/+0
| | | | ptr to crt. Only PowerPC and x86 support this currently.
* Fix debug macros.Joakim Tjernlund2005-05-201-5/+6
|
* On mips, gdb explicitly looks for the symbol "__dl_runtime_resolve" so changeEric Andersen2005-05-013-11/+11
| | | | the name of our mips resolver function to match gdb's expectations.
* Get rid of extern references to ldso variables."Steven J. Hill"2005-04-272-4/+2
|
* Simplify PERFORM_BOOTSTRAP_RELOC() default path.Paul Mundt2005-04-272-16/+0
| | | | | | This makes sh and sh64 get more in line with what the other architectures are doing. Also fixes up some build failures.
* GCC-4.1.0 doesn't like it when you reference 'extern' one place and then try"Steven J. Hill"2005-04-271-2/+2
| | | | and declare the variable static in another. Let's not do that.
* Fix dlopen to handle circular dependency libs. Wouldn't surprise me if ↵Joakim Tjernlund2005-04-231-5/+18
| | | | | | something else broke. I hate libdl :(
* Cleanup library loading.Joakim Tjernlund2005-04-233-47/+19
|
* Add missing definition for DL_OPENEDEric Andersen2005-04-131-4/+5
|
* Adjust indentationEric Andersen2005-04-131-52/+52
|
* This update gets mips working again.Eric Andersen2005-04-131-4/+9
|
* On some wierd arches (i.e. mips), none of the early debug stuffEric Andersen2005-04-131-0/+10
| | | | works at all, so disable the whole lot.
* Fix bug 214, reported by aurel. This is a major update thatJoakim Tjernlund2005-04-131-58/+107
| | | | | possibly break other apps. Please test. Send a LD_DEBUG=1 log if there is a problem.
* Don't write out the terminating NULL charEric Andersen2005-04-131-2/+2
|
* Rework the dl-startup.c ldso early debugging macros to beEric Andersen2005-04-131-38/+54
| | | | significantly less horrible
* early debug stuff goes to stderr, not _dl_debug_fileEric Andersen2005-04-121-15/+9
|
* fix a thinko -- we cant use Eric Andersen2005-04-121-4/+10
|
* Only dl-startup.c should be using the SEND_STDERR macros,Eric Andersen2005-04-121-4/+4
| | | | which are intended only for early debugging support.
* Remove __FORCE_SHAREABLE_TEXT_SEGMENTS__ hack from ldso itself.Joakim Tjernlund2005-04-121-28/+0
|
* Replaced modulo code with the modulo operator.Tobias Anderberg2005-04-071-38/+1
|
* Prepare PowerPC some more for standalone exection of ldso.Joakim Tjernlund2005-04-032-0/+9
| | | | | | 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.
* minor cosmetic cleanupEric Andersen2005-04-011-6/+9
|
* Optimize _dl_elf_hash(), both smaller and faster. MostlyJoakim Tjernlund2005-04-011-4/+10
| | | | taken from glibc.
* sh64 ldso updates and fixes.Paul Mundt2005-03-314-105/+150
| | | | | | | 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.
* Moved the addition of load address from the fast pathJoakim Tjernlund2005-03-2926-121/+120
| | | | | where possible. This will also make ldso smaller. However the patch touches all archs and I have only tested PPC and x86.
* Prepare for moving ldso FINI handling to libc by passing _dl_fini. This ↵Joakim Tjernlund2005-03-211-4/+26
| | | | | | should not break ABI. Minor cleanup as well.
* Prepare for moving ldso FINI handling to libc by passing _dl_fini. This ↵Joakim Tjernlund2005-03-201-9/+14
| | | | | | should not break ABI. Minor cleanup as well.
* Move ldso FINI handling into _dl_fini(). Add #ifndef _DL_DO_FINI_IN_LIBC aroundJoakim Tjernlund2005-03-201-46/+39
| | | | | registering _dl_fini with atexit(). This is a preparation to move the FINI handling to libc.