Age | Commit message (Collapse) | Author |
|
about conditionally configuring something else for libstdc++.
|
|
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
|
|
avoid problems 'hidden symbol' problems. Also handle -lfloat for the
soft-float arm case.
|
|
|
|
|
|
uClibc's libm has isinf/isinff, isnan/isnanf but not finite/finitef.
Here is a patch.
|
|
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.
|
|
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).
|
|
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.
|
|
|
|
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.
|
|
|
|
only when HAS_FPU is set. If you don't have an FPU
then usm FPU code isn't going to help much...
|
|
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
|
|
|
|
_ISOC99_SOURCE, per what glibc does.
-Erik
|
|
|
|
using
a 3.0.4 version of the sh-linux-gcc compiler.
|
|
|
|
Propagate fixes across makefiles.
-Erik
|
|
|
|
|
|
of the isinf() macro, which was a casulty of my grafting the
glibc header onto out math library.
|
|
-Erik
|
|
-Erik
|
|
being part of the classic math lib stuff.
-Erik
|
|
field by being sneaky.
|
|
segfault. Turns out that 'ld -nostdlib' was the culprit.
Who wouldof thought...
-Erik
|
|
-Erik
|
|
|
|
|
|
chicken-and-egg problems when building gcc toolchains.
-Erik
|
|
|
|
enable -falign-functions if avilable.
|
|
|
|
proper error checking
-Erik
|
|
|
|
|
|
just using 'cp -a' and see if anyone complains and makes me use tar
or something.
Check libm for undefined non-libc symbols.
|
|
|
|
-Erik
|
|
|
|
|
|
subdir. Put together a theoretical framework for adding arch specific
optimizations. Havn't tried this yet but it looks correct...
-Erik
|
|
|
|
-Erik
|
|
math library (which is itself based on the math lib from FreeBSD).
-Erik
|
|
|
|
|
|
|