OSDN Git Service
Eric Andersen [Sun, 12 Oct 2003 04:19:38 +0000 (04:19 -0000)]
Sigh. It seems that csh wants glob_pattern_p(), we need to
export it,
Eric Andersen [Sat, 11 Oct 2003 18:14:32 +0000 (18:14 -0000)]
I forgot to remove this
Eric Andersen [Sat, 11 Oct 2003 08:03:51 +0000 (08:03 -0000)]
These are wanted by net-tools
Eric Andersen [Fri, 10 Oct 2003 09:21:54 +0000 (09:21 -0000)]
We do not provide gmtime(), so disable the prototype to
prevent confusing autoconf
Eric Andersen [Fri, 10 Oct 2003 08:05:08 +0000 (08:05 -0000)]
Remove some stuff that is now done
Eric Andersen [Fri, 10 Oct 2003 07:34:27 +0000 (07:34 -0000)]
Implement getgrgid_r and getgrnam_r. Rework group handling code to be fully
reentrant, since there was still a shared static value. indent stuff,
Eric Andersen [Thu, 9 Oct 2003 09:02:05 +0000 (09:02 -0000)]
Patch from Rob McMullen:
Here's a patch... Since they aren't SUSv3 functions, I don't know if
they'll ever get officially added, but it helps with BSD porting and
allows quite a few Gentoo ebuilds to compile without changing anything.
Rob
Eric Andersen [Thu, 9 Oct 2003 06:07:24 +0000 (06:07 -0000)]
move the test for loading the wrong C library into the
_dl_check_if_named_library_is_loaded function
Eric Andersen [Thu, 9 Oct 2003 06:05:35 +0000 (06:05 -0000)]
When someone would dlopen a shared lib that was already opened,
we would try to re-fixup the lib's relocations with rather
horrible results. So fix that by checking the the dlopened lib
has already had its init functions called, which will never be
the case for newly loaded libs, and skip the rest in that case.
also apply a few minor fixups
Eric Andersen [Wed, 8 Oct 2003 19:35:20 +0000 (19:35 -0000)]
Atsushi Nemoto writes:
I found inappropriate data types are used in some places in networking
codes.
* tcp_seq is 32bit (u_long -> u_int32_t)
* in_addt_t should be used for internet address (unsigned long -> in_addr_t)
* socklen_t should be used for accept()
This is a patch against uclibc-0.9.21 (can be applied for current
CVS). 64bit platforms (sizeof(int)!=sizeof(long)) will need this. I
believe this patch does not harm any 32bit platforms.
Eric Andersen [Wed, 8 Oct 2003 19:30:43 +0000 (19:30 -0000)]
Patch from Atsushi Nemoto (with some additions):
Current uClibc contains only one fpu_control.h and it is i386 version.
This is a patch to use platform specific fpu_control.h. All new files
come from glibc 2.3.2. This patch is against 0.9.21 but also can be
applied to CVS as is.
Eric Andersen [Wed, 8 Oct 2003 18:27:19 +0000 (18:27 -0000)]
Apply a trivial patch that doesn't change anything, but which is alledged to
workaround a toolchain specifi bug for the e1.
Eric Andersen [Wed, 8 Oct 2003 18:15:50 +0000 (18:15 -0000)]
Patch from George Thanos adding support for the "e1" architecture.
Eric Andersen [Mon, 6 Oct 2003 07:46:15 +0000 (07:46 -0000)]
s/root_fs-/root_fs_/g
Eric Andersen [Sat, 4 Oct 2003 17:31:22 +0000 (17:31 -0000)]
Fix a stupid bug causing 'ldd' output to not contain the full
path to the target library
Eric Andersen [Fri, 3 Oct 2003 01:17:36 +0000 (01:17 -0000)]
Quick implementation of sigwait. Doesn't handle thread cancelation
yet, but should work...
Tobias Anderberg [Wed, 1 Oct 2003 11:57:45 +0000 (11:57 -0000)]
Updated cris configuration.
Tobias Anderberg [Tue, 30 Sep 2003 11:51:11 +0000 (11:51 -0000)]
Don't forget addend on relocations + minor other fixes.
Eric Andersen [Tue, 30 Sep 2003 09:32:48 +0000 (09:32 -0000)]
typo
Eric Andersen [Tue, 30 Sep 2003 08:54:18 +0000 (08:54 -0000)]
grammar fixes
Eric Andersen [Tue, 30 Sep 2003 08:45:28 +0000 (08:45 -0000)]
Mention that I have updated the dev systems.
Eric Andersen [Tue, 30 Sep 2003 07:06:02 +0000 (07:06 -0000)]
oops.
Eric Andersen [Mon, 29 Sep 2003 21:46:00 +0000 (21:46 -0000)]
Fix SUPPORT_LD_DEBUG_EARLY on powerpc
Miles Bader [Fri, 26 Sep 2003 01:33:57 +0000 (01:33 -0000)]
Revert to using uClibc-specific c-symbol-prefix stuff
(__C_SYMBOL_PREFIX__).
Tobias Anderberg [Wed, 24 Sep 2003 08:45:36 +0000 (08:45 -0000)]
Hm. Keep using crt0.c for now. My fever-hack of crt0.S didn't do the
expected thing. A so called "D'oh!".
Manuel Novoa III [Tue, 23 Sep 2003 22:49:24 +0000 (22:49 -0000)]
Quick fix to make sure vfprintf always checks stream orientation when
wchar support is enabled.
Manuel Novoa III [Mon, 22 Sep 2003 05:43:44 +0000 (05:43 -0000)]
One more scanf difference.
Miles Bader [Mon, 22 Sep 2003 04:01:11 +0000 (04:01 -0000)]
More fiddling with static free-areas: make sure both their size _and_
their alignment are correct.
Manuel Novoa III [Mon, 22 Sep 2003 03:29:37 +0000 (03:29 -0000)]
Document some glibc bugs that Ulrich Drepper refuses to acknowledge. :-(
Manuel Novoa III [Mon, 22 Sep 2003 03:07:51 +0000 (03:07 -0000)]
Modify _stdio_READ to conform with C99, as stdio input behavior upon
encountering EOF changed with Defect Report #141. In the current
standard, the stream's EOF indicator is "sticky". Once it is set,
all further input from the stream should fail until the application
explicitly clears the EOF indicator (clearerr(), file positioning),
even if more data becomes available.
Fixed a bug in fgets. Wasn't checking for read errors.
Minor thread locking optimizations to avoid some unnecessary locking.
Remove the explicit calls to __builtin_* funcs, as we really need to
implement a more general solution.
Manuel Novoa III [Mon, 22 Sep 2003 02:57:18 +0000 (02:57 -0000)]
Ugh... EOF handling by scanf was completely broken. :-( Regretably,
I got my mind fixed in one mode and didn't comply with the standards.
Things should be fixed now, but comparision testing is difficult when
glibc's scanf is broken and they stubbornly refuse to even acknowledge
that it is... even when confronted by specific examples from the C99
standards and from an official C standard defect report.
Manuel Novoa III [Sun, 21 Sep 2003 19:41:57 +0000 (19:41 -0000)]
Fix "subst -g,," problem for SAFECFLAGS.
Tobias Anderberg [Fri, 19 Sep 2003 12:12:29 +0000 (12:12 -0000)]
* Partial re-write to match other archs and remove duplicate code.
* Assign insead of add when doing relocations.
Tobias Anderberg [Fri, 19 Sep 2003 12:11:43 +0000 (12:11 -0000)]
Corrected LD_BOOT macro
Tobias Anderberg [Fri, 19 Sep 2003 12:11:14 +0000 (12:11 -0000)]
Initialize strings as pointers instead of arrays.
Tobias Anderberg [Fri, 19 Sep 2003 12:07:22 +0000 (12:07 -0000)]
Re-add cris to "define list" when fixing auxvt.
Tobias Anderberg [Fri, 19 Sep 2003 12:06:05 +0000 (12:06 -0000)]
Added assembler version of startup code. Fix Makefile so it uses the new
code.
Miles Bader [Fri, 19 Sep 2003 10:10:33 +0000 (10:10 -0000)]
Make sure we don't allocate too little space for static free-areas
because of our fiddling with alignment (because doing so is VERY BAD).
Miles Bader [Fri, 19 Sep 2003 10:01:08 +0000 (10:01 -0000)]
Add dependencies on header files.
Eric Andersen [Wed, 17 Sep 2003 14:53:37 +0000 (14:53 -0000)]
Make sure we use the local copy of elf.h, since some system
versions are insufficient....
Miles Bader [Wed, 17 Sep 2003 11:50:18 +0000 (11:50 -0000)]
Make sure static heaps are aligned correctly.
Eric Andersen [Wed, 17 Sep 2003 10:39:08 +0000 (10:39 -0000)]
Patch from Philip Nye fixing mmu-less
Eric Andersen [Wed, 17 Sep 2003 10:37:37 +0000 (10:37 -0000)]
Fix fcntl64 when UCLIBC_HAS_LFS is enabled, but __NR_fcntl64
is not defined.
Manuel Novoa III [Tue, 16 Sep 2003 22:22:30 +0000 (22:22 -0000)]
This should enabled building of uClibc locale support when using uClibc itself.
Sorry I didn't test this before the release.
Please remember that the locale data generation tools are not very robust,
so doing something like disabling 8-bit codeset support is likely to break
things. As it stands, UTF-8 support is required, but I'm not sure I test
for that.
Also, you will notice a difference in the locale data generated by uClibc
verses glibc. That's because the bg_BG locale specifies use of grouping
in LC_NUMERIC, but supplies no grouping char. The uClibc locale code
tests for and works around this (at the moment) by disabling grouping.
But the result is slightly different data which ripples throughout the
rest of the tables.
Manuel Novoa III [Sat, 13 Sep 2003 16:09:42 +0000 (16:09 -0000)]
Fix a problem reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>
for environments where long and long long are the same size.
Manuel Novoa III [Thu, 11 Sep 2003 16:57:15 +0000 (16:57 -0000)]
Patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp> to do arch-required
mapping of signal strings (alpha, mips, hppa, sparc).
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