OSDN Git Service

uclinux-h8/uClibc.git
20 years agoAs Peter S. Mazinger has pointed out, the config system wants
Eric Andersen [Tue, 4 Nov 2003 20:58:12 +0000 (20:58 -0000)]
As Peter S. Mazinger has pointed out, the config system wants
some defaults.  So give it some empty defaults and let people
select their own options.

20 years agoPeter S. Mazinger writes:
Eric Andersen [Tue, 4 Nov 2003 20:46:53 +0000 (20:46 -0000)]
Peter S. Mazinger writes:

Hello!

The latest changes document ldd in RUNTIME_PREFIX/bin, but it is installed
in RUNTIME_PREFIX/usr/bin

Peter

20 years agoNaming things this way will be much easier to deal with
Eric Andersen [Tue, 4 Nov 2003 13:35:44 +0000 (13:35 -0000)]
Naming things this way will be much easier to deal with

20 years agoKill off the gcc wrapper. It has served us well, but there comes a time when
Eric Andersen [Tue, 4 Nov 2003 13:15:05 +0000 (13:15 -0000)]
Kill off the gcc wrapper.  It has served us well, but there comes a time when
90% of correct is simply not good enough.  Some people will not be very happy
about the decision to kill the wrapper toolchain.  Sorry, but a real toolchain
is the One True Way(tm).
 -Erik

20 years agoRework the config system. Better utilize the Kconfig language
Eric Andersen [Tue, 4 Nov 2003 13:07:50 +0000 (13:07 -0000)]
Rework the config system.  Better utilize the Kconfig language
which should simplify enabling arbitrary architectures.
 -Erik

20 years agominor cleanup
Eric Andersen [Tue, 4 Nov 2003 09:00:56 +0000 (09:00 -0000)]
minor cleanup

20 years agoMinor cleanup
Eric Andersen [Tue, 4 Nov 2003 08:51:17 +0000 (08:51 -0000)]
Minor cleanup

20 years agoMinor makefile tweaks
Eric Andersen [Tue, 4 Nov 2003 05:49:28 +0000 (05:49 -0000)]
Minor makefile tweaks

20 years agoBegin preparations for the next release
Eric Andersen [Mon, 3 Nov 2003 09:50:25 +0000 (09:50 -0000)]
Begin preparations for the next release

20 years agoRemove warning that apparently is not needed for e1
Eric Andersen [Mon, 3 Nov 2003 09:48:01 +0000 (09:48 -0000)]
Remove warning that apparently is not needed for e1

20 years agoUpdated to match the other architectures. Fixes problem with "fcntl:
Tobias Anderberg [Mon, 3 Nov 2003 08:43:01 +0000 (08:43 -0000)]
Updated to match the other architectures. Fixes problem with "fcntl:
function not implemented".

20 years agoAdditional passwd and group tests
Eric Andersen [Sun, 2 Nov 2003 21:55:06 +0000 (21:55 -0000)]
Additional passwd and group tests

20 years agoImplement getgrent_r. Rework getpwent and getgrent a bit further
Eric Andersen [Sun, 2 Nov 2003 21:35:27 +0000 (21:35 -0000)]
Implement getgrent_r.  Rework getpwent and getgrent a bit further

20 years agoBoth setegid and seteuid were implemented suboptimally, such that
Eric Andersen [Sun, 2 Nov 2003 10:03:23 +0000 (10:03 -0000)]
Both setegid and seteuid were implemented suboptimally, such that
we were unable to switch back to the original saved group/user ID.
 -Erik

20 years agoAdd some missing prototypes
Eric Andersen [Sun, 2 Nov 2003 10:01:11 +0000 (10:01 -0000)]
Add some missing prototypes

20 years agoBe extra careful to check uid and gid converstions to kernel types
Eric Andersen [Sun, 2 Nov 2003 10:00:45 +0000 (10:00 -0000)]
Be extra careful to check uid and gid converstions to kernel types

20 years agoMake the syscall locally, avoid an extern
Eric Andersen [Sun, 2 Nov 2003 09:45:14 +0000 (09:45 -0000)]
Make the syscall locally, avoid an extern

20 years agoIf realloc failed, we'd lose the pointer to the exit function table.
Manuel Novoa III [Sun, 2 Nov 2003 08:29:10 +0000 (08:29 -0000)]
If realloc failed, we'd lose the pointer to the exit function table.

