Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-01-24 | - use keywords __asm__ and __inline__ c99. | Bernhard Reutner-Fischer | |
2006-01-19 | would help if i used the right variable name ... | Mike Frysinger | |
2006-01-19 | Frank Mehnert writes: | Mike Frysinger | |
in ldso/ldso.c, function _dl_get_ready_to_run, the variable app_tpnt_tmp is not initialized. The function _dl_parse_dynamic_info() initializes some of their members but not all. For example, if the binary does _not_ contain a DT_TEXTREL record, it is possible that the condition if (app_tpnt->dynamic_info[DT_TEXTREL]) is nevertheless true and we therefore enter the following code path (ldso.c:270). My suggestion is to add _dl_memset(&app_tpnt_rel, 0, sizeof(app_tpnt_rel)); just behind the variable declarations of _dl_get_ready_to_run(). | |||
2005-12-27 | nlist should be unsigned, not signed, as it tracks # of elements in ↵ | Mike Frysinger | |
init_fini_list | |||
2005-12-14 | fix signed/unsigned warnings and unused warnings | Mike Frysinger | |
2005-11-21 | Do not create any files (dl-progname.h) in ldso anymore | Peter S. Mazinger | |
2005-11-02 | Move __SSP__ check to header | Peter S. Mazinger | |
2005-11-01 | Add check, so we are sure that the file is correctly built, if the system is ↵ | Peter S. Mazinger | |
ssp enabled | |||
2005-10-29 | Hopefully fix the bug Oleg reported in ↵ | Joakim Tjernlund | |
http://uclibc.org/lists/uclibc/2005-October/012809.html This will only fix powerpc. Should be easy to fix the other arches. | |||
2005-10-27 | Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵ | Peter S. Mazinger | |
to _dl_setup_stack_chk_guard, as in glibc. SSP requires now binutils-2.16.1 and newer. Add NOT_IN_libc/IS_IN_libc. Began using -DSHARED in uClibc_main.c, there are more candidates in there. Move back dl_protect_relro to it's earlier place. | |||
2005-10-03 | Move _dl_protect_relro after INIT to allow using attribute_relro within ↵ | Peter S. Mazinger | |
uClibc_init | |||
2005-09-08 | punt _DL_FINI_CRT_COMPAT option now that 0.9.28 has been released | Mike Frysinger | |
2005-09-08 | Fix by Martin Schlemmer: | Mike Frysinger | |
If _DL_FINI_CRT_COMPAT is defined, _dl_fini is setup to run at exit via atexit(), but this makes it run _before_ the fini (__app_fini()) of the app, causing stuff like sandbox that frees structs, etc via its fini to segfault. http://bugs.gentoo.org/98187 | |||
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 | |