OSDN Git Service

uclinux-h8/uClibc.git
22 years agoFix up sig handling so it is more in sync with glibc behavior
Eric Andersen [Wed, 17 Oct 2001 06:02:35 +0000 (06:02 -0000)]
Fix up sig handling so it is more in sync with glibc behavior

22 years agoBring these into line with glibc 2.2.4
Eric Andersen [Wed, 17 Oct 2001 06:01:24 +0000 (06:01 -0000)]
Bring these into line with glibc 2.2.4

22 years agoThis header file was broken, breaking signal handling on ARM.
Eric Andersen [Wed, 17 Oct 2001 05:54:39 +0000 (05:54 -0000)]
This header file was broken, breaking signal handling on ARM.
This update fixes it...
 -Erik

22 years agoIn theory, this adds readdir64 and friends. Dunno if they
Eric Andersen [Wed, 17 Oct 2001 03:17:15 +0000 (03:17 -0000)]
In theory, this adds readdir64 and friends.  Dunno if they
work yet or not....
 -Erik

22 years agoThis commit makes large file support actually work (when enabled in
Eric Andersen [Wed, 17 Oct 2001 01:10:29 +0000 (01:10 -0000)]
This commit makes large file support actually work (when enabled in
the config file).  I've tested this and it works for me.
 -Erik

22 years agoFix comment
Eric Andersen [Tue, 16 Oct 2001 04:48:42 +0000 (04:48 -0000)]
Fix comment

22 years agoGeez, I really screwed that one up. Lets try that one again...
Eric Andersen [Tue, 16 Oct 2001 04:36:26 +0000 (04:36 -0000)]
Geez, I really screwed that one up.  Lets try that one again...
Revert mmap to where it was in rev 1.41 of this file,
 -Erik

22 years agoOops. I merged things backwards. Lets try that again...
Eric Andersen [Tue, 16 Oct 2001 04:34:10 +0000 (04:34 -0000)]
Oops.  I merged things backwards.  Lets try that again...

22 years agoRevert global old mmap usage, and do it per arch
Eric Andersen [Tue, 16 Oct 2001 03:10:39 +0000 (03:10 -0000)]
Revert global old mmap usage, and do it per arch

22 years agoDisable posix threads support
David Schleef [Mon, 15 Oct 2001 22:47:38 +0000 (22:47 -0000)]
Disable posix threads support

22 years agodepend on kernel-headers, not kernel-headers-2.4
David Schleef [Mon, 15 Oct 2001 22:35:45 +0000 (22:35 -0000)]
depend on kernel-headers, not kernel-headers-2.4

22 years agoMerged patch from pre-glibc-2.2.4 files
David Schleef [Mon, 15 Oct 2001 22:22:32 +0000 (22:22 -0000)]
Merged patch from pre-glibc-2.2.4 files

22 years agoinclude/bits from glibc-2.2.4-1
David Schleef [Mon, 15 Oct 2001 22:07:58 +0000 (22:07 -0000)]
include/bits from glibc-2.2.4-1

22 years agoTurn off program_invocation_name and friend
Eric Andersen [Mon, 15 Oct 2001 16:56:14 +0000 (16:56 -0000)]
Turn off program_invocation_name and friend

22 years agoErwin Authried <eauth@softsys.co.at> noticed that _XOPEN_SOURCE is
Eric Andersen [Sun, 14 Oct 2001 04:50:39 +0000 (04:50 -0000)]
Erwin Authried <eauth@softsys.co.at> noticed that _XOPEN_SOURCE is
supposed to be a number

22 years agoBeef up the fork test, checking for proper SIGCHLD behavior
Eric Andersen [Fri, 12 Oct 2001 22:01:07 +0000 (22:01 -0000)]
Beef up the fork test, checking for proper SIGCHLD behavior

22 years agoA small patch from Erwin Authried <eauth@softsys.co.at>
Eric Andersen [Fri, 12 Oct 2001 19:21:40 +0000 (19:21 -0000)]
A small patch from Erwin Authried <eauth@softsys.co.at>
 *) changed ARM crt0.S / crt0pic.S selection -- depends on DOPIC now.
 *) Minor tweek to syscall definitions

