Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-04-22 | ldso: support RTLD_NODELETE and DF_1_NODELETE | Timo Teräs | |
Honor the nodelete flags so we don't delete shared library if it's sticky. This is useful for libpthread if it gets pulled in by a dlopen'ed library. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com> | |||
2010-04-12 | silence debug warning | Bernhard Reutner-Fischer | |
variable 'tmp' set but not used Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2009-12-23 | Make _dl_dprintf buf non-static to avoid multithreading bugs. | Chris Metcalf | |
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com> | |||
2009-12-17 | check if USE_TLS is defined before use | Hans-Christian Egtvedt | |
This patch will convert all the #ifdef USE_TLS and #if USE_TLS to #if defined(USE_TLS) && USE_TLS. By checking if the USE_TLS is defined before checking its value will result in correct behavior for architectures not defining this config symbol. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Acked-by: Carmelo AMOROSO <carmelo.amoroso@st.com> | |||
2009-11-23 | nommu: use MAP_UNINITIALIZE for mallocs | Mike Frysinger | |
Now that the kernel supports MAP_UNINITIALIZE, have the malloc places use it to get real uninitialized memory on no-mmu systems. This avoids a lot of normally useless overhead involved in zeroing out all of the memory (sometimes multiple times). Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2009-10-15 | ldso: clean up breakage in tls merge | Mike Frysinger | |
The TLS merge 534661b91c9849 introduced multiple style problems as well as random breakage: - missing _dl_free - incomplete parametrization of _dl_lookup_hash - restore FDPIC handling in _dl_lookup_hash Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2009-10-07 | ldso: use O_CLOEXEC for cache file | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2009-10-07 | ldso: use MAP_FAILED with ld.so.cache | Mike Frysinger | |
Rather than use our own custom casted -1 value, just use the MAP_FAILED that common code already sets up for us for mmap(). Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2009-09-26 | ldso/: tls support for dynamic linker | Austin Foxley | |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com> | |||
2009-07-05 | Avoid type-punned pointers that break strict-aliasing | Ron | |
Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2009-01-10 | simple optimizations and style fixes in dynamic loading | Denis Vlasenko | |
text data bss dec hex filename - 16709 240 92 17041 4291 lib/ld-uClibc.so + 16634 236 92 16962 4242 lib/ld-uClibc.so - 4602 344 4 4950 1356 lib/libdl-0.9.30-svn.so + 4571 328 4 4903 1327 lib/libdl-0.9.30-svn.so - 4602 344 4 4950 1356 lib/libdl.so + 4571 328 4 4903 1327 lib/libdl.so | |||
2008-12-03 | - use proper macros | Bernhard Reutner-Fischer | |
2008-12-03 | - use proper macro (no obj-code changes) | Bernhard Reutner-Fischer | |
2008-11-18 | Move _dl_iterate_phdr into libc.so.0 and libc.a (as glibc does). | Carmelo Amoroso | |
Currently we have an implementation in ld.so and libdl.a. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | |||
2008-09-23 | ldso: removed dead code. | Carmelo Amoroso | |
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | |||
2008-05-30 | - fix the macros rather than the callees as rightfully noted by bernds (duh!) | Bernhard Reutner-Fischer | |
2008-05-30 | - Avoid warning about missing brace. | Bernhard Reutner-Fischer | |
2008-01-09 | fix broken whitespace in many places; no functional changes | Mike Frysinger | |
2007-12-04 | Blackfin FD-PIC patch 6/6. | Bernd Schmidt | |
These are mostly the changes necessary to deal with loading the libraries into memory. A couple new target macros are defined for this purpose, and the code in dl-elf.c is modified to deal with nommu systems. | |||
2007-04-17 | fix ld.so.cache handling on no-mmu setups | Mike Frysinger | |
2007-02-16 | Fix dlopen for static apps. | Joakim Tjernlund | |
From Carmelo Amoroso. | |||
2006-09-19 | merge some more FDPIC related fixes from Bernd Schmidt | Mike Frysinger | |
2006-07-05 | patch from Bernd Schmidt to abstract away initializing of relocation addresses | Mike Frysinger | |
2006-07-05 | patch from Bernd Schmidt to abstract away load address types | Mike Frysinger | |
2006-07-05 | use ElfW(Addr) in more places | Mike Frysinger | |
2006-07-05 | revert fdpic patch so we can merge it in bit by bit | Mike Frysinger | |
2006-06-30 | Bernd Schmidt writes: abstract away addresses so we can support FDPIC ELFs | Mike Frysinger | |
2006-06-19 | eat whitespace | Mike Frysinger | |
2006-04-12 | doh, forgot to copy the final \0 | Eric Andersen | |
2006-04-12 | micro-optimization -- we already know how long the source is | Eric Andersen | |
2006-04-12 | cleanup whitespace | Eric Andersen | |
2006-04-12 | fixup a big 'ol memory leak in search_for_named_library() | Eric Andersen | |
2006-03-02 | make all the warnings the same and add line #s so we can pick em out at runtime | Mike Frysinger | |
2006-03-02 | kill spurious semicolons | Mike Frysinger | |
2006-01-26 | Get rid of missing prototype warnings | Peter S. Mazinger | |
2006-01-12 | fix a (very unlikely) page leak | Mike Frysinger | |
2005-12-10 | Remove trailing ';' from strong_alias, thx Bernhard Fischer | Peter S. Mazinger | |
2005-11-20 | fix up ifdef checks so dl_iterate_phdr is defined in all the proper objects | Mike Frysinger | |
2005-11-06 | Do not set the RELOCS_DONE flag until it is actually done. This order ↵ | "Steven J. Hill" | |
matters for NPTL libpthreads to work. Well, that was a nice waste of 3 hours. | |||
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-09-17 | Fix bug 430 and reduce ldso size with 1KB :). Not sure if I need to use ↵ | Joakim Tjernlund | |
fstat64, but I am sure someone will tell me. | |||
2005-08-29 | some fixes by anemo in Bug 9 to play nicely with 32 or 64 bit hosts | Mike Frysinger | |
2005-07-11 | use the debug dprint macros to clean up readability | Mike Frysinger | |
2005-07-11 | use the debug dprint macros to clean up readability | Mike Frysinger | |
2005-07-11 | declare reloc_addr as ElfW(Addr) instead of Word since it is an Addr, not a ↵ | Mike Frysinger | |
Word (and it will truncate addresses on 64bit hosts) | |||
2005-07-09 | make sure we use long instead of int so we dont truncate 64bit values | Mike Frysinger | |
2005-07-07 | make RUNPATH/RPATH support configurable | Mike Frysinger | |
2005-06-30 | change all Elf32_* usage to ElfW(*) usage since we shouldnt care about the ↵ | Mike Frysinger | |
bitsize | |||
2005-06-25 | move _dl_if_debug_dprint() to shared ldso header | Mike Frysinger | |
2005-06-25 | rework the debug _dl_dprintf usage to avoid #ifdef macros and make more readable | Mike Frysinger | |