20 years agoHopefully fix the struct tm extension problem once and for all.
Manuel Novoa III [Sun, 2 Nov 2003 07:39:27 +0000 (07:39 -0000)]
Hopefully fix the struct tm extension problem once and for all.
Also fix a dst-related bug which caused the use of uninitialized data.

20 years agoAdd some additional pwd/grp tests, to prevent me from
Eric Andersen [Sat, 1 Nov 2003 04:49:27 +0000 (04:49 -0000)]
Add some additional pwd/grp tests, to prevent me from
breaking obvious things in the future.
 -Erik

20 years agoFix things (properly) to open /etc/passd and /etc/group if
Eric Andersen [Sat, 1 Nov 2003 04:40:10 +0000 (04:40 -0000)]
Fix things (properly) to open /etc/passd and /etc/group if
they have not yet been opened.

My last try was completely and embarrasingly broken.
 -Erik

20 years agothis script is no longer used, and can be removed.
Eric Andersen [Sat, 1 Nov 2003 03:55:29 +0000 (03:55 -0000)]
this script is no longer used, and can be removed.

20 years agoFix Erik's typo.
Manuel Novoa III [Fri, 31 Oct 2003 23:50:25 +0000 (23:50 -0000)]
Fix Erik's typo.

20 years agoSome more soft float fixes... for arm in particular (libfloat).
Manuel Novoa III [Fri, 31 Oct 2003 23:26:03 +0000 (23:26 -0000)]
Some more soft float fixes... for arm in particular (libfloat).
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.

20 years agogetpwent(), getpwent_r(), and getgrent(), getgrent_r() would all
Eric Andersen [Fri, 31 Oct 2003 20:17:01 +0000 (20:17 -0000)]
getpwent(), getpwent_r(), and getgrent(), getgrent_r() would all
fail if you had not previously called setpwent() or setgrent()
respectively.  Oops.  My bad.
 -Erik

20 years agogdb wants to dlopen "libthread_db.so.1", so be sure to assign
Eric Andersen [Fri, 31 Oct 2003 06:19:53 +0000 (06:19 -0000)]
gdb wants to dlopen "libthread_db.so.1", so be sure to assign
the correct soname

20 years agoproperly deal with soft-float when profiling as well
Eric Andersen [Sat, 25 Oct 2003 06:35:29 +0000 (06:35 -0000)]
properly deal with soft-float when profiling as well

20 years agoAdd -msoft-float to SAFECFLAGS when necessary.
Manuel Novoa III [Sat, 25 Oct 2003 02:59:33 +0000 (02:59 -0000)]
Add -msoft-float to SAFECFLAGS when necessary.

20 years agoSigh. It seems some stupid programs expect this...
Eric Andersen [Fri, 24 Oct 2003 04:52:29 +0000 (04:52 -0000)]
Sigh.  It seems some stupid programs expect this...

20 years agoDisable optimizations with debugging
Eric Andersen [Fri, 24 Oct 2003 04:12:42 +0000 (04:12 -0000)]
Disable optimizations with debugging

20 years agobetter tuning for xscale that copes with generally available toolchains
Eric Andersen [Fri, 24 Oct 2003 04:11:50 +0000 (04:11 -0000)]
better tuning for xscale that copes with generally available toolchains

20 years agoPeter Kjellerstedt writes:
Eric Andersen [Thu, 23 Oct 2003 07:10:50 +0000 (07:10 -0000)]
Peter Kjellerstedt writes:

The attached patch performs a clean up of
extra/gcc-uClibc/gcc-uClibc.c:

* Use NULL for pointers and '\0' for characters;
  not the opposite...
* Fixed an (assumed) segv if --uclibc-cc was used.
* Skip the argument to -x so it isn't considered
  to be a source file.
* Simplified the loop in xstrcat().
* A little white space clean up.

//Peter

20 years agoPeter S. Mazinger pointed out that I missed a spot. I should
Eric Andersen [Wed, 22 Oct 2003 19:43:08 +0000 (19:43 -0000)]
Peter S. Mazinger pointed out that I missed a spot.  I should
stop applying patches by hand...

20 years agoPer suggestion and patch from Ken Staton, emulates poll using
Eric Andersen [Wed, 22 Oct 2003 09:52:24 +0000 (09:52 -0000)]
Per suggestion and patch from Ken Staton, emulates poll using
select for older 2.0 kernels where poll is missing.

20 years agoAtsushi Nemoto writes:
Eric Andersen [Wed, 22 Oct 2003 09:29:40 +0000 (09:29 -0000)]
Atsushi Nemoto writes:

uClibc's libm has isinf/isinff, isnan/isnanf but not finite/finitef.
Here is a patch.

20 years agoIt seems we need to also define SI_LOAD_SHIFT since that was
Eric Andersen [Wed, 22 Oct 2003 09:15:57 +0000 (09:15 -0000)]
It seems we need to also define SI_LOAD_SHIFT since that was
also exported by the Linux kernel.h header that we do not include.

20 years agoThose crazy binutils folks changed their abi. Add this so older
Eric Andersen [Tue, 21 Oct 2003 06:49:01 +0000 (06:49 -0000)]
Those crazy binutils folks changed their abi.  Add this so older
apps can cope gracefully.

20 years agoDoh! In include/bits/uClibc_config.h when we define things, we appropriately
Eric Andersen [Tue, 21 Oct 2003 00:52:14 +0000 (00:52 -0000)]
Doh!  In include/bits/uClibc_config.h when we define things, we appropriately
prepend "__".  Unfortunately, when we #undef things, we do not prepend the
"__".  This results in collateral damage to unsuspecting applications as we
undefine random unrelated macros.  Oops.

For example, when compiling xfree86, libGLcore.a defines MALLOC for its own usage.
But include/bits/uClibc_config.h then does an
    #undef MALLOC
    #define __MALLOC_930716__ 1
which inadvertantly trashes the define from libGLcore....  Ouch.

The autogenerated include/bits/uClibc_config.h should instead have
contained:
    #undef __MALLOC__
    #define __MALLOC_930716__ 1

This patch makes that happen.

20 years agoFix a stupid bug that caused uClibc to never provide the correct
Eric Andersen [Mon, 20 Oct 2003 20:13:19 +0000 (20:13 -0000)]
Fix a stupid bug that caused uClibc to never provide the correct
fpu_control.h header file, since the correct arch specific one was
always later overwritten by the generic one.  oops.
 -Erik

20 years agoPatch from Peter S. Mazinger:
Eric Andersen [Mon, 20 Oct 2003 18:23:28 +0000 (18:23 -0000)]
Patch from Peter S. Mazinger:

patch to allow building uClibc with busybox's chmod

20 years agoMerge some newer/updated bits from the glibc elf.h
Eric Andersen [Mon, 20 Oct 2003 06:17:00 +0000 (06:17 -0000)]
Merge some newer/updated bits from the glibc elf.h

20 years agoWe were failing to properly set h_errno on success, which could
Eric Andersen [Sun, 19 Oct 2003 00:28:47 +0000 (00:28 -0000)]
We were failing to properly set h_errno on success, which could
cause gethostbyaddr_r to keep looping allocating more and more
memory each time till alloca finally caused a segfault.  Ugh.
This fixes that as well...
 -Erik

20 years agomore install changes
Eric Andersen [Sat, 18 Oct 2003 12:43:31 +0000 (12:43 -0000)]
more install changes

20 years agoDo not install the uClibc wrapper toolchain by default. Make
Eric Andersen [Sat, 18 Oct 2003 12:01:03 +0000 (12:01 -0000)]
Do not install the uClibc wrapper toolchain by default.  Make
people ask for it explicitly.

20 years agothe runtime should not install a /bin dir
Eric Andersen [Sat, 18 Oct 2003 11:58:55 +0000 (11:58 -0000)]
the runtime should not install a /bin dir

20 years agoAdd a new RUNTIME_PREFIX
Eric Andersen [Sat, 18 Oct 2003 11:52:09 +0000 (11:52 -0000)]
Add a new RUNTIME_PREFIX

20 years agoPeter Kjellerstedt writes:
Eric Andersen [Sat, 18 Oct 2003 10:51:06 +0000 (10:51 -0000)]
Peter Kjellerstedt writes:

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.

20 years agoPeter Kjellerstedt writes:
Eric Andersen [Sat, 18 Oct 2003 10:20:59 +0000 (10:20 -0000)]
Peter Kjellerstedt writes:

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).

20 years agoPeter Kjellerstedt writes:
Eric Andersen [Sat, 18 Oct 2003 10:07:43 +0000 (10:07 -0000)]
Peter Kjellerstedt writes:

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.

20 years agoImplement putgrent to make Peter S. Mazing happy
Eric Andersen [Sat, 18 Oct 2003 09:14:57 +0000 (09:14 -0000)]
Implement putgrent to make Peter S. Mazing happy

20 years agoDoh!!!
Eric Andersen [Fri, 17 Oct 2003 09:05:20 +0000 (09:05 -0000)]
Doh!!!

20 years agoPoint people to the kernel.org mirrors for downloading the dev
Eric Andersen [Fri, 17 Oct 2003 07:52:54 +0000 (07:52 -0000)]
Point people to the  mirrors for downloading the dev
systems to take some load off my server

20 years agoDo not set errno when they asked for size 0
Eric Andersen [Thu, 16 Oct 2003 14:21:26 +0000 (14:21 -0000)]
Do not set errno when they asked for size 0

20 years agoCode formatting cleanup.
Miles Bader [Thu, 16 Oct 2003 10:13:53 +0000 (10:13 -0000)]
Code formatting cleanup.

20 years agoDon't set errno if for zero SIZE returns.
Miles Bader [Thu, 16 Oct 2003 10:12:45 +0000 (10:12 -0000)]
Don't set errno if for zero SIZE returns.
Code formatting cleanup.

20 years agoMore detail on the use of MALLOC_DEBUG
Eric Andersen [Thu, 16 Oct 2003 04:08:02 +0000 (04:08 -0000)]
More detail on the use of MALLOC_DEBUG

20 years agoUpdated cris configuration; added support for %m.
Tobias Anderberg [Wed, 15 Oct 2003 13:03:03 +0000 (13:03 -0000)]
Updated cris configuration; added support for %m.

20 years agoBrett Nash writes:
Eric Andersen [Wed, 15 Oct 2003 09:24:35 +0000 (09:24 -0000)]
Brett Nash writes:

Hello,
        Attached is a patch of some changes I made to the gcc wrapper to
get it to compile XFree CVS.

Basically it supports the use of '-' on the command line to read stdin
for gcc, as well as setting the file type back to none before adding the
last too .o files if the file type was set on the command line.

It is applied against uClibc-0.9.20

        Regards,
        nash

20 years agoPatch from Tony J. White:
Eric Andersen [Wed, 15 Oct 2003 09:04:40 +0000 (09:04 -0000)]
Patch from Tony J. White:

I've created a patch for adding dn_expand() to uClibc 0.9.21.

dn_expand() is used by at least ipsec-tools and also openldap I think.

20 years agoDoh! I was returning with an incorrect pointer type when dlopening
Eric Andersen [Wed, 15 Oct 2003 08:55:22 +0000 (08:55 -0000)]
Doh!  I was returning with an incorrect pointer type when dlopening
already loaded libs, which unsurprisingly would cause dlsym() to
not work at all...
 -Erik

20 years agoMicroblaze port from the uClinux-dist,
David McCullough [Tue, 14 Oct 2003 11:52:32 +0000 (11:52 -0000)]
Microblaze port from the uClinux-dist,
contributed by John Williams <jwilliams@itee.uq.edu.au>

20 years agoEnable full debug support for ld-uClibc and libdl
Eric Andersen [Tue, 14 Oct 2003 06:23:00 +0000 (06:23 -0000)]
Enable full debug support for ld-uClibc and libdl

20 years agosigh. the warn funcs seem to be broken. Use local versions
Eric Andersen [Mon, 13 Oct 2003 10:01:10 +0000 (10:01 -0000)]
sigh.  the warn funcs seem to be broken.  Use local versions
till I can straighten that out.

20 years agoPatch from Peter Kjellerstedt:
Eric Andersen [Mon, 13 Oct 2003 08:34:51 +0000 (08:34 -0000)]
Patch from Peter Kjellerstedt:

The attached patch performs a clean up of
extra/gcc-uClibc/Makefile:

* Better dependencies to only rebuild what is necessary.
* Use $< and $@ where appropriate.
* Suppress warning messages from which about
  commands that cannot be found.

//Peter

20 years agoFix an ldd bug, more ldconfig cleanup
Eric Andersen [Mon, 13 Oct 2003 08:23:35 +0000 (08:23 -0000)]
Fix an ldd bug, more ldconfig cleanup

20 years agoAlways build and install ldconfig
Eric Andersen [Sun, 12 Oct 2003 08:49:34 +0000 (08:49 -0000)]
Always build and install ldconfig

20 years agoDon't make two copies
Eric Andersen [Sun, 12 Oct 2003 04:41:11 +0000 (04:41 -0000)]
Don't make two copies

20 years agoSigh. It seems that csh wants glob_pattern_p(), we need to
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,

20 years agoI forgot to remove this
Eric Andersen [Sat, 11 Oct 2003 18:14:32 +0000 (18:14 -0000)]
I forgot to remove this

20 years agoThese are wanted by net-tools
Eric Andersen [Sat, 11 Oct 2003 08:03:51 +0000 (08:03 -0000)]
These are wanted by net-tools

20 years agoWe do not provide gmtime(), so disable the prototype to
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

20 years agoRemove some stuff that is now done
Eric Andersen [Fri, 10 Oct 2003 08:05:08 +0000 (08:05 -0000)]
Remove some stuff that is now done

20 years agoImplement getgrgid_r and getgrnam_r. Rework group handling code to be fully
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,

20 years agoPatch from Rob McMullen:
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

20 years agomove the test for loading the wrong C library into the
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

20 years agoWhen someone would dlopen a shared lib that was already opened,
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

20 years agoAtsushi Nemoto writes:
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.

20 years agoPatch from Atsushi Nemoto (with some additions):
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.

20 years agoApply a trivial patch that doesn't change anything, but which is alledged to
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.

20 years agoPatch from George Thanos adding support for the "e1" architecture.
Eric Andersen [Wed, 8 Oct 2003 18:15:50 +0000 (18:15 -0000)]
Patch from George Thanos adding support for the "e1" architecture.

20 years agos/root_fs-/root_fs_/g
Eric Andersen [Mon, 6 Oct 2003 07:46:15 +0000 (07:46 -0000)]
s/root_fs-/root_fs_/g

20 years agoFix a stupid bug causing 'ldd' output to not contain the full
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

20 years agoQuick implementation of sigwait. Doesn't handle thread cancelation
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...

20 years agoUpdated cris configuration.
Tobias Anderberg [Wed, 1 Oct 2003 11:57:45 +0000 (11:57 -0000)]
Updated cris configuration.

20 years agoDon't forget addend on relocations + minor other fixes.
Tobias Anderberg [Tue, 30 Sep 2003 11:51:11 +0000 (11:51 -0000)]
Don't forget addend on relocations + minor other fixes.

20 years agotypo
Eric Andersen [Tue, 30 Sep 2003 09:32:48 +0000 (09:32 -0000)]
typo

20 years agogrammar fixes
Eric Andersen [Tue, 30 Sep 2003 08:54:18 +0000 (08:54 -0000)]
grammar fixes

20 years agoMention that I have updated the dev systems.
Eric Andersen [Tue, 30 Sep 2003 08:45:28 +0000 (08:45 -0000)]
Mention that I have updated the dev systems.

20 years agooops.
Eric Andersen [Tue, 30 Sep 2003 07:06:02 +0000 (07:06 -0000)]
oops.

20 years agoFix SUPPORT_LD_DEBUG_EARLY on powerpc
Eric Andersen [Mon, 29 Sep 2003 21:46:00 +0000 (21:46 -0000)]
Fix SUPPORT_LD_DEBUG_EARLY on powerpc

20 years agoRevert to using uClibc-specific c-symbol-prefix stuff
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__).

20 years agoHm. Keep using crt0.c for now. My fever-hack of crt0.S didn't do the
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!".

20 years agoQuick fix to make sure vfprintf always checks stream orientation when
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.

20 years agoOne more scanf difference.
Manuel Novoa III [Mon, 22 Sep 2003 05:43:44 +0000 (05:43 -0000)]
One more scanf difference.

20 years agoMore fiddling with static free-areas: make sure both their size _and_
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.

20 years agoDocument some glibc bugs that Ulrich Drepper refuses to acknowledge. :-(
Manuel Novoa III [Mon, 22 Sep 2003 03:29:37 +0000 (03:29 -0000)]
Document some glibc bugs that Ulrich Drepper refuses to acknowledge.  :-(

20 years agoModify _stdio_READ to conform with C99, as stdio input behavior upon
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.

20 years agoUgh... EOF handling by scanf was completely broken. :-( Regretably,
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.

20 years agoFix "subst -g,," problem for SAFECFLAGS.
Manuel Novoa III [Sun, 21 Sep 2003 19:41:57 +0000 (19:41 -0000)]
Fix "subst -g,," problem for SAFECFLAGS.

20 years ago* Partial re-write to match other archs and remove duplicate code.
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.