Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix a few warnings introduced by my previous commits. | Bernd Schmidt | 2007-12-03 | 1 | -1/+1 | |
| | ||||||
* | Blackfin FD-PIC patch 3/6. | Bernd Schmidt | 2007-12-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Change _dl_find_hash to _dl_lookup_hash, as on the NPTL branch. _dl_find_hash is now a wrapper function around it; unlike on the NPTL branch, it retains the old interface so that not all callers need to be changed. _dl_lookup_hash can optionally give its caller a pointer to the module where the symbol was found. Introduce ELF_RTYPE_CLASS_DLSYM for lookups from libdl. Spelling fixes in the Blackfin port, since Alex Oliva's original version of these patches used _dl_find_hash_mod as the name of the function rather than _dl_lookup_hash. | |||||
* | Blackfin FD-PIC patch 2/6. | Bernd Schmidt | 2007-12-03 | 1 | -3/+24 | |
| | | | | | | Add the necessary changes in ld.so and libdl to deal with targets that prepend an underscore to symbol names. | |||||
* | Blackfin FD-PIC patch 1/6. | Bernd Schmidt | 2007-12-03 | 1 | -1/+14 | |
| | | | | | | | Add a new function _dl_free. In _dl_malloc, ensure we always get back a full page from mmap. Reset _dl_malloc_function and _dl_free_function when libdl is initialized. | |||||
* | - use the compiler-driver instead of the linker | Bernhard Reutner-Fischer | 2007-10-13 | 1 | -1/+1 | |
| | | | | | | | | | - adjust setting flags accordingly to use (hardcoded, see below) -Wl, Potential improvements: *) --warn-unresolved-symbols should perhaps be used for all libs *) eventually rename LDFLAGS to CC_LDFLAGS *) probe for compiler driver's notion of flag to use for passing in linker flags (i.e. don't hardcode "-Wl,") | |||||
* | Bernd Schmidt writes: | Joakim Tjernlund | 2007-03-31 | 1 | -4/+1 | |
| | | | | | | | | | | Currently a static libdl.a doesn't run all the constructors or destructors of the libraries it loads. I can't see a good reason for that, and it does cause aborts in the destructors it does run for things like libgcc.so on the Blackfin. Fixed with the patch below - untested in mainline, but the equivalent has been in our Blackfin tree for a while now. | |||||
* | #1273 if EXTRAVERSION is set, make sure we respect it | Mike Frysinger | 2007-03-19 | 1 | -1/+1 | |
| | ||||||
* | Carmelo Amoroso writes: | Joakim Tjernlund | 2007-03-13 | 1 | -0/+33 | |
| | | | | | | | | | Hi All, the attached patch completes my previous patch on statically linked application calling dlopen enabling the support for LD_DEBUG. Further it fixes the missing initialization of the _dl_library_path variable. This patch has been fully tested with the uClibc-nptl branch (sh4). | |||||
* | Fix libdl bug reported by Cedric Hombourger in | Joakim Tjernlund | 2007-01-26 | 1 | -30/+27 | |
| | | | | http://uclibc.org/lists/uclibc/2007-January/017165.html | |||||
* | merge some more FDPIC related fixes from Bernd Schmidt | Mike Frysinger | 2006-09-19 | 1 | -4/+4 | |
| | ||||||
* | patch from Bernd Schmidt to abstract away initializing of relocation addresses | Mike Frysinger | 2006-07-05 | 1 | -6/+6 | |
| | ||||||
* | convert #if 0 code to _dl_if_debug_print() | Mike Frysinger | 2006-07-05 | 1 | -11/+8 | |
| | ||||||
* | patch from Bernd Schmidt to abstract away load address checks | Mike Frysinger | 2006-07-05 | 1 | -7/+3 | |
| | ||||||
* | fixup my copyright notice, trim stale remnants of older notices which | Eric Andersen | 2006-07-05 | 1 | -2/+1 | |
| | | | | I had clearly run search/replace on that were cluttering things up. | |||||
* | revert fdpic patch so we can merge it in bit by bit | Mike Frysinger | 2006-07-05 | 1 | -9/+13 | |
| | ||||||
* | Bernd Schmidt writes: abstract away addresses so we can support FDPIC ELFs | Mike Frysinger | 2006-06-30 | 1 | -13/+9 | |
| | ||||||
* | typo stderrr | Peter S. Mazinger | 2006-03-24 | 1 | -1/+1 | |
| | ||||||
* | after much deliberation, may i present Joseph S. Myers patch to add support ↵ | Mike Frysinger | 2006-02-14 | 1 | -5/+17 | |
| | | | | | | | | for .init and .fini array processing for the gory details, see the mailing list: http://www.uclibc.org/lists/uclibc/2006-January/014079.html http://www.uclibc.org/lists/uclibc/2006-February/014285.html | |||||
* | use diff variable names so we dont shadow each other | Mike Frysinger | 2006-01-29 | 1 | -10/+12 | |
| | ||||||
* | Bernhard Fischer writes: remove unused variable name | Mike Frysinger | 2006-01-29 | 1 | -3/+0 | |
| | ||||||
* | Get rid of missing prototype warnings | Peter S. Mazinger | 2006-01-26 | 1 | -1/+2 | |
| | ||||||
* | Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵ | Peter S. Mazinger | 2006-01-22 | 1 | -2/+3 | |
| | | | | is a useless attempt | |||||
* | revert debug "fix" since it isnt correct and previous version works | Mike Frysinger | 2005-12-27 | 1 | -3/+3 | |
| | ||||||
* | fix signed/unsigned warnings and unused warnings | Mike Frysinger | 2005-12-14 | 1 | -7/+5 | |
| | ||||||
* | Fix debugging. | "Steven J. Hill" | 2005-12-11 | 1 | -3/+3 | |
| | ||||||
* | Depedencies corrected (less make oldconfig/headers), rerunning make remakes ↵ | Peter S. Mazinger | 2005-11-22 | 1 | -9/+6 | |
| | | | | only headers | |||||
* | rework depends and stripping so that libraries arent rebuilt all the time in ↵ | Mike Frysinger | 2005-11-22 | 1 | -2/+4 | |
| | | | | a loop | |||||
* | Remove TOPDIR | Peter S. Mazinger | 2005-11-21 | 1 | -3/+1 | |
| | ||||||
* | Do not create any files (dl-progname.h) in ldso anymore | Peter S. Mazinger | 2005-11-21 | 2 | -2/+4 | |
| | ||||||
* | Do not create header links, use -I to find them. Moved dl-progname.h to ↵ | Peter S. Mazinger | 2005-11-21 | 1 | -1/+1 | |
| | | | | ldso/ldso, that will exist if top_srcdir != top_builddir. | |||||
* | Add info to CFLAGS about lib we are building | Peter S. Mazinger | 2005-11-18 | 1 | -2/+2 | |
| | ||||||
* | Include all lib*/Makefile.in in top_srcdir/Makefile.in, allows adding ↵ | Peter S. Mazinger | 2005-11-17 | 1 | -24/+37 | |
| | | | | foreign objects to a lib | |||||
* | Use -z relro/-z now on all libs, add some new variables needed later, move ↵ | Peter S. Mazinger | 2005-11-17 | 1 | -5/+0 | |
| | | | | common ldso/libdl parts to Rules.mak, remove strip from all TARGET_ARCH | |||||
* | Add back -L..lib to libdl linker, now that we do not hardcode path to libs ↵ | Peter S. Mazinger | 2005-11-01 | 1 | -1/+1 | |
| | | | | in libc.so | |||||
* | Replace all Makefiles for new build infrastucture | Peter S. Mazinger | 2005-10-29 | 1 | -88/+8 | |
| | ||||||
* | Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵ | Peter S. Mazinger | 2005-10-27 | 2 | -21/+14 | |
| | | | | 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. | |||||
* | Default changed to IMA compiling, disabled explicitely where currently not ↵ | Peter S. Mazinger | 2005-10-26 | 1 | -2/+2 | |
| | | | | possible. Add clean targets for linuxthreads[_db]. | |||||
* | All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵ | Peter S. Mazinger | 2005-10-25 | 1 | -25/+32 | |
| | | | | archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally. | |||||
* | Add the current implementation to review | Peter S. Mazinger | 2005-10-19 | 1 | -10/+11 | |
| | ||||||
* | 2 more examples that show the handling of different objects in lib*.so and ↵ | Peter S. Mazinger | 2005-10-19 | 1 | -0/+51 | |
| | | | | lib*.a, also handle arch specific optimized versions | |||||
* | Forgotten to commit libdl.c, change __LIBDL_SHARED__ to SHARED. | Peter S. Mazinger | 2005-10-14 | 1 | -4/+4 | |
| | ||||||
* | Change __LIBDL_SHARED__ to SHARED. This will be also used in some other ↵ | Peter S. Mazinger | 2005-10-14 | 1 | -1/+1 | |
| | | | | places to get an object built for lib*.so but not for lib*.a. | |||||
* | Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵ | Peter S. Mazinger | 2005-10-12 | 1 | -3/+3 | |
| | | | | objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much. | |||||
* | Do not defer expansions where useless, like CSRC/OBJS/LIB_NAME/AR_LIB_NAME, ↵ | Peter S. Mazinger | 2005-10-11 | 1 | -15/+15 | |
| | | | | defer only for shared lib related stuff, because it is optional. Run STRIPTOOL only once. More use of /$^/$<. | |||||
* | Do not recurse into ldso/libc/libpthread on clean | Peter S. Mazinger | 2005-10-04 | 1 | -1/+1 | |
| | ||||||
* | Move _dl_protect_relro as in ldso.c, thanks to jocke | Peter S. Mazinger | 2005-10-03 | 1 | -9/+9 | |
| | ||||||
* | Clean up debugging levels for MIPS. This should make things consistent now. | "Steven J. Hill" | 2005-10-01 | 1 | -0/+5 | |
| | ||||||
* | Remove ar-target and shared targets, at build time now we traverse the tree ↵ | Peter S. Mazinger | 2005-09-28 | 1 | -36/+41 | |
| | | | | only once. Generalize all toplevel makefiles. Make sure, that libdl.so is built against libc.so and not libc.a | |||||
* | dlvsym stub | Mike Frysinger | 2005-09-08 | 1 | -0/+7 | |
| | ||||||
* | Frank Mehnert writes: | Joakim Tjernlund | 2005-08-24 | 1 | -2/+3 | |
| | | | | | | I use an implementation for malloc()/free() which is sensible about using data after freed. In libdl.c, rpnt1->next->next is accessed after rpnt1->next is freed. Attached patch fixes that problem. |