summaryrefslogtreecommitdiff
path: root/ldso
AgeCommit message (Collapse)Author
2005-11-22add some copyright infoMike Frysinger
2005-11-21Remove TOPDIRPeter S. Mazinger
2005-11-21Do not create any files (dl-progname.h) in ldso anymorePeter S. Mazinger
2005-11-21Partly undo earlier patch on vapier's requestPeter S. Mazinger
2005-11-21Guard debug_sym/debug_reloc, make sure elfinterp.c sees __SUPPORT_LD_DEBUG__Peter S. Mazinger
2005-11-21Do not create header links, use -I to find them. Moved dl-progname.h to ↵Peter S. Mazinger
ldso/ldso, that will exist if top_srcdir != top_builddir.
2005-11-20fix up ifdef checks so dl_iterate_phdr is defined in all the proper objectsMike Frysinger
2005-11-18make -j2 works herePeter S. Mazinger
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-09update licenseMike Frysinger
2005-11-06Do not set the RELOCS_DONE flag until it is actually done. This order ↵"Steven J. Hill"
matters for NPTL libpthreads to work. Well, that was a nice waste of 3 hours.
2005-11-02Don't need this debug check anymore.Joakim Tjernlund
2005-11-02psm missed a spot :)Joakim Tjernlund
2005-11-02Move __SSP__ check to headerPeter S. Mazinger
2005-11-02ldso powerpc changes ported to i386Peter S. Mazinger
2005-11-01Add check, so we are sure that the file is correctly built, if the system is ↵Peter S. Mazinger
ssp enabled
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-29Hopefully fix the bug Oleg reported in ↵Joakim Tjernlund
http://uclibc.org/lists/uclibc/2005-October/012809.html This will only fix powerpc. Should be easy to fix the other arches.
2005-10-29Replace all Makefiles for new build infrastucturePeter S. Mazinger
2005-10-28Missed one occurence of BUILD_UCLIBC_LDSOPeter 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-11Remove TMPDIR from glibc's commented listPeter S. Mazinger
2005-10-11Sync unsecvars.h w/ glibc-2.3.5, remove unused vars in uClibc, update ↵Peter S. Mazinger
comment about those in glibc
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-03Move _dl_protect_relro after INIT to allow using attribute_relro within ↵Peter S. Mazinger
uClibc_init
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-27Remove created objects independently of TARGET_ARCH and kill 3 warningsPeter S. Mazinger
2005-09-23I really really HATE gcc-4.1 and its whimsical inline rules."Steven J. Hill"
2005-09-21__set_errno must be redefined after #include "sys/syscall.h".Joakim Tjernlund
syscall.h should not have it's own version of __set_errno, instead syscall.h should include errno.h(see powerpc) since errno handling depends on threads/no threads. I leave the the fixing of syscall.h since there might be some smaller compile problems.
2005-09-20forgot MMAP_HAS_6_ARGSJoakim Tjernlund
2005-09-20Make powerpc use sys/syscall.h, instead of defining its own syscalls.Joakim Tjernlund
2005-09-18Remove unused function.Joakim Tjernlund
2005-09-17Fix bug 430 and reduce ldso size with 1KB :). Not sure if I need to use ↵Joakim Tjernlund
fstat64, but I am sure someone will tell me.
2005-09-08punt _DL_FINI_CRT_COMPAT option now that 0.9.28 has been releasedMike Frysinger
2005-09-08Fix by Martin Schlemmer:Mike Frysinger
If _DL_FINI_CRT_COMPAT is defined, _dl_fini is setup to run at exit via atexit(), but this makes it run _before_ the fini (__app_fini()) of the app, causing stuff like sandbox that frees structs, etc via its fini to segfault. http://bugs.gentoo.org/98187
2005-09-08dlvsym stubMike Frysinger
2005-08-29some fixes by anemo in Bug 9 to play nicely with 32 or 64 bit hostsMike 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.