Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-08-12 | Remove hardcoded ld-uClibc.so.0 name in ldso. | Joakim Tjernlund | |
2005-07-12 | use wrapper debug macros to improve readability | Mike Frysinger | |
2005-07-07 | rip out all the duplicated debug code and move into a shared file | Mike Frysinger | |
2005-07-04 | use the a_val member instead of a_ptr/a_fcn since newer elf defines dropped ↵ | Mike Frysinger | |
the other values | |||
2005-06-30 | change all Elf32_* usage to ElfW(*) usage since we shouldnt care about the ↵ | Mike Frysinger | |
bitsize | |||
2005-06-30 | Quick 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-30 | err revert %p->%x change since _dl_printf() is not fprintf() | Mike Frysinger | |
2005-06-30 | use %p instead of %x to show addresses so we dont have to worry about the ↵ | Mike Frysinger | |
sizeof pointers | |||
2005-06-25 | use _dl_debug_file instead of hardcode 2 | Mike Frysinger | |
2005-05-28 | Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT to | Joakim 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-21 | Enable new FINI processing. ldso now passes a FINI function | Joakim Tjernlund | |
ptr to crt. Only PowerPC and x86 support this currently. | |||
2005-04-27 | Get rid of extern references to ldso variables. | "Steven J. Hill" | |
2005-04-27 | GCC-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-23 | Cleanup library loading. | Joakim Tjernlund | |
2005-04-12 | early debug stuff goes to stderr, not _dl_debug_file | Eric Andersen | |
2005-04-12 | fix a thinko -- we cant use | Eric Andersen | |
2005-04-12 | Only dl-startup.c should be using the SEND_STDERR macros, | Eric Andersen | |
which are intended only for early debugging support. | |||
2005-04-03 | Prepare 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-01 | minor cosmetic cleanup | Eric Andersen | |
2005-03-29 | Moved the addition of load address from the fast path | Joakim 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-20 | Move ldso FINI handling into _dl_fini(). Add #ifndef _DL_DO_FINI_IN_LIBC around | Joakim Tjernlund | |
registering _dl_fini with atexit(). This is a preparation to move the FINI handling to libc. | |||
2005-03-17 | Corrected a typo (exection -> execution). | Peter Kjellerstedt | |
2005-03-17 | General arch cleanup and prepare support for standalone | Joakim Tjernlund | |
execution of ldso. Added new asm for MIPS to be tested. All arches should retest. | |||
2005-03-14 | Fix up x86 so it compiles again. | Eric Andersen | |
2005-03-14 | Simplify PT_INTERP handling. | Joakim Tjernlund | |
Add prototype for _dl_boot() | |||
2005-03-14 | Force suid apps to do unlazy binding of the PLT relocs. | Joakim Tjernlund | |
See http://bugs.gentoo.org/show_bug.cgi?id=71609 for more details. Reported by Peter Mazinger. | |||
2005-01-05 | fix eriks e-mail address | Mike Frysinger | |
2004-11-17 | Add BIND NOW support to MIPS. | Joakim Tjernlund | |
Mips did not honour the LD_BIND_NOW env. variable or the DT_BIND_NOW flag in the dynamic section. | |||
2004-11-10 | Add RTLD_LOCAL support for dlopened libs. Reported by | Joakim Tjernlund | |
Andrew de Quincey, who has been most helpful getting this sorted out, thanks. Thanks also to Peter Mazinger who did alot of testing. Removed all traces of dl_parse_copy_information() since it is no longer used. | |||
2004-11-02 | - Remove dynamic_size from struct elf_resolve. | Joakim Tjernlund | |
- Replace all open coded dynamic handling with a function. Reduces size. - Fold special MIPS dynamic code into the dynamic_info item. - Add RELRO support. - Support linking with "-z now". - prepare for DT_RELACOUNT/DT_RELCOUNT optimization. - Add -z now to ld.so linking, this is what ld.so does anyway so let the linker know that. | |||
2004-10-27 | Jocke's patch was almost right. Just needed move the DT_MIPS_RLD_MAP test | Manuel Novoa III | |
up a bit. Native and remote debugging of shared libs and threaded apps now works on mips. | |||
2004-10-07 | Remove usage of _dl_parse_copy_information() from generic code. | Joakim Tjernlund | |
Remove definition of _dl_parse_copy_information() for powerpc. Remaining archs can do the same. Make debugging output of "relocation processing: xxx" a bit more sane. | |||
2004-10-06 | Peter S. Mazinger writes: | Joakim Tjernlund | |
Hello! Here is the modified unsecvars patch that applies to cvs. | |||
2004-10-06 | Remove unneeded -D<somedefine>, and use instead #ifdef __somedefine__ | Joakim Tjernlund | |
From Peter Mazinger. | |||
2004-10-05 | Peter Kjellerstedt writes: | Joakim Tjernlund | |
After the addition of a configuration option for enabling the support of /etc/ld.so.cache, I thought it might be a good idea to add one for the support of the /etc/ld.so.preload file too. So here it is. While doing this, I also noticed that the dynamic linker would hang indefinitely if either LD_PRELOAD or /etc/ld.so.preload contained a library which was already loaded, so I made a patch for that too. And of course, I could not resist from doing a little clean up of comments and indentation, so here is a patch for that too. | |||
2004-09-08 | Second attempt to fix the INIT/FINI order. This time I think I got it right :) | Joakim Tjernlund | |
This needs testing with apps that have complex dependencies. | |||
2004-09-03 | First attempt to fix the INIT/FINI ordering. Fingers crossed :) | Joakim Tjernlund | |
2004-08-31 | Dont mess with __curbrk in ldso | Eric Andersen | |
2004-08-27 | #include "dl-startup.c into ldso.c, making ldso one compilation unit. | Joakim Tjernlund | |
Now all functions and vaiables can be made static to reduce relocs. Basicly, all variables should be merged into one struct variable and then export that struct. Exported functions should be exported as functions pointers in the above struct. This will reduce the number of relocs inside ldso to a handful. Add -Bsymbolic to linker for ldso. This will resolve all functions (all JMP_SLOT goes away) and the remaining relocs are transformed into RELATIVE relocs. | |||
2004-08-27 | As Mike Frysinger notes, this code is still needed. I | Joakim Tjernlund | |
misread this code and removed it, sorry. I printed the values of _dl_brkp and _dl_envp in ldso and got this when executing: ls: __curbrk: 0x300c16e0 __environ: 0x1008372c ldd: __curbrk: 0x300776e0 __environ: 0x3007759c why is__environ in the app when executing ls but not ldd? | |||
2004-08-26 | Fixup a couple of warnings | Eric Andersen | |
2004-08-26 | Avoid multiple passes to perform mips GOT relocations, and do | Eric Andersen | |
the whole lot in a single pass. -Erik | |||
2004-08-26 | Let ldso find libc's malloc function and set _dl_malloc_function. | Joakim Tjernlund | |
This removes some crap in libdl.c(and future libs which needs to access ldso functions). What do you think? | |||
2004-08-26 | Relocations of the application's global GOT entries were not being run, and | Eric Andersen | |
only the global GOT entry relocations for the loaded shared libs were being handled. This made applications segfault when using un-fixedup symbols. After many hours debugging to track down the problem, this patch makes the mips port happy again. -Erik | |||
2004-08-25 | Patch from Stefan Allius: | Joakim Tjernlund | |
Remove unused function parameter in ldso. Remove echo option '-e' since it is not supported on Solaris. | |||
2004-08-25 | Hopefully fix Laszlo and Jacobs dlopen problem. | Joakim Tjernlund | |
2004-08-19 | 'pagesize' was local to dl-startup.c. In ldso.c we need | Eric Andersen | |
to use '_dl_pagesize' -Erik | |||
2004-08-19 | Remove poor man's malloc. Not needed anymore. | Joakim Tjernlund | |
2004-08-19 | Move "debug_addr" ptr from dl-startup.c to ldso.c | Joakim Tjernlund | |
2004-08-19 | Move the app specific stuff from dl-startup.c to ldso.c. | Joakim Tjernlund | |