22 years agoFix problem with version naming
David Schleef [Thu, 11 Oct 2001 23:06:20 +0000 (23:06 -0000)]
Fix problem with version naming

22 years agoLittle script to create a properly-named snapshot for Debian packaging
David Schleef [Thu, 11 Oct 2001 22:56:29 +0000 (22:56 -0000)]
Little script to create a properly-named snapshot for Debian packaging

22 years agoFixes for finding appropriate kernel headers, changelog entry
David Schleef [Thu, 11 Oct 2001 22:55:24 +0000 (22:55 -0000)]
Fixes for finding appropriate kernel headers, changelog entry

22 years agoAdd missing values.h
Eric Andersen [Thu, 11 Oct 2001 18:50:26 +0000 (18:50 -0000)]
Add missing values.h

22 years agoAdd strndup, written by Stefan Soucek <ssoucek@coactive.com>
Eric Andersen [Thu, 11 Oct 2001 08:36:33 +0000 (08:36 -0000)]
Add strndup, written by Stefan Soucek <ssoucek@coactive.com>

22 years agoPatch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.
Eric Andersen [Thu, 11 Oct 2001 08:29:22 +0000 (08:29 -0000)]
Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.
He sent this patch to me a month ago, but I forgot to apply it...

22 years agoMinor update
Eric Andersen [Fri, 5 Oct 2001 19:59:12 +0000 (19:59 -0000)]
Minor update

22 years agoWohoo! David McCullough found the bug! His comments follow:
Eric Andersen [Fri, 5 Oct 2001 11:31:48 +0000 (11:31 -0000)]
Wohoo!  David McCullough found the bug!  His comments follow:

    I had a look at it and you won't believe it was always broken.

    I'll try and explain it,  let me know if it doesn't make sense.

    * ash calls setjmp,  which messes with the stack to look like it has
      two args instead of one and then jmps (actually falls) into
    sigsetjmp.

      BUG

    * sigsetjmp then saves the registers and "jumps" to __sigset_save,  a C
      function.

    BUG1 - because the caller pops its args off the stack,  a program that
   changes it's number of args is broken because the caller will
    not
       pop the correct number of args.

    I think that jumping from the sigsetjmp asm to the 'C' code is unsafe
    but I can't think of an example.  Anyway,  I have attached what I think
    is
    a working fix.

    The reason this worked without -fomit-frame-pointer is that the
    _sigset_save 'C' code would restore the stack pointer from %ebp (the
    frame
    pointer) and because none of the asm had moded it,  when we returned
    from
    __sigset_save the stack was back to it's correct position for 1
    argument
    despite our best attempts to stuff it up ;-)

22 years agoYet more minor cleanups
Eric Andersen [Thu, 4 Oct 2001 10:08:51 +0000 (10:08 -0000)]
Yet more minor cleanups

22 years agoPatch from David McCullough <davidm@lineo.com>:
Eric Andersen [Thu, 4 Oct 2001 07:38:56 +0000 (07:38 -0000)]
Patch from David McCullough <davidm@lineo.com>:

* reduce the sigset types to 32 bits (I've mentioned this before)
  I think I saw this change go in for another platform anyway ;-)

