summaryrefslogtreecommitdiffstats
path: root/ldso/libdl
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a few warnings introduced by my previous commits.Bernd Schmidt2007-12-031-1/+1
|
* Blackfin FD-PIC patch 3/6.Bernd Schmidt2007-12-031-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 Schmidt2007-12-031-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 Schmidt2007-12-031-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 linkerBernhard Reutner-Fischer2007-10-131-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 Tjernlund2007-03-311-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 itMike Frysinger2007-03-191-1/+1
|
* Carmelo Amoroso writes:Joakim Tjernlund2007-03-131-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 inJoakim Tjernlund2007-01-261-30/+27
| | | | http://uclibc.org/lists/uclibc/2007-January/017165.html
* merge some more FDPIC related fixes from Bernd SchmidtMike Frysinger2006-09-191-4/+4
|
* patch from Bernd Schmidt to abstract away initializing of relocation addressesMike Frysinger2006-07-051-6/+6
|
* convert #if 0 code to _dl_if_debug_print()Mike Frysinger2006-07-051-11/+8
|
* patch from Bernd Schmidt to abstract away load address checksMike Frysinger2006-07-051-7/+3
|
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-051-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 bitMike Frysinger2006-07-051-9/+13
|
* Bernd Schmidt writes: abstract away addresses so we can support FDPIC ELFsMike Frysinger2006-06-301-13/+9
|
* typo stderrrPeter S. Mazinger2006-03-241-1/+1
|
* after much deliberation, may i present Joseph S. Myers patch to add support ↵Mike Frysinger2006-02-141-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 otherMike Frysinger2006-01-291-10/+12
|
* Bernhard Fischer writes: remove unused variable nameMike Frysinger2006-01-291-3/+0
|
* Get rid of missing prototype warningsPeter S. Mazinger2006-01-261-1/+2
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-2/+3
| | | | is a useless attempt
* revert debug "fix" since it isnt correct and previous version worksMike Frysinger2005-12-271-3/+3
|
* fix signed/unsigned warnings and unused warningsMike Frysinger2005-12-141-7/+5
|
* Fix debugging."Steven J. Hill"2005-12-111-3/+3
|
* Depedencies corrected (less make oldconfig/headers), rerunning make remakes ↵Peter S. Mazinger2005-11-221-9/+6
| | | | only headers
* rework depends and stripping so that libraries arent rebuilt all the time in ↵Mike Frysinger2005-11-221-2/+4
| | | | a loop
* Remove TOPDIRPeter S. Mazinger2005-11-211-3/+1
|
* Do not create any files (dl-progname.h) in ldso anymorePeter S. Mazinger2005-11-212-2/+4
|
* Do not create header links, use -I to find them. Moved dl-progname.h to ↵Peter S. Mazinger2005-11-211-1/+1
| | | | ldso/ldso, that will exist if top_srcdir != top_builddir.
* Add info to CFLAGS about lib we are buildingPeter S. Mazinger2005-11-181-2/+2
|
* Include all lib*/Makefile.in in top_srcdir/Makefile.in, allows adding ↵Peter S. Mazinger2005-11-171-24/+37
| | | | foreign objects to a lib
* Use -z relro/-z now on all libs, add some new variables needed later, move ↵Peter S. Mazinger2005-11-171-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. Mazinger2005-11-011-1/+1
| | | | in libc.so
* Replace all Makefiles for new build infrastucturePeter S. Mazinger2005-10-291-88/+8
|
* Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵Peter S. Mazinger2005-10-272-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. Mazinger2005-10-261-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. Mazinger2005-10-251-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 reviewPeter S. Mazinger2005-10-191-10/+11
|
* 2 more examples that show the handling of different objects in lib*.so and ↵Peter S. Mazinger2005-10-191-0/+51
| | | | lib*.a, also handle arch specific optimized versions
* Forgotten to commit libdl.c, change __LIBDL_SHARED__ to SHARED.Peter S. Mazinger2005-10-141-4/+4
|
* Change __LIBDL_SHARED__ to SHARED. This will be also used in some other ↵Peter S. Mazinger2005-10-141-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. Mazinger2005-10-121-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. Mazinger2005-10-111-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 cleanPeter S. Mazinger2005-10-041-1/+1
|
* Move _dl_protect_relro as in ldso.c, thanks to jockePeter S. Mazinger2005-10-031-9/+9
|
* Clean up debugging levels for MIPS. This should make things consistent now."Steven J. Hill"2005-10-011-0/+5
|
* Remove ar-target and shared targets, at build time now we traverse the tree ↵Peter S. Mazinger2005-09-281-36/+41
| | | | only once. Generalize all toplevel makefiles. Make sure, that libdl.so is built against libc.so and not libc.a
* dlvsym stubMike Frysinger2005-09-081-0/+7
|
* Frank Mehnert writes:Joakim Tjernlund2005-08-241-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.