summaryrefslogtreecommitdiffstats
path: root/ldso/libdl
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix bug 387, missing _dl_progname for static apps.Joakim Tjernlund2005-08-151-0/+1
|
* Removed hardcoded ld-uClibc.so.0 in uClibc. From Peter Mazinger.Joakim Tjernlund2005-08-121-1/+1
|
* Add dependency on ld-uClibc.so.0 for libdl.so.Joakim Tjernlund2005-08-012-20/+16
| | | | Remove __attribute__ ((__weak__)) from imported ld-uClibc.so.0 symbols.
* Fix bug 358 by protecting _dl_symbol_tables as suggested.Joakim Tjernlund2005-07-271-18/+22
|
* rip out all the duplicated debug code and move into a shared fileMike Frysinger2005-07-071-0/+1
|
* oops, we dont want to use relative paths for the header filesMike Frysinger2005-06-301-1/+1
|
* if the include files get updated we want to rebuildMike Frysinger2005-06-301-2/+2
|
* change all Elf32_* usage to ElfW(*) usage since we shouldnt care about the ↵Mike Frysinger2005-06-301-4/+4
| | | | bitsize
* small whitespace fixMike Frysinger2005-06-301-2/+2
|
* use %p instead of %x to show addresses so we dont have to worry about the ↵Mike Frysinger2005-06-301-18/+15
| | | | sizeof pointers
* would help if it actually compiled :/Mike Frysinger2005-06-251-1/+1
|
* hide the #ifdef debug macros/printfs behind one function to make the code ↵Mike Frysinger2005-06-251-55/+29
| | | | more readable
* Add debug printout of RTLD_GLOBAL and RTLD_NOW flag.Joakim Tjernlund2005-06-011-5/+6
|
* Initial support for both RUNPATH support.Joakim Tjernlund2005-06-011-3/+3
| | | | | | RPATH sematics changed to match RUNPATH. Only difference is that RPATH is searched before LD_LIBRARY_PATH and RUNPATH after. This is not complete but better than the current mess(I think).
* Fix dlopen to handle circular dependency libs. Wouldn't surprise me if ↵Joakim Tjernlund2005-04-231-5/+18
| | | | | | something else broke. I hate libdl :(
* Cleanup library loading.Joakim Tjernlund2005-04-231-16/+6
|
* Fix bug 214, reported by aurel. This is a major update thatJoakim Tjernlund2005-04-131-58/+107
| | | | | possibly break other apps. Please test. Send a LD_DEBUG=1 log if there is a problem.
* Moved the addition of load address from the fast pathJoakim Tjernlund2005-03-291-3/+3
| | | | | where possible. This will also make ldso smaller. However the patch touches all archs and I have only tested PPC and x86.
* no more cvsMike Frysinger2005-02-121-2/+0
|
* clean up dependencies so libraries are only rebuilt when needed and so that ↵Mike Frysinger2005-01-191-8/+5
| | | | parallel build works correctly
* Avoid compiler warnings.Peter Kjellerstedt2005-01-191-3/+3
|
* Fixup function prototypes to match definitions in include/dlfcn.hEric Andersen2005-01-101-2/+4
|
* fix eriks e-mail addressMike Frysinger2005-01-051-1/+1
|
* 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,
* Add BIND NOW support to MIPS.Joakim Tjernlund2004-11-171-8/+10
| | | | | Mips did not honour the LD_BIND_NOW env. variable or the DT_BIND_NOW flag in the dynamic section.
* Add RTLD_LOCAL support for dlopened libs. Reported byJoakim Tjernlund2004-11-101-11/+25
| | | | | | | Andrew de Quincey, who has been most helpful getting this sorted out, thanks. Thanks also to Peter Mazinger who did alot of testing. Removed all traces of dl_parse_copy_information() since it is no longer used.
* - Remove dynamic_size from struct elf_resolve.Joakim Tjernlund2004-11-021-1/+9
| | | | | | | | | | - Replace all open coded dynamic handling with a function. Reduces size. - Fold special MIPS dynamic code into the dynamic_info item. - Add RELRO support. - Support linking with "-z now". - prepare for DT_RELACOUNT/DT_RELCOUNT optimization. - Add -z now to ld.so linking, this is what ld.so does anyway so let the linker know that.
* unmap ld.so.cache when dlopen() returns.Joakim Tjernlund2004-10-141-0/+1
|
* Don't SEGV if library not found.Joakim Tjernlund2004-10-141-10/+9
|
* This patch from Mike Frysinger, extended from an earlier patch from Peter S.Eric Andersen2004-10-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. >
* Second attempt to fix the INIT/FINI order. This time I think I got it right :)Joakim Tjernlund2004-09-081-26/+59
| | | | This needs testing with apps that have complex dependencies.
* Use a more appealing name, matching the function prototypeEric Andersen2004-09-071-6/+6
|
* First attempt to fix the INIT/FINI ordering. Fingers crossed :)Joakim Tjernlund2004-09-031-19/+41
|
* Remove unused variables. From Peter Mazinger.Joakim Tjernlund2004-09-021-1/+0
|