OSDN Git Service
Eric Andersen [Thu, 11 Sep 2003 11:25:20 +0000 (11:25 -0000)]
Fix several stupid bugs I let slip into the release
Eric Andersen [Thu, 11 Sep 2003 11:12:55 +0000 (11:12 -0000)]
Peter Kjellerstedt writes:
The attached patch allows $(CC) to contain spaces
(something which we use).
Eric Andersen [Thu, 11 Sep 2003 10:47:23 +0000 (10:47 -0000)]
Simplify an expression. Use static const on strings to avoid
a gcc 2.95 compiler problem on powerpc.
Eric Andersen [Thu, 11 Sep 2003 10:26:16 +0000 (10:26 -0000)]
Stefan Allius writes:
Hello,
my patch changed the format of the ldso debug output to the same
format as on the i386 systems.
By Stefan
Eric Andersen [Thu, 11 Sep 2003 10:24:28 +0000 (10:24 -0000)]
Stefan Allius writes:
1. Under Solaris the test command with the 'string' argument don't
work well. So I added the '-n' argument, which might work on all
platforms.
2. The sed under Solaris don't support the '-s' argument, which is a
GNU extension. I changed it to '-e' which works fine for me.
Eric Andersen [Tue, 9 Sep 2003 10:02:31 +0000 (10:02 -0000)]
Yet more trivial doc updates
Eric Andersen [Tue, 9 Sep 2003 09:52:01 +0000 (09:52 -0000)]
minor spelling fixes
Eric Andersen [Tue, 9 Sep 2003 09:44:43 +0000 (09:44 -0000)]
Force Large File Support disabled on Cris, since something
appears to be wrong with their toolchain that is tickled
by LFS.
Eric Andersen [Tue, 9 Sep 2003 09:42:40 +0000 (09:42 -0000)]
Make sure that __syscall_fcntl is extern when LFS
is disabled
Eric Andersen [Tue, 9 Sep 2003 09:29:12 +0000 (09:29 -0000)]
sigh. The cris compiler doesn't do link_warning's....
Eric Andersen [Tue, 9 Sep 2003 09:23:12 +0000 (09:23 -0000)]
Fix cris shared lib loader so it compiles...
Eric Andersen [Tue, 9 Sep 2003 09:11:16 +0000 (09:11 -0000)]
Fix grammar
Eric Andersen [Tue, 9 Sep 2003 09:07:10 +0000 (09:07 -0000)]
Update website
Eric Andersen [Tue, 9 Sep 2003 09:04:47 +0000 (09:04 -0000)]
Attack of the spelling police....
Eric Andersen [Tue, 9 Sep 2003 08:33:10 +0000 (08:33 -0000)]
update changelog
Eric Andersen [Tue, 9 Sep 2003 07:17:41 +0000 (07:17 -0000)]
Update changelog for release
Eric Andersen [Tue, 9 Sep 2003 06:12:34 +0000 (06:12 -0000)]
Enable automagic locale data downloads
Eric Andersen [Tue, 9 Sep 2003 06:11:11 +0000 (06:11 -0000)]
Arm needs this to compile with gcc 2.95
Eric Andersen [Tue, 9 Sep 2003 05:53:30 +0000 (05:53 -0000)]
Add in several config system updates for locale support.
Manuel Novoa III [Tue, 9 Sep 2003 04:15:27 +0000 (04:15 -0000)]
Fix wctype.c so that wchar can be enabled without ctype table-based functions.
Eric Andersen [Mon, 8 Sep 2003 23:43:20 +0000 (23:43 -0000)]
Force enable ADD_LIBGCC_FUNCTIONS on arm
Eric Andersen [Mon, 8 Sep 2003 23:27:46 +0000 (23:27 -0000)]
Oops! I broke pread on mips with my last update. This
fixes it again so it both compiles and works,
-Erik
Eric Andersen [Mon, 8 Sep 2003 23:19:46 +0000 (23:19 -0000)]
Fix broken test
Eric Andersen [Mon, 8 Sep 2003 22:08:14 +0000 (22:08 -0000)]
Fix a trivial compile problem
Manuel Novoa III [Mon, 8 Sep 2003 20:44:33 +0000 (20:44 -0000)]
Signifcantly speed out integer to string conversion for printf.
Printf still needs some performance work done though.
Also some bufferless stdio cleanups.
Manuel Novoa III [Mon, 8 Sep 2003 20:37:11 +0000 (20:37 -0000)]
Obligatory forgotten file.
Manuel Novoa III [Mon, 8 Sep 2003 20:33:10 +0000 (20:33 -0000)]
Add back in table-less ctype funcs for those interested in minimizing
static build sizes and not needing wchar support.
Add in a SUSv3 getopt as an option for those not needing gnu getopt.
Again, mainly for the static linking crowd.
Eric Andersen [Mon, 8 Sep 2003 19:59:44 +0000 (19:59 -0000)]
Use __libc_fork for the uClinux fork stub
Eric Andersen [Mon, 8 Sep 2003 11:12:57 +0000 (11:12 -0000)]
Fixup build problem on powerpc
Eric Andersen [Mon, 8 Sep 2003 08:40:55 +0000 (08:40 -0000)]
Be certain the config system binaries are current
Eric Andersen [Mon, 8 Sep 2003 06:31:16 +0000 (06:31 -0000)]
mjn3 pointed out that my brain was not in gear....
Miles Bader [Mon, 8 Sep 2003 05:59:04 +0000 (05:59 -0000)]
ansidecl.h and symcat.h copied from glibc.
Eric Andersen [Sun, 7 Sep 2003 05:30:52 +0000 (05:30 -0000)]
More FAQ updates
Eric Andersen [Sun, 7 Sep 2003 05:02:52 +0000 (05:02 -0000)]
A few minor syscall cleanups
Eric Andersen [Sun, 7 Sep 2003 04:13:12 +0000 (04:13 -0000)]
Some updates from glibc. mjn3 reports this fixes profiling
on i386, at least, so seems like a good thing.
Manuel Novoa III [Sun, 7 Sep 2003 03:17:10 +0000 (03:17 -0000)]
i386/mcount.S expects to call __mcount_internal with the 2 args passed
in registers.
NOTE: i386/mcount.S really needs to be rewritten. It currently won't
work for non-PIC builds.
Manuel Novoa III [Sun, 7 Sep 2003 03:13:56 +0000 (03:13 -0000)]
Remove profil.c, since it is constained within gmon.c.
Eric Andersen [Sun, 7 Sep 2003 02:08:25 +0000 (02:08 -0000)]
Fix some more problems found by the ltp
Eric Andersen [Sat, 6 Sep 2003 13:36:07 +0000 (13:36 -0000)]
'extern inline' doesn't work... Use 'static inline'
Eric Andersen [Sat, 6 Sep 2003 13:34:48 +0000 (13:34 -0000)]
add missing prototype
Eric Andersen [Sat, 6 Sep 2003 13:00:11 +0000 (13:00 -0000)]
Add an implementation of profil(), based on the version from
glibc, with several changes for use in uClibc.
Eric Andersen [Sat, 6 Sep 2003 12:58:51 +0000 (12:58 -0000)]
Fix numerous problems with both getcwd implementations.
-Erik
Eric Andersen [Sat, 6 Sep 2003 11:49:28 +0000 (11:49 -0000)]
Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c,
which was reversed. Provide more consistancy between implementations.
Handle it when people do stupid things like malloc(-1);
Eric Andersen [Sat, 6 Sep 2003 06:09:51 +0000 (06:09 -0000)]
Running ltp
20030905 showed that tcsendbreak was broken.
This fixes it.
Manuel Novoa III [Sat, 6 Sep 2003 03:37:17 +0000 (03:37 -0000)]
Implement vsnprintf (old_vfprintf only) and vsnscanf when uClibc is
configured with non-buffered stdio and non-wchar mode.
Fix a couple of bugs that showed up in minimalist configurations.
Update old_vfprintf to handle size qualifiers on the integer and %n
conversions. It now passed the glibc printf tests with the exception
of a floating point rounding difference.
Manuel Novoa III [Sat, 6 Sep 2003 03:30:42 +0000 (03:30 -0000)]
Update old_vfconfig help and some dependencies.
Manuel Novoa III [Sat, 6 Sep 2003 03:29:33 +0000 (03:29 -0000)]
Small fix for when threading (I think) was disabled.
Manuel Novoa III [Sat, 6 Sep 2003 03:28:11 +0000 (03:28 -0000)]
Don't install floating point related headers, and wrap some previously
unwrapped prototypes, when float support is disabled.
Also don't install printf.h if glibc custom printf specifier support
is disabled.
Eric Andersen [Sat, 6 Sep 2003 02:58:32 +0000 (02:58 -0000)]
oops. ftw would blow chunks if UCLIBC_HAS_LFS was disabled.
Eric Andersen [Sat, 6 Sep 2003 02:15:41 +0000 (02:15 -0000)]
fixup ftw and ftw64. Unfortunately, adding ftw64 doubles the
size... :-(
Eric Andersen [Sat, 6 Sep 2003 01:08:55 +0000 (01:08 -0000)]
Be more clear
Eric Andersen [Sat, 6 Sep 2003 01:07:11 +0000 (01:07 -0000)]
Add more pretty comments
Eric Andersen [Sat, 6 Sep 2003 00:38:29 +0000 (00:38 -0000)]
Remove more headers when options are disabled
Eric Andersen [Sat, 6 Sep 2003 00:32:05 +0000 (00:32 -0000)]
Fix the bugs I stupidly added
Eric Andersen [Sat, 6 Sep 2003 00:00:07 +0000 (00:00 -0000)]
Let people enable ftw, make glob an option, add a new "Big and Tall"
top level config menu.
Eric Andersen [Fri, 5 Sep 2003 23:29:47 +0000 (23:29 -0000)]
Remove ftw and nftw as exceptions, add getgrgid_r and getgrnam_r
Eric Andersen [Fri, 5 Sep 2003 23:21:22 +0000 (23:21 -0000)]
Bump version number in preparation for a release
Eric Andersen [Fri, 5 Sep 2003 22:33:19 +0000 (22:33 -0000)]
Add support for ftw and nftw
Eric Andersen [Fri, 5 Sep 2003 21:04:40 +0000 (21:04 -0000)]
mjn3 noticed we were missing seed48, which was odd since we had
all the other *48 random functions.
Manuel Novoa III [Fri, 5 Sep 2003 06:50:56 +0000 (06:50 -0000)]
Always build _store_inttype since it is used by the new scanf.
Manuel Novoa III [Fri, 5 Sep 2003 06:20:05 +0000 (06:20 -0000)]
Move an #endif that was in the wrong place.
Manuel Novoa III [Fri, 5 Sep 2003 05:36:10 +0000 (05:36 -0000)]
Oops... Forgot to convert this to the new floating point conversion func.
Eric Andersen [Thu, 4 Sep 2003 01:39:18 +0000 (01:39 -0000)]
Minor cosmetic cleanups to avoid getting spurious bug reports.
Eric Andersen [Wed, 3 Sep 2003 12:49:01 +0000 (12:49 -0000)]
Let "$KERNEL_SOURCE/include/asm" be either a link or a directory.
Manuel Novoa III [Wed, 3 Sep 2003 07:23:15 +0000 (07:23 -0000)]
Some more buildroot-motivated fixes. Avoid installing some headers, as
well as stub libintl, depending on configuration.
Manuel Novoa III [Wed, 3 Sep 2003 03:23:31 +0000 (03:23 -0000)]
Only define __STDC_ISO_10646__ if wide char support is enabled.
Eric Andersen [Tue, 2 Sep 2003 06:55:55 +0000 (06:55 -0000)]
cleanup/simplify duplicate handling.
Eric Andersen [Tue, 2 Sep 2003 06:55:18 +0000 (06:55 -0000)]
delete some garbage, cleanup duplicate handling
Eric Andersen [Tue, 2 Sep 2003 06:54:14 +0000 (06:54 -0000)]
Fix a problem with dtors/dtors.
Eric Andersen [Tue, 2 Sep 2003 00:17:01 +0000 (00:17 -0000)]
Make it easier to disable lib debugging (mainly for when testing
with glibc).
Eric Andersen [Mon, 1 Sep 2003 23:55:15 +0000 (23:55 -0000)]
Use "__pthread_once", since that is weak and present in both
glibc and uClibc.
Eric Andersen [Mon, 1 Sep 2003 23:43:42 +0000 (23:43 -0000)]
move the ldso tests to dlopen where they belong
Eric Andersen [Mon, 1 Sep 2003 20:45:21 +0000 (20:45 -0000)]
kill these too.
Eric Andersen [Mon, 1 Sep 2003 20:42:39 +0000 (20:42 -0000)]
A better test for a dlopen problem with weak symbols, based
on a much improve test by mjn3.
Eric Andersen [Mon, 1 Sep 2003 19:57:31 +0000 (19:57 -0000)]
minor cleanup
Eric Andersen [Mon, 1 Sep 2003 19:26:33 +0000 (19:26 -0000)]
minor link updates
Eric Andersen [Mon, 1 Sep 2003 19:25:55 +0000 (19:25 -0000)]
pass in "-s" directly
Manuel Novoa III [Mon, 1 Sep 2003 18:32:22 +0000 (18:32 -0000)]
Hack around bg_BG bug; grouping specified but no thousands separator.
Also, disable the locale link_warnings for now, as they generate a
lot of noise when using libstd++.
Eric Andersen [Mon, 1 Sep 2003 18:03:49 +0000 (18:03 -0000)]
15 retries is really rather excessive...
Eric Andersen [Mon, 1 Sep 2003 17:58:38 +0000 (17:58 -0000)]
Do not overwrite CPU_CFLAGS values....
Eric Andersen [Mon, 1 Sep 2003 17:47:31 +0000 (17:47 -0000)]
Remove a bunch of guessing about the location of the kernel
headers. Move most of that into a script, and warn loudly
when having to guess.
-Erik
Eric Andersen [Mon, 1 Sep 2003 15:06:26 +0000 (15:06 -0000)]
Rob Landley writes:
SYSTEM_DEVEL_PREFIX says: "This defaults to $(DEVEL_PREFIX)/usr", but it
actually defaults to just "($DEVEL_PREFIX)".
Just thought I'd mention it... :)
Eric Andersen [Mon, 1 Sep 2003 15:00:54 +0000 (15:00 -0000)]
Atsushi Nemoto writes:
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.
Eric Andersen [Mon, 1 Sep 2003 14:56:33 +0000 (14:56 -0000)]
Greg Nutt writes:
Attached is a patch for a bug I found in libc/termios/ttyname.c.
Essentially the length of the buffer is calculated incorrectly in a
strncpy call and then the null terminator is placed on the byte after
the buffer.
This probably cause some very strange behavior on my system (it ended up
setting malloc's heapsize to zero) but may be innocuous on other systems.
Manuel Novoa III [Mon, 1 Sep 2003 09:47:09 +0000 (09:47 -0000)]
Rework a few things.
Manuel Novoa III [Mon, 1 Sep 2003 09:45:44 +0000 (09:45 -0000)]
Fix precision bug for %g conversion specifier when using %f style.
Eric Andersen [Sun, 31 Aug 2003 06:51:54 +0000 (06:51 -0000)]
Weed out duplicates before trying to load libraries.... Delayed
checking for duplicates and returning an alias if an existing lib
is already loaded is still correct for the dlopen case.
Eric Andersen [Sat, 30 Aug 2003 19:16:43 +0000 (19:16 -0000)]
Add a couple of things... And check that cvs commit diffs are
working again...
Manuel Novoa III [Sat, 30 Aug 2003 03:31:55 +0000 (03:31 -0000)]
Some doc updates.
Eric Andersen [Fri, 29 Aug 2003 23:54:00 +0000 (23:54 -0000)]
Remove comments about wordexp.
Eric Andersen [Fri, 29 Aug 2003 22:52:20 +0000 (22:52 -0000)]
here is (I hope) a better way to handle this one. I regularly build
debug versions of uClibc with -O0, but libpthread/linuxthreads/spinlock.c
will not compile without at least -O1 optimization...
Manuel Novoa III [Thu, 28 Aug 2003 17:16:53 +0000 (17:16 -0000)]
Create a typedef for the ctype bitmask table entries.
Hack a fix for ctype support of 8-bit codeset locales.
Note: toupper/tolower mappings do not handle the special cases for the
tr_TR and az_AZ locales, since the wide versions currently handle them
either. That will be addressed when I rewrite the data generation tools
and the libc locale code.
Miles Bader [Thu, 28 Aug 2003 05:51:04 +0000 (05:51 -0000)]
(1) Make UCLIBC_CC env var work even if __UCLIBC_CTOR_DTOR__ isn't defined.
(2) Add a command-line option --uclibc-cc with the same functionality.
Tobias Anderberg [Wed, 27 Aug 2003 13:17:07 +0000 (13:17 -0000)]
Added cris to "define list".
Tobias Anderberg [Wed, 27 Aug 2003 13:13:47 +0000 (13:13 -0000)]
Cosmetic changes.
Tobias Anderberg [Wed, 27 Aug 2003 13:07:01 +0000 (13:07 -0000)]
Removed CRIS specific code.
Tobias Anderberg [Wed, 27 Aug 2003 13:04:27 +0000 (13:04 -0000)]
Updated CRIS configuration files.
Tobias Anderberg [Wed, 27 Aug 2003 12:59:23 +0000 (12:59 -0000)]
Cosmetic changes.
Manuel Novoa III [Mon, 25 Aug 2003 15:00:00 +0000 (15:00 -0000)]
Add missing header.
Eric Andersen [Sun, 24 Aug 2003 05:55:50 +0000 (05:55 -0000)]
Reluctantly add wordexp()