summaryrefslogtreecommitdiff
path: root/libc/Makefile
AgeCommit message (Collapse)Author
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-09-28Oops, libc.a didn't got installedPeter S. Mazinger
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-27Provide atexit() for static buildsPeter S. Mazinger
2005-09-26Add __cxa_atexit and __cxa_finalize, thanks to Stephen Warren. This patch ↵Peter S. Mazinger
breaks compatibility with existing binaries, unless the new COMPAT_ATEXIT option is enabled.
2005-09-22no check needed in libm/libpthread, we do not recurse anymore if the related ↵Peter S. Mazinger
option is not set, more Makefile cleanups
2005-09-22Makefile cleanupsPeter S. Mazinger
2005-08-12Removed hardcoded ld-uClibc.so.0 in uClibc. From Peter Mazinger.Joakim Tjernlund
2005-07-28further refine output so the silent mode of make is truly silentMike Frysinger
2005-06-30remove pointless exit 1 ... if $(AR) fails then make will abort okMike Frysinger
2005-06-30Oops, fix link fail.Joakim Tjernlund
2005-06-29Add __libc_stack_end to libc.Joakim Tjernlund
2005-05-26Removed -z defs as a more general solution is in the works.Joakim Tjernlund
2005-05-21Pass main function ptr from crt1 to __uClibc_start_main.Joakim Tjernlund
Kill old crt0/__uClibc_main. This breaks ABI. All apps and toolchain needs to be recompiled. All archs except x86 are now broken and need to be fixed as x86. PPC will be fixed shortly by me, the rest is left to the arch maintainers.
2005-02-13touchup the $(AR) mojo to address some bugs by Peter KjellerstedtMike Frysinger
2005-01-25merge parallel build supportMike Frysinger
2005-01-19fix target dependencies to support parallel buildingMike Frysinger
2005-01-19use $(RANLIB)Mike Frysinger
2004-10-14Remove unused stuff. From Peter Mazinger.Joakim Tjernlund
2004-01-16Link with libfloat if necessary.Manuel Novoa III
2004-01-14Ok.. we need to link with libgcc.a for some archs. I haven't looked atManuel Novoa III
all cases, but the archs I've looked at do build the needed routines as PIC so we should be ok.
2003-11-04minor cleanupEric Andersen
2003-10-31Some more soft float fixes... for arm in particular (libfloat).Manuel Novoa III
Remove the ADD_LIBGCC_FUNCTIONS option and do things the right way. Either we have a shared libgcc available, or the libgcc routines aren't PIC and don't belong in the shared libc anyway.
2003-10-18Peter Kjellerstedt writes:Eric Andersen
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.
2003-10-18Peter Kjellerstedt writes:Eric Andersen
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).
2003-10-18Peter Kjellerstedt writes:Eric Andersen
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.
2003-09-11Peter Kjellerstedt writes:Eric Andersen
The attached patch allows $(CC) to contain spaces (something which we use).
2003-06-05Patch from Peter S. Mazinger to make the get-needed-libgcc-objectsEric Andersen
script work with newer binutils versions.
2003-02-05Patch from Stefan Allius to make adding libgcc functions to the library anEric Andersen
option, to avoid the possibility of adding non PIC code into the shared PIC uClibc library, thereby making the .text segment unshareable.
2003-01-23Cleanup makefiles and make clean a bitEric Andersen
2002-11-27Make support for global constructors and global destructors beEric Andersen
configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
2002-11-08Patch from Stefan Allius for libgcc multilib supportEric Andersen
this is the last patch, we need to make the support of multitarget libgcc complete. --------------------------------- In ldso/ldso/Makefile I added the CPU_LDFLAGS-y to the LDFLAGS --------------------------------- In libc/Makefile I set the LDFLAGS for the script get-needed-objects.sh with CPU_LDFLAGS-y --------------------------------- In extra/scripts/get-needed-object.sh we now use the LIBGCC from Rules.mak and call LD with LDFLAGS (==CPU_LDFLAGS-y). Addtionally I grep the NM output, to fix the unresolved external __GLOBAL_OFFSET_TABLE__ on SuperH targets. ---------------------------------
2002-11-05Patch from Stefan Allius -- export LIBGCCEric Andersen
2002-10-25Put it back the way it was. Sigh.Eric Andersen
2002-10-25Sigh. Lets not use LD to link, or we lose the INTERP field.Eric Andersen
-Erik
2002-10-01This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen
how uClibc handles _init and _fini, allowing shared lib constructors and destructors to initialize things in the correct sequence. Stefan ported the SH architecture. I then ported x86, arm, and mips. x86 and arm are working fine, but I don't think I quite got things correct for mips.
2002-09-16* Added semi-support for version scripts. If sysdeps/linux/<arch>/libc.mapTobias Anderberg
exists read it and include it when linking. * Add LIBGCC when linking libc.
2002-08-09Be more path independentEric Andersen
2002-03-13Build our own crti.o and crtn.o with a cross arch method that IEric Andersen
can live with much better the what glibc does. -Erik
2002-02-18Make shared libs properly list the correct ld.so in the interpEric Andersen
field by being sneaky.
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-16Tell ld explicitly when stuff is supposed to by dynamically linkedEric Andersen
-Erik
2002-01-12Make libc depend on ldsoEric Andersen
2002-01-11Cleanup makfile, use ld to avoid chicken-and-egg problems whenEric Andersen
building gcc/g++. -Erik
2002-01-09Be more carefull about erroring out of shell fragments. Try toEric Andersen
enable -falign-functions if avilable.
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-09-27Update to accomodate the header file changesEric Andersen
2001-05-29Remove the now obsolete "headers" target. Fix call to ↵Eric Andersen
get-needed-libgcc-objects.sh to we define NM and AR properly.
2001-05-26Minor fix.Manuel Novoa III