summaryrefslogtreecommitdiff
path: root/ldso/libdl
AgeCommit message (Collapse)Author
2005-11-18Add info to CFLAGS about lib we are buildingPeter S. Mazinger
2005-11-17Include all lib*/Makefile.in in top_srcdir/Makefile.in, allows adding ↵Peter S. Mazinger
foreign objects to a lib
2005-11-17Use -z relro/-z now on all libs, add some new variables needed later, move ↵Peter S. Mazinger
common ldso/libdl parts to Rules.mak, remove strip from all TARGET_ARCH
2005-11-01Add back -L..lib to libdl linker, now that we do not hardcode path to libs ↵Peter S. Mazinger
in libc.so
2005-10-29Replace all Makefiles for new build infrastucturePeter S. Mazinger
2005-10-27Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵Peter S. Mazinger
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.
2005-10-26Default changed to IMA compiling, disabled explicitely where currently not ↵Peter S. Mazinger
possible. Add clean targets for linuxthreads[_db].
2005-10-25All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵Peter S. Mazinger
archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
2005-10-19Add the current implementation to reviewPeter S. Mazinger
2005-10-192 more examples that show the handling of different objects in lib*.so and ↵Peter S. Mazinger
lib*.a, also handle arch specific optimized versions
2005-10-14Forgotten to commit libdl.c, change __LIBDL_SHARED__ to SHARED.Peter S. Mazinger
2005-10-14Change __LIBDL_SHARED__ to SHARED. This will be also used in some other ↵Peter S. Mazinger
places to get an object built for lib*.so but not for lib*.a.
2005-10-12Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger
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.
2005-10-11Do not defer expansions where useless, like CSRC/OBJS/LIB_NAME/AR_LIB_NAME, ↵Peter S. Mazinger
defer only for shared lib related stuff, because it is optional. Run STRIPTOOL only once. More use of /$^/$<.
2005-10-04Do not recurse into ldso/libc/libpthread on cleanPeter S. Mazinger
2005-10-03Move _dl_protect_relro as in ldso.c, thanks to jockePeter S. Mazinger
2005-10-01Clean up debugging levels for MIPS. This should make things consistent now."Steven J. Hill"
2005-09-28Remove ar-target and shared targets, at build time now we traverse the tree ↵Peter S. Mazinger
only once. Generalize all toplevel makefiles. Make sure, that libdl.so is built against libc.so and not libc.a
2005-09-08dlvsym stubMike Frysinger
2005-08-24Frank Mehnert writes:Joakim Tjernlund
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.
2005-08-15Fix bug 387, missing _dl_progname for static apps.Joakim Tjernlund
2005-08-12Removed hardcoded ld-uClibc.so.0 in uClibc. From Peter Mazinger.Joakim Tjernlund
2005-08-01Add dependency on ld-uClibc.so.0 for libdl.so.Joakim Tjernlund
Remove __attribute__ ((__weak__)) from imported ld-uClibc.so.0 symbols.
2005-07-27Fix bug 358 by protecting _dl_symbol_tables as suggested.Joakim Tjernlund
2005-07-07rip out all the duplicated debug code and move into a shared fileMike Frysinger
2005-06-30oops, we dont want to use relative paths for the header filesMike Frysinger
2005-06-30if the include files get updated we want to rebuildMike Frysinger
2005-06-30change all Elf32_* usage to ElfW(*) usage since we shouldnt care about the ↵Mike Frysinger
bitsize
2005-06-30small whitespace fixMike Frysinger
2005-06-30use %p instead of %x to show addresses so we dont have to worry about the ↵Mike Frysinger
sizeof pointers
2005-06-25would help if it actually compiled :/Mike Frysinger
2005-06-25hide the #ifdef debug macros/printfs behind one function to make the code ↵Mike Frysinger
more readable
2005-06-01Add debug printout of RTLD_GLOBAL and RTLD_NOW flag.Joakim Tjernlund
2005-06-01Initial support for both RUNPATH support.Joakim Tjernlund
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).
2005-04-23Fix dlopen to handle circular dependency libs. Wouldn't surprise me if ↵Joakim Tjernlund
something else broke. I hate libdl :(
2005-04-23Cleanup library loading.Joakim Tjernlund
2005-04-13Fix bug 214, reported by aurel. This is a major update thatJoakim Tjernlund
possibly break other apps. Please test. Send a LD_DEBUG=1 log if there is a problem.
2005-03-29Moved the addition of load address from the fast pathJoakim Tjernlund
where possible. This will also make ldso smaller. However the patch touches all archs and I have only tested PPC and x86.
2005-02-12no more cvsMike Frysinger
2005-01-19clean up dependencies so libraries are only rebuilt when needed and so that ↵Mike Frysinger
parallel build works correctly
2005-01-19Avoid compiler warnings.Peter Kjellerstedt
2005-01-10Fixup function prototypes to match definitions in include/dlfcn.hEric Andersen
2005-01-05fix eriks e-mail addressMike Frysinger
2004-12-22Cleaned up patch from Peter S. Mazinger adding support forEric Andersen
-fstack-protector and -fno-stack-protector-all security options
2004-12-11Partial commit of a patch from Alexandre Oliva:Eric Andersen
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,
2004-11-17Add BIND NOW support to MIPS.Joakim Tjernlund
Mips did not honour the LD_BIND_NOW env. variable or the DT_BIND_NOW flag in the dynamic section.
2004-11-10Add RTLD_LOCAL support for dlopened libs. Reported byJoakim Tjernlund
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.
2004-11-02- Remove dynamic_size from struct elf_resolve.Joakim Tjernlund
- 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.
2004-10-14unmap ld.so.cache when dlopen() returns.Joakim Tjernlund
2004-10-14Don't SEGV if library not found.Joakim Tjernlund