summaryrefslogtreecommitdiff
path: root/ldso/libdl
AgeCommit message (Collapse)Author
2003-10-14Enable full debug support for ld-uClibc and libdlEric Andersen
2003-10-09When someone would dlopen a shared lib that was already opened,Eric Andersen
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
2003-09-02Fix a problem with dtors/dtors.Eric Andersen
2003-08-19I just realized we need global symbol resolution for everything inEric Andersen
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.
2003-08-19Cool. Found most of the problem. Turns out we were inadvertanly loading someEric Andersen
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.
2003-08-19Phase one of my evil plan to clean up ld.so...Eric Andersen
2003-06-27Run dlopened ctors and dtors in the correct orderEric Andersen
2003-03-01doh. I forgot mips can't talk to globals that early on in theEric Andersen
process. Fix that up too. -Erik
2003-02-28Fix a potential compile errorEric Andersen
2003-01-28Stefan Allius noticed dlib_pic.o was not using XXFLAGS as it shouldEric Andersen
2003-01-03If they call dlopen with anything other than RTLD_LAZYEric Andersen
or RTLD_NOW then we need to error out.
2002-12-12Rework things such that staticly linked applications can useEric Andersen
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
2002-11-15For now, revert Ronald Wahl's change to dlopen. We need toEric Andersen
look into what is breaking dlclose() further... -Erik
2002-11-15Ronald Wahl writes:Eric Andersen
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.
2002-10-25Actually install libdl.aEric Andersen
-Erik
2002-10-16Kill a warning. Patch from Joel Coltoff <joel@wmi.com>Eric Andersen
2002-10-15Fixed 'dlopen' call for MIPS. Things seem to work swimingly. Woohoo!"Steven J. Hill"
2002-08-19missed const-ifying this one.Eric Andersen
2002-08-08For some perverse reason we were not registering destructorsEric Andersen
for dlopen'd libraries. This fixes that. -Erik
2002-08-08Move destructor attribute tagEric Andersen
2002-08-08Missed a spotEric Andersen
-Erik
2002-08-08Cleanup to avoid some undefined behaviorEric Andersen
-Erik
2002-06-05Fix up of '_dlopen' call and removal of unneeded argument in call ↵"Steven J. Hill"
'_dl_load_elf_shared_library'.
2002-05-28Fixup and unifiy version numbering. Automate versioning updates.Eric Andersen
Propagate fixes across makefiles. -Erik
2002-05-02Patch from Tobias Anderberg <tobias.anderberg@axis.com> toEric Andersen
remove the .asm calls
2002-05-02Patch from Steven J. Hill <sjhill@realitydiluted.com>:Eric Andersen
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!
2002-02-18Make shared libs properly list the correct ld.so in the interpEric Andersen
field by being sneaky.
2002-02-17Eliminate circular dependancyEric Andersen
2002-01-28Fix the bug where binaries built with older toolchains wouldEric Andersen
segfault. Turns out that 'ld -nostdlib' was the culprit. Who wouldof thought... -Erik
2002-01-16Oops. I forgot to add -Bdynamic to this one.Eric Andersen
-Erik
2002-01-12Depend upon libcEric Andersen
2002-01-11Remove the now obsolete d-link tree. Update things to copeEric Andersen
with the new naming -Erik
2002-01-11Scrub the way libraries are linked. Use ld, not gcc, to avoidEric Andersen
chicken-and-egg problems when building gcc toolchains. -Erik
2002-01-01Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' forEric Andersen
proper error checking -Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-11-26Removed TARGET_CFLAGS definition, since it was moved to toplevel Rules.makDavid Schleef
2001-08-11Begin removing some unnecessary inlining, and fix namingEric Andersen
of _dl_fprintf which should really be _dl_dprintf -Erik
2001-08-08This syncs things up with my local tree. Mainly changes installerEric Andersen
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...
2001-07-17Turn off USE_CACHE by default (so ldconfig, by default, isn'tEric Andersen
needed). Fix a stupid typo in dlib.c where I had several weak symbols set up backwards, breaking libdl (dlopen and friends), -Erik
2001-07-13Scrub up a few things I forgot. Add a few more cleanups.Eric Andersen
-Erik
2001-07-03Force our child libs to link vs libcEric Andersen
2001-06-15Be consistant for all the client code, and use TARGET_CC with ↵Eric Andersen
--uclibc-use-build-dir
2001-06-14Yet more ldso cleanups. Be more discriminating about when using inlinesEric Andersen
and when using real functions. Make things be more portable by providing a default C routine to locate the got. -Erik
2001-05-18I wasn't building the libdl shared lib anymore. Make each lib install aEric Andersen
libfoo.so symlink as well as a libfoo.so.0 link, since gcc is currently only looking for files ending in .so. wierd. -Erik
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
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
2001-05-10Fix up naming of ld.so so every uses the same define. The top levelEric Andersen
was using one name and the ld.so-1 dir was using another (they happened to be the same). Fix that. -Erik
2001-05-01Another cleanup. Never pass addresses as an 'int'Eric Andersen
-Erik
2001-05-01I forgot to check this in.Eric Andersen
-Erik
2001-04-27Yet another large update to ld.so. In this iteration I finally gotEric Andersen
the C based syscalls working, which greatly simplifies what it takes to get new architectures running. -Erik
2001-04-26Be more careful about not hard coding names.Eric Andersen