* Do not use _IO_FILE as it clashes with the C++ libraries which know
  too much about how glibc workds :-(

* Do not use _G_va_list for the same reason.

* remove the CTORS/DTORS from crt0.S for ARM as the compiler provided
  crtbegin.o and crtend.o have these (and only these) already in them and
  you get multiple defined errs :-(

22 years agoWith all the headerfile changes, some functions didn't get there arg types
David McCullough [Thu, 4 Oct 2001 03:44:35 +0000 (03:44 -0000)]
With all the headerfile changes,  some functions didn't get there arg types
fixed up.

22 years agoMinor cleanups
Eric Andersen [Wed, 3 Oct 2001 09:26:48 +0000 (09:26 -0000)]
Minor cleanups

22 years agoSilly little changes
Eric Andersen [Wed, 3 Oct 2001 09:15:04 +0000 (09:15 -0000)]
Silly little changes

22 years agoCleanup brk/sbrk
Eric Andersen [Wed, 3 Oct 2001 09:12:28 +0000 (09:12 -0000)]
Cleanup brk/sbrk

22 years agotermcap.h is supposed to be part of ncurses, and has no place in the C
Eric Andersen [Tue, 2 Oct 2001 19:18:58 +0000 (19:18 -0000)]
termcap.h is supposed to be part of ncurses, and has no place in the C
library includes.

22 years agoAdd in some math lib tests
Eric Andersen [Tue, 2 Oct 2001 10:45:16 +0000 (10:45 -0000)]
Add in some math lib tests

22 years agoTurn off optimization when debugging
Eric Andersen [Tue, 2 Oct 2001 09:25:58 +0000 (09:25 -0000)]
Turn off optimization when debugging

22 years agoFix nasty behavior difference from glibc -- also fixes getline()
Eric Andersen [Sun, 30 Sep 2001 04:55:22 +0000 (04:55 -0000)]
Fix nasty behavior difference from glibc -- also fixes getline()
 -Erik

22 years agoMinor cleanup
Eric Andersen [Sat, 29 Sep 2001 21:35:08 +0000 (21:35 -0000)]
Minor cleanup

22 years agoFix prototype
Eric Andersen [Sat, 29 Sep 2001 21:11:36 +0000 (21:11 -0000)]
Fix prototype

22 years agoFix a stupid typo...
Eric Andersen [Sat, 29 Sep 2001 21:08:09 +0000 (21:08 -0000)]
Fix a stupid typo...

22 years agoAdd in gcvt()
Eric Andersen [Sat, 29 Sep 2001 07:53:25 +0000 (07:53 -0000)]
Add in gcvt()

22 years agoSigh. Erik mucks it up again...
Eric Andersen [Thu, 27 Sep 2001 07:48:05 +0000 (07:48 -0000)]
Sigh.  Erik mucks it up again...

22 years agoMake iopl and ioperm work
Eric Andersen [Thu, 27 Sep 2001 07:40:15 +0000 (07:40 -0000)]
Make iopl and ioperm work

22 years agoDuh.
Eric Andersen [Thu, 27 Sep 2001 07:23:46 +0000 (07:23 -0000)]
Duh.

22 years agoBe more careful about not redefining stuf
Eric Andersen [Thu, 27 Sep 2001 07:22:21 +0000 (07:22 -0000)]
Be more careful about not redefining stuf

22 years agoAdd inb, outb and friends,
Eric Andersen [Thu, 27 Sep 2001 07:20:27 +0000 (07:20 -0000)]
Add inb, outb and friends,

22 years agore-enable ntohl and friends
Eric Andersen [Thu, 27 Sep 2001 07:02:33 +0000 (07:02 -0000)]
re-enable ntohl and friends

22 years agoSilence a silly warning
Eric Andersen [Thu, 27 Sep 2001 06:48:46 +0000 (06:48 -0000)]
Silence a silly warning

22 years agoSilence stupid warnings caused by bad kernel network includes
Eric Andersen [Thu, 27 Sep 2001 06:31:38 +0000 (06:31 -0000)]
Silence stupid warnings caused by bad kernel network includes

22 years agoGut this file, and quit referrng to _IO_* junk
Eric Andersen [Thu, 27 Sep 2001 06:17:21 +0000 (06:17 -0000)]
Gut this file, and quit referrng to _IO_* junk

22 years agoOptimize for size, and disable expensive inlining
Eric Andersen [Thu, 27 Sep 2001 06:09:37 +0000 (06:09 -0000)]
Optimize for size, and disable expensive inlining

22 years agoAdd in missing file
Eric Andersen [Thu, 27 Sep 2001 05:29:22 +0000 (05:29 -0000)]
Add in missing file

22 years agoScrub up a few test things
Eric Andersen [Thu, 27 Sep 2001 05:27:43 +0000 (05:27 -0000)]
Scrub up a few test things

22 years agoFinish syncing up arm
Eric Andersen [Thu, 27 Sep 2001 05:25:55 +0000 (05:25 -0000)]
Finish syncing up arm

22 years agoUpdate to accomodate the header file changes
Eric Andersen [Thu, 27 Sep 2001 05:24:26 +0000 (05:24 -0000)]
Update to accomodate the header file changes

22 years agoRev all the header files to sync things with glibc 2.2.4
Eric Andersen [Thu, 27 Sep 2001 05:21:15 +0000 (05:21 -0000)]
Rev all the header files to sync things with glibc 2.2.4

22 years agoFix fseek behavior.
Manuel Novoa III [Tue, 25 Sep 2001 19:39:46 +0000 (19:39 -0000)]
Fix fseek behavior.

22 years agoFix the vfork test so it actually works this time.
Eric Andersen [Fri, 21 Sep 2001 05:52:27 +0000 (05:52 -0000)]
Fix the vfork test so it actually works this time.
 -Erik

22 years agoAdd in a simple vfork test
Eric Andersen [Fri, 21 Sep 2001 05:25:52 +0000 (05:25 -0000)]
Add in a simple vfork test

22 years agoOops
Eric Andersen [Sat, 15 Sep 2001 08:49:46 +0000 (08:49 -0000)]
Oops

22 years agoRecurse into 'file'
Eric Andersen [Sat, 15 Sep 2001 08:38:12 +0000 (08:38 -0000)]
Recurse into 'file'

22 years agoAdd lockf
Eric Andersen [Sat, 15 Sep 2001 08:31:43 +0000 (08:31 -0000)]
Add lockf

22 years agoPatch from John Tyner <jtyner@cs.ucr.edu> to avoid redefined
Eric Andersen [Thu, 13 Sep 2001 21:48:48 +0000 (21:48 -0000)]
Patch from John Tyner <jtyner@cs.ucr.edu> to avoid redefined
symbols by piping results through uniq

22 years agoPatch from Andrew Ip <aip@cwlinux.com> to add ftime,
Eric Andersen [Thu, 6 Sep 2001 19:42:48 +0000 (19:42 -0000)]
Patch from Andrew Ip <aip@cwlinux.com> to add ftime,
allowing openssl to be built.

22 years agoPreevaluate some stuff so it only gets run once, speeding the compile
Eric Andersen [Fri, 31 Aug 2001 06:09:13 +0000 (06:09 -0000)]
Preevaluate some stuff so it only gets run once, speeding the compile

22 years ago"Kim B. Heino" <Kim.Heino@bluegiga.com> reports
Eric Andersen [Thu, 30 Aug 2001 17:38:27 +0000 (17:38 -0000)]
"Kim B. Heino" <Kim.Heino@bluegiga.com> reports

In the libc/stdlib/bsd_getpt.c file you have line:

memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) - 1);

