summaryrefslogtreecommitdiffstats
path: root/ldso/libdl
Commit message (Collapse)AuthorAgeFilesLines
* Rework the config system. Better utilize the Kconfig languageEric Andersen2003-11-041-6/+2
| | | | | which should simplify enabling arbitrary architectures. -Erik
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-2/+2
| | | | | | | | | | ln.patch: * Define $(LN) as ln in Rules.mak. * Change all occurrences of ln into $(LN). * Change all constructs like (cd path && ln -sf foo/file file) into $(LN) -sf foo/file path/file. The latter construct is already used in a number of places so it should not be an additional compatibility problem.
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-4/+3
| | | | | | | rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-4/+4
| | | | | | | | | install.patch: * Define $(INSTALL) as install in Rules.mak. * Change all occurrences of install into $(INSTALL). * Change all occurrences of mkdir -p into $(INSTALL) -d. install -d is already used in a number of places so this should not be an additional compatibility problem.
* Doh! I was returning with an incorrect pointer type when dlopeningEric Andersen2003-10-152-14/+14
| | | | | | already loaded libs, which unsurprisingly would cause dlsym() to not work at all... -Erik
* Enable full debug support for ld-uClibc and libdlEric Andersen2003-10-141-0/+9
|
* When someone would dlopen a shared lib that was already opened,Eric Andersen2003-10-092-24/+28
| | | | | | | | | we would try to re-fixup the lib's relocations with rather horrible results. So fix that by checking the the dlopened lib has already had its init functions called, which will never be the case for newly loaded libs, and skip the rest in that case. also apply a few minor fixups
* Fix a problem with dtors/dtors.Eric Andersen2003-09-022-70/+92
|
* I just realized we need global symbol resolution for everything inEric Andersen2003-08-192-122/+10
| | | | | | | | | | | a chain of dependent libraries or libraries that depend on other shared libraries will not work! So with a well placed dyn_chain->flags |= RTLD_GLOBAL; everything is now working perfectly!!! Sweet!!!! This patch also removes some leftover junk from my previous efforts.
* Cool. Found most of the problem. Turns out we were inadvertanly loading someEric Andersen2003-08-192-184/+394
| | | | | | | libraries multiple times, wasting memory and causing different libraries to use different symbol sets, some of which were not properly resolved. Continue scrubbing ld.so and converting it to use proper types.
* Phase one of my evil plan to clean up ld.so...Eric Andersen2003-08-194-187/+51
|
* Run dlopened ctors and dtors in the correct orderEric Andersen2003-06-272-8/+16
|
* doh. I forgot mips can't talk to globals that early on in theEric Andersen2003-03-012-2/+2
| | | | | process. Fix that up too. -Erik
* Fix a potential compile errorEric Andersen2003-02-282-0/+4
|
* Stefan Allius noticed dlib_pic.o was not using XXFLAGS as it shouldEric Andersen2003-01-281-1/+1
|
* If they call dlopen with anything other than RTLD_LAZYEric Andersen2003-01-032-4/+18
| | | | or RTLD_NOW then we need to error out.
* Rework things such that staticly linked applications can useEric Andersen2002-12-123-23/+87
| | | | | | | | dlopen and have it be successful. This required moving some things out of ldso.c into readelflib1.c, and directly including hash.c and readelflib1.c into dlib.c when building the static version of the library. -Erik
* For now, revert Ronald Wahl's change to dlopen. We need toEric Andersen2002-11-152-2/+2
| | | | | look into what is breaking dlclose() further... -Erik
* Ronald Wahl writes:Eric Andersen2002-11-152-0/+2
| | | | | | I noticed that dlclose() does not work since libraries loaded with dlopen are not marked as "loaded_file". This breaks apache with dynamic modules. I append a small fix against uClibc-0.9.16.
* Actually install libdl.aEric Andersen2002-10-251-3/+3
| | | | -Erik
* Kill a warning. Patch from Joel Coltoff <joel@wmi.com>Eric Andersen2002-10-162-0/+8
|
* Fixed 'dlopen' call for MIPS. Things seem to work swimingly. Woohoo!"Steven J. Hill"2002-10-152-0/+18
|
* missed const-ifying this one.Eric Andersen2002-08-192-2/+2
|
* For some perverse reason we were not registering destructorsEric Andersen2002-08-082-0/+8
| | | | | for dlopen'd libraries. This fixes that. -Erik
* Move destructor attribute tagEric Andersen2002-08-082-6/+2
|
* Missed a spotEric Andersen2002-08-082-12/+12
| | | | -Erik
* Cleanup to avoid some undefined behaviorEric Andersen2002-08-082-76/+74
| | | | -Erik
* Fix up of '_dlopen' call and removal of unneeded argument in call ↵"Steven J. Hill"2002-06-052-6/+2
| | | | '_dl_load_elf_shared_library'.
* Fixup and unifiy version numbering. Automate versioning updates.Eric Andersen2002-05-281-2/+2
| | | | | Propagate fixes across makefiles. -Erik
* Patch from Tobias Anderberg <tobias.anderberg@axis.com> toEric Andersen2002-05-022-116/+54
| | | | remove the .asm calls
* Patch from Steven J. Hill <sjhill@realitydiluted.com>:Eric Andersen2002-05-022-6/+6
| | | | | | | | | | I am very pleased to announce that the MIPS dynamic linker/loader for uClibc is now working. It works on big and little endian platforms. A few minor changes were needed to avoid breaking ldd, and since this makes some non-trivial changes, I have tested on x86, arm, and powerpc to be sure thoese arches didn't get broken. Excellent work Steven!
* Make shared libs properly list the correct ld.so in the interpEric Andersen2002-02-181-1/+2
| | | | field by being sneaky.
* Eliminate circular dependancyEric Andersen2002-02-171-1/+1
|
* Fix the bug where binaries built with older toolchains wouldEric Andersen2002-01-281-3/+3
| | | | | | segfault. Turns out that 'ld -nostdlib' was the culprit. Who wouldof thought... -Erik
* Oops. I forgot to add -Bdynamic to this one.Eric Andersen2002-01-161-1/+1
| | | | -Erik
* Depend upon libcEric Andersen2002-01-121-1/+1
|
* Remove the now obsolete d-link tree. Update things to copeEric Andersen2002-01-113-9/+7
| | | | | with the new naming -Erik
* Scrub the way libraries are linked. Use ld, not gcc, to avoidEric Andersen2002-01-111-2/+3
| | | | | chicken-and-egg problems when building gcc toolchains. -Erik
* Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' forEric Andersen2002-01-011-2/+2
| | | | | proper error checking -Erik
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-191-0/+1
|
* Removed TARGET_CFLAGS definition, since it was moved to toplevel Rules.makDavid Schleef2001-11-261-2/+0
|
* Begin removing some unnecessary inlining, and fix namingEric Andersen2001-08-112-24/+24
| | | | | of _dl_fprintf which should really be _dl_dprintf -Erik
* This syncs things up with my local tree. Mainly changes installerEric Andersen2001-08-082-22/+78
| | | | | | issues, and syns things (as far as I am willing) with Dave Schleef's tree. We may need to go another round or so, but we do seem to be converging...
* Turn off USE_CACHE by default (so ldconfig, by default, isn'tEric Andersen2001-07-173-11/+11
| | | | | | | needed). Fix a stupid typo in dlib.c where I had several weak symbols set up backwards, breaking libdl (dlopen and friends), -Erik
* Scrub up a few things I forgot. Add a few more cleanups.Eric Andersen2001-07-133-114/+63
| | | | -Erik
* Force our child libs to link vs libcEric Andersen2001-07-031-1/+1
|
* Be consistant for all the client code, and use TARGET_CC with ↵Eric Andersen2001-06-151-6/+4
| | | | --uclibc-use-build-dir
* Yet more ldso cleanups. Be more discriminating about when using inlinesEric Andersen2001-06-141-2/+2
| | | | | | and when using real functions. Make things be more portable by providing a default C routine to locate the got. -Erik
* I wasn't building the libdl shared lib anymore. Make each lib install aEric Andersen2001-05-181-4/+5
| | | | | | libfoo.so symlink as well as a libfoo.so.0 link, since gcc is currently only looking for files ending in .so. wierd. -Erik
* Ok, this should finish off my massive ro-organization. The sourceEric Andersen2001-05-121-20/+52
| | | | | | | | | tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik