summaryrefslogtreecommitdiffstats
path: root/ldso/libdl/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Merge from trunk that gives us a valid NPTL dynamic loader and the start of ↵"Steven J. Hill"2005-11-291-3/+1
| | | | the new build system. I have probably another 300 and some files to go *sigh*.
* Dynamic loader now builds with new build system. Fix problems with ↵"Steven J. Hill"2005-11-201-97/+8
| | | | 'dl-sysdep.h' and the loader that I should have caught a while ago.
* Add '-DSHARED' flag when building the shared 'libdl'."Steven J. Hill"2005-10-291-0/+3
|
* Sync with trunk."Steven J. Hill"2005-10-061-1/+1
|
* Fix up build system for NPTL. I admit it is much cleaner now, but I lost my ↵"Steven J. Hill"2005-10-041-36/+46
| | | | entire Saturday fixing this $!#$!#@$T! up.
* Rename option PTHREADS_NATIVE to be UCLIBC_HAS_THREADS_NATIVE instead. What ↵"Steven J. Hill"2005-09-241-1/+1
| | | | a stupid name to start with. What idiot thought of that?
* Merge/sync with trunk."Steven J. Hill"2005-08-171-1/+1
|
* Changes made to the dynamic loader for TLS/NPTL support. Additional changes ↵"Steven J. Hill"2005-08-091-1/+7
| | | | made to libpthread and libc for remaining support.
* Merge with latest changes from the trunk."Steven J. Hill"2005-08-041-7/+1
|
* Massive clean up of makefiles with a focus on being able to compile correctly"Steven J. Hill"2005-07-221-2/+8
| | | | | both thread library models. Items of interest are the 'Rules.mak' changes at the top level as well as the new 'Rules.mak' for the NPTL library.
* clean up dependencies so libraries are only rebuilt when needed and so that ↵Mike Frysinger2005-01-191-8/+5
| | | | parallel build works correctly
* Cleaned up patch from Peter S. Mazinger adding support forEric Andersen2004-12-221-1/+1
| | | | | -fstack-protector and -fno-stack-protector-all security options
* Partial commit of a patch from Alexandre Oliva:Eric Andersen2004-12-111-1/+1
| | | | | | | | | | Here's an updated version of the patch I posted about a month ago. It leaves -nostdinc alone, and uses -print-file-name=include instead of -print-search-dirs to figure out where GCC's internal headers are. Please let me know whether there are any portions of this patch you'd like me to break into smaller pieces, to rework, or to give up trying to get into uClibc :-) Thanks,
* This patch from Mike Frysinger, extended from an earlier patch from Peter S.Eric Andersen2004-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mazinger implements the changes suggested by me on the uclibc list. On Tuesday 28 September 2004 02:24 pm, Erik Andersen wrote: > What I think should be done is > > *) Someone that cares about USE_CACHE should fix that option > up to be sure it works, and give it a proper config entry > in extra/Configs/Config.in, and rename it to something > more appropriate such as LDSO_CACHE_SUPPORT. > > *) When LDSO_CACHE_SUPPORT=n, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be included in the default library search path in > dl-elf.c, ldd, and ldconfig. > > *) When LDSO_CACHE_SUPPORT=y, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be excluded from the default library search path in > dl-elf.c, ldd, and ldconfig, and those wishing to include > X11 stuff should add that into /etc/ld.so.conf and re-run > ldconfig. > > *) At present, LDSO_CONF and LDSO_CACHE use the same names > and same structure as glibc. This precludes > LDSO_CACHE_SUPPORT being uses in any sane fashion on a > dial glibc and uClibc system. Just as it was necessary > for use to use a different name for 'libuClibc' rather > than 'libc', and 'ld-uClibc.so.0' rather than > 'ld-linux.so.2' it seems that these configuration files > really ought to be given different names. >
* Fix dependencies.Manuel Novoa III2004-08-191-1/+3
|
* Let ldso decide if it should relocate itselft a second time. ThisJoakim Tjernlund2004-08-171-1/+1
| | | | | | | is needed if ldso should use libcs malloc whenever possible. Fix RTLD_LAZY propagation to RTLD_NOW relocation when requested by libdl.
* Fix usage_count in ldso/libdl.Joakim Tjernlund2004-08-131-1/+1
| | | | | | | Don't' use atexit in libdl. Make destrutor in libdl actually run and to dlclose all dlopened libs. Remove dlclosed libs from the _dl_symbol_tables list.
* Mike Frysinger writes:Joakim Tjernlund2004-08-101-7/+7
| | | | | | | | | | | | | | | | | in libdl, the XXFLAGS is set incorrectly if DODEBUG=y ... it has 'I.' added to it instead of '-I.' ... this of course pisses of gcc :) find attached a patch that cleans up the XXFLAGS setting so as to minimize this kind of thing ... when asked, mjn3 said it was a kosher idea ;) and later writes: hmm it seems ldso also utilizes USE_CACHE in the code (but LIBRARY_CACHE never propogates down to the Makefiles) so the fix is to add $(LIBRARY_CACHE) while setting $(XXFLAGS) Applied with minor fixes and also fixed up ldso/Makefile to match libdl/Makefile.
* Teach libdl to use normal libc symbols whenever possible, i.e. mallocEric Andersen2004-07-301-2/+2
| | | | | rather than _dl_malloc, fprintf rather than _dl_printf, etc. -Erik
* Based on a problem report and patch from Florian Schirmer, fix a compileEric Andersen2004-02-121-1/+1
| | | | | | problem with mips -- contrary to my expectation gcc on mips _always_ defines __PIC__ which breaks the assumption inherent in my code. This should fix things up.
* Rework file naming, aiming for at least a vague level of consistancyEric Andersen2004-02-101-7/+7
|
* We need to link with libgcc.a when creating shared libs, in order toManuel Novoa III2004-01-161-1/+1
| | | | | avoid problems 'hidden symbol' problems. Also handle -lfloat for the soft-float arm case.
* 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.
* Enable full debug support for ld-uClibc and libdlEric Andersen2003-10-141-0/+9
|
* Phase one of my evil plan to clean up ld.so...Eric Andersen2003-08-191-4/+11
|
* Stefan Allius noticed dlib_pic.o was not using XXFLAGS as it shouldEric Andersen2003-01-281-1/+1
|
* Rework things such that staticly linked applications can useEric Andersen2002-12-121-11/+21
| | | | | | | | 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
* Actually install libdl.aEric Andersen2002-10-251-3/+3
| | | | -Erik
* Fixup and unifiy version numbering. Automate versioning updates.Eric Andersen2002-05-281-2/+2
| | | | | Propagate fixes across makefiles. -Erik
* 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-111-1/+1
| | | | | 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
|
* Turn off USE_CACHE by default (so ldconfig, by default, isn'tEric Andersen2001-07-171-1/+1
| | | | | | | 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-131-0/+1
| | | | -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
* Fix up naming of ld.so so every uses the same define. The top levelEric Andersen2001-05-101-1/+1
| | | | | | was using one name and the ld.so-1 dir was using another (they happened to be the same). Fix that. -Erik