It really should be:

memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) );

The last nul character must be copied too because the next line uses
strlen() to get buf's length.

22 years agoWrap up some long long stuff in __UCLIBC_HAS_LONG_LONG__
Eric Andersen [Wed, 29 Aug 2001 16:47:35 +0000 (16:47 -0000)]
Wrap up some long long stuff in __UCLIBC_HAS_LONG_LONG__

22 years agoMinor update
Eric Andersen [Wed, 29 Aug 2001 00:07:05 +0000 (00:07 -0000)]
Minor update

22 years agoFix goofy formatting
Eric Andersen [Tue, 28 Aug 2001 21:16:12 +0000 (21:16 -0000)]
Fix goofy formatting

22 years agoThis will hopefully make global constructors and destructors work
Eric Andersen [Tue, 28 Aug 2001 17:15:53 +0000 (17:15 -0000)]
This will hopefully make global constructors and destructors work

22 years agoAdd "__write" as a weak alias for "write"
Eric Andersen [Tue, 28 Aug 2001 17:04:13 +0000 (17:04 -0000)]
Add "__write" as a weak alias for "write"

22 years agoelide some debug noise
Eric Andersen [Mon, 27 Aug 2001 22:09:41 +0000 (22:09 -0000)]
elide some debug noise

22 years agoMake gdb/gcc/binutils happy
Eric Andersen [Mon, 27 Aug 2001 20:03:52 +0000 (20:03 -0000)]
Make gdb/gcc/binutils happy

22 years agoUse "stdin", "stdout", and "stderr", not "_stdin", "_stdout", and
Eric Andersen [Fri, 24 Aug 2001 23:24:43 +0000 (23:24 -0000)]
Use "stdin", "stdout", and "stderr", not "_stdin", "_stdout", and
"_stderr", since this is what gcc and libgcc expect...
 -Erik

22 years agoAdd the __fopen prototype, since I pulled it from stdio.h
Eric Andersen [Fri, 24 Aug 2001 22:40:48 +0000 (22:40 -0000)]
Add the __fopen prototype, since I pulled it from stdio.h

22 years agoGet rid of non standard macros for things that are functions
Eric Andersen [Fri, 24 Aug 2001 22:23:24 +0000 (22:23 -0000)]
Get rid of non standard macros for things that are functions

22 years agoatoi, atol, atoll, and atof are supposed to be functions, not macros.
Eric Andersen [Fri, 24 Aug 2001 21:05:39 +0000 (21:05 -0000)]
atoi, atol, atoll, and atof are supposed to be functions, not macros.
 -Erik

22 years agoAdd missing shadow.h
Eric Andersen [Tue, 21 Aug 2001 23:27:53 +0000 (23:27 -0000)]
Add missing shadow.h

22 years agoAdd byteswap.h, per glibc
Eric Andersen [Tue, 21 Aug 2001 04:24:24 +0000 (04:24 -0000)]
Add byteswap.h, per glibc

22 years agoFix problem with possible redundant entries.
Eric Andersen [Sat, 18 Aug 2001 19:52:41 +0000 (19:52 -0000)]
Fix problem with possible redundant entries.

22 years agoFix a silly bug with the header file
Eric Andersen [Fri, 17 Aug 2001 19:51:36 +0000 (19:51 -0000)]
Fix a silly bug with the header file

22 years agoFix a stupid bug causing the ld-uClibc entry to be lost.
Eric Andersen [Fri, 17 Aug 2001 19:50:34 +0000 (19:50 -0000)]
Fix a stupid bug causing the ld-uClibc entry to be lost.

22 years agoDon't use --uclibc-use-build-dir for the tests unless BUILD_UCLIBC_LDSO=true
Eric Andersen [Tue, 14 Aug 2001 23:13:33 +0000 (23:13 -0000)]
Don't use --uclibc-use-build-dir for the tests unless BUILD_UCLIBC_LDSO=true

22 years agopowerpc doesn't have sbrk yet, so use "malloc", not "malloc-930716"
Eric Andersen [Tue, 14 Aug 2001 21:49:20 +0000 (21:49 -0000)]
powerpc doesn't have sbrk yet, so use "malloc", not "malloc-930716"

22 years agoPut a bandaid on getpgrp behavior
Eric Andersen [Tue, 14 Aug 2001 21:17:30 +0000 (21:17 -0000)]
Put a bandaid on getpgrp behavior

22 years agoProper support for tests spannint multiple .o files
Eric Andersen [Tue, 14 Aug 2001 21:11:24 +0000 (21:11 -0000)]
Proper support for tests spannint multiple .o files
 -Erik

22 years agouse some #defines internal to the ctype functions to eliminate them
Eric Andersen [Tue, 14 Aug 2001 21:08:48 +0000 (21:08 -0000)]
use some #defines internal to the ctype functions to eliminate them
calling other tiny ctype functions.  Now all ctype funcs will end up
with no extern references, which ends up shrinking both the uClibc
shared lib and shrinking client code.
 -Erik

22 years agoFix the "install_target" target to install to $(PREFIX)$(TARGET_PREFIX)
Eric Andersen [Tue, 14 Aug 2001 20:40:36 +0000 (20:40 -0000)]
Fix the "install_target" target to install to $(PREFIX)$(TARGET_PREFIX)

22 years agoA few more (final?) cleanups for the installer behavior. I now think
Eric Andersen [Mon, 13 Aug 2001 22:20:28 +0000 (22:20 -0000)]
A few more (final?) cleanups for the installer behavior.  I now think
things are working perfectly (perhaps I shouln't think so much)

22 years agoAdd in a make release target
Eric Andersen [Mon, 13 Aug 2001 20:40:30 +0000 (20:40 -0000)]
Add in a make release target

22 years agoFix SYSTEM_DEVEL_PREFIX to allow install of the <arch>-uclibc- spoofer
Eric Andersen [Mon, 13 Aug 2001 20:00:34 +0000 (20:00 -0000)]
Fix SYSTEM_DEVEL_PREFIX to allow install of the <arch>-uclibc- spoofer
toolchain to any arbitrary directory...

22 years agoAdd in TARGET_PREFIX, which was still used in a few spots (and
Eric Andersen [Mon, 13 Aug 2001 18:52:28 +0000 (18:52 -0000)]
Add in TARGET_PREFIX, which was still used in a few spots (and
appropriately so).  Leave this hidden and set to a sane default
since nobody should really need to change it...

22 years agoUse malloc on arm (since I've never bothered to write sbrk)
Eric Andersen [Sat, 11 Aug 2001 04:21:52 +0000 (04:21 -0000)]
Use malloc on arm (since I've never bothered to write sbrk)

22 years agoI just wrote a stpncpy() since someone wanted it
Eric Andersen [Sat, 11 Aug 2001 04:17:52 +0000 (04:17 -0000)]
I just wrote a stpncpy() since someone wanted it

22 years agoI rewrote strcat without any function calls.
Eric Andersen [Sat, 11 Aug 2001 04:11:46 +0000 (04:11 -0000)]
I rewrote strcat without any function calls.

22 years agoSync up ldd behavior
Eric Andersen [Sat, 11 Aug 2001 04:09:22 +0000 (04:09 -0000)]
Sync up ldd behavior

22 years agoFix the library searching routine so it is way simpler, and so
Eric Andersen [Sat, 11 Aug 2001 04:08:41 +0000 (04:08 -0000)]
Fix the library searching routine so it is way simpler, and so
it matches the routine in ldd.c

22 years agoAdd a cvsignore for this dir
David Schleef [Sat, 11 Aug 2001 03:21:21 +0000 (03:21 -0000)]
Add a cvsignore for this dir

22 years agoChange name of package to uclibc-toolchain. Various changes
David Schleef [Sat, 11 Aug 2001 03:19:52 +0000 (03:19 -0000)]
Change name of package to uclibc-toolchain.  Various changes
following the Makefile changes.

22 years agoNeed to create $(SYSTEM_DEVEL_PREFIX)/usr/bin
David Schleef [Sat, 11 Aug 2001 03:18:59 +0000 (03:18 -0000)]
Need to create $(SYSTEM_DEVEL_PREFIX)/usr/bin

22 years agoBegin removing some unnecessary inlining, and fix naming
Eric Andersen [Sat, 11 Aug 2001 00:18:07 +0000 (00:18 -0000)]
Begin removing some unnecessary inlining, and fix naming
of _dl_fprintf which should really be _dl_dprintf
 -Erik

22 years agoOops. Symlink args were backwards...
Eric Andersen [Fri, 10 Aug 2001 08:49:12 +0000 (08:49 -0000)]
Oops.  Symlink args were backwards...