summaryrefslogtreecommitdiff
path: root/libm
AgeCommit message (Collapse)Author
2005-11-03cleanup how we enable/disable certain wrappers since some were suffering ↵Mike Frysinger
from bit rot ... also enable the round float wrappers
2005-11-02Clean up DOMULTI for libm and add more files blocked earlier by syscall ↵Peter S. Mazinger
problem to libpthread
2005-11-01Split up the .o and .os rules, so all the sources are created if DOPIC is ↵Peter S. Mazinger
disabled.
2005-10-29Replace all Makefiles for new build infrastucturePeter S. Mazinger
2005-10-28Change Makefiles that are not fully IMA to allow it to be used w/ a DOMULTI ↵Peter S. Mazinger
config option
2005-10-28Renamed arch specific Makefile.in to Makefile.arch, else if TARGET_ARCH does ↵Peter S. Mazinger
not exist, we reinclude the including Makefile. Moved arch/common fpu_control.h link creation into main Makefile.in. Updated the link creation script to remove all the other Makefiles
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-26Correct w_cabs.c so it can be added to IMA, add -D_POSIX_MODE for compiling ↵Peter S. Mazinger
s_lib_version.c (only in the new Makefile)
2005-10-26Remove s_ceilf.c and s_floorf.c, ceilf and floorf are provided by the ↵Peter S. Mazinger
float_wrapper. I hope that __ceilf and __floorf are not needed anywhere. Use only __finite from s_finite.c, disabled in fpmacros.c. Allow IMA compiling, 2 files: s_lib_version.c and w_cabs.c have to be reworked for complete IMA.
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-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-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-09-29Remove unneeded temporary file, libm.so will wait until libm.a target is ↵Peter S. Mazinger
finished
2005-09-29Allow parallel building in libmPeter S. Mazinger
2005-09-29Modify libm's Makefile not needing any recursionPeter S. Mazinger
2005-09-29If HAVE_SHARED is disabled and libm/TARGET_ARCH does not exist, subdirs does ↵Peter S. Mazinger
not resolve to anything, not pulling in libm.a target. Add libm.a to all: .
2005-09-28fix buildingMike Frysinger
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-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-22split out nearbyint, round, trunc from libm/powerpc/s_modf.cPeter S. Mazinger
2005-08-15import thumb support from jbowler in Bug 385Mike Frysinger
2005-03-07Disable float wrappers for functions that are not presentlyEric Andersen
implemented in libm
2005-03-07split the float wrappers into separate object filesEric Andersen
2005-03-06Trim off whitespaceEric Andersen
2005-03-01make sure we only create libm.a before running through subdirs, then install itMike Frysinger
2005-02-23make sure subdirs requires the toplevel $(LIBM) already existsMike Frysinger
2005-02-12no more cvsMike Frysinger
2005-01-19redo targets so the archives are only re-built when needed. also change the ↵Mike Frysinger
logic to use Makefile if statements rather than shell.
2004-12-22Cleaned up patch from Peter S. Mazinger adding support forEric Andersen
-fstack-protector and -fno-stack-protector-all security options
2004-08-13Always include the sqrtf wrapper in libm so that we don't need to worryManuel Novoa III
about conditionally configuring something else for libstdc++.
2004-02-09Nicolas Pitre writes:Eric Andersen
Hello Erik, My patch adding ARM assembly soft-float routines to gcc also changes the default FPA float word ordering for the saner VFP word ordering which is also the order anyone would expect on a little endian machine. Problem is that uClibc curently hardwire floats to big endian (FPA) ordering in all cases. Please consider the attached patch to fix this problem. Nicolas
2004-01-16We need to link with libgcc.a when creating shared libs, in order toManuel Novoa III
avoid problems 'hidden symbol' problems. Also handle -lfloat for the soft-float arm case.
2003-11-20Make certain that arch specific stuff is compiled lastEric Andersen
2003-11-04minor cleanupEric Andersen
2003-10-22Atsushi Nemoto writes:Eric Andersen
uClibc's libm has isinf/isinff, isnan/isnanf but not finite/finitef. Here is a patch.
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-08Fixup build problem on powerpcEric Andersen
2003-09-01Atsushi Nemoto writes:Eric Andersen
I found math fpclassify function is broken because FP_XXX definitions in libm/fp_private.h is incompatible with include/math.h. Also I noticed fp_private.h and fpmacros.c use many 'long int' for 32bit variables. I think these should be int or u_int32_t. Here is a patch against 0.9.20. fp_private.c: --- fix union members (use u_int32_t instead of 'unsigned long int'). --- remove incompatible FP_XXX definitions (and some unused macros). fpmacros.c: --- use FP_NAN instead of FP_QNAN/FP_SNAN. --- use correct type (int instead of long int). --- fix union members (use u_int32_t instead of 'unsigned long int'). --- remove unnecessary cast. Note that I had to remove weak_alias for isnanl,isinfl to compile patched fpmacroc.c. Is this really needed? Original behavior (using isnan for isnanl) seems problematic anyway.
2003-06-27Add in ceilf() and floorf() since XFree86 wants them...Eric Andersen
2002-11-09Patch from Simon Rowe to try and build asm libm codeEric Andersen
only when HAS_FPU is set. If you don't have an FPU then usm FPU code isn't going to help much...
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
2002-09-09Clean up a warning.Manuel Novoa III
2002-09-06Add in some weak aliases to allow C99 apps to compile w/o definingEric Andersen
_ISOC99_SOURCE, per what glibc does. -Erik
2002-08-15Fix erroneous grouping.Manuel Novoa III
2002-08-09Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough
using a 3.0.4 version of the sh-linux-gcc compiler.
2002-06-26Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>Eric Andersen