OSDN Git Service

uclinux-h8/uClibc.git
21 years agoMake `-nostdlib' and `-nodefaultlibs' work correctly.
Miles Bader [Wed, 23 Oct 2002 05:06:03 +0000 (05:06 -0000)]
Make `-nostdlib' and `-nodefaultlibs' work correctly.

21 years agoWhen UNIX98PTY_ONLY was false, but Unix 98 ptys were in fact working and
Eric Andersen [Tue, 22 Oct 2002 07:13:57 +0000 (07:13 -0000)]
When UNIX98PTY_ONLY was false, but Unix 98 ptys were in fact working and
functional, everything would succeed but then we would return a failure due to
a silly logic bug.  This patch fixes it so things will work correctly
regardless of the UNIX98PTY_ONLY setting.
 -Erik

21 years agoUpdate freeswan entry, per success report from Arne Bernin
Eric Andersen [Mon, 21 Oct 2002 20:30:11 +0000 (20:30 -0000)]
Update freeswan entry, per success report from Arne Bernin

21 years agoThis patch, based on a patch from Stefan Allius, lets us pick an
Eric Andersen [Fri, 18 Oct 2002 23:03:14 +0000 (23:03 -0000)]
This patch, based on a patch from Stefan Allius, lets us pick an
appropriate awk implementation at compile time, so we can again
compile on Solaris and whatnot.
 -Erik

21 years agoEcho mmu-less warning where appropriate
Eric Andersen [Fri, 18 Oct 2002 23:01:46 +0000 (23:01 -0000)]
Echo mmu-less warning where appropriate

21 years agoAdd in an initial list of the differences between glibc and uClibc.
Eric Andersen [Fri, 18 Oct 2002 10:19:07 +0000 (10:19 -0000)]
Add in an initial list of the differences between glibc and uClibc.
This is not complete, but covers some of the main points.
 -Erik

21 years agoDon't infinitely recurse when trying to grow __malloc_mmb_heap.
Miles Bader [Fri, 18 Oct 2002 04:19:57 +0000 (04:19 -0000)]
Don't infinitely recurse when trying to grow __malloc_mmb_heap.

21 years agoAdd a test from Alex King <alex@morrison.king.net.nz> which
Eric Andersen [Thu, 17 Oct 2002 11:15:14 +0000 (11:15 -0000)]
Add a test from Alex King <alex@morrison.king.net.nz> which
shows a failure in ptsname when ASSUME_DEVPTS=false
 -Erik

21 years agoFix malloc so it compiles and works when using pthreads
Eric Andersen [Thu, 17 Oct 2002 10:37:43 +0000 (10:37 -0000)]
Fix malloc so it compiles and works when using pthreads
 -Erik

21 years agoRemove -fuclibc-ctors
Eric Andersen [Wed, 16 Oct 2002 21:16:50 +0000 (21:16 -0000)]
Remove -fuclibc-ctors

21 years agoKill a warning. Patch from Joel Coltoff <joel@wmi.com>
Eric Andersen [Wed, 16 Oct 2002 21:05:47 +0000 (21:05 -0000)]
Kill a warning.  Patch from Joel Coltoff <joel@wmi.com>

21 years agoFixed 'dlopen' call for MIPS. Things seem to work swimingly. Woohoo!
"Steven J. Hill" [Tue, 15 Oct 2002 21:27:49 +0000 (21:27 -0000)]
Fixed 'dlopen' call for MIPS. Things seem to work swimingly. Woohoo!

21 years ago(uClibc_config): Define __UCLIBC_UCLINUX_BROKEN_MUNMAP__ for MMU-less systems.
Miles Bader [Tue, 15 Oct 2002 07:57:12 +0000 (07:57 -0000)]
(uClibc_config): Define __UCLIBC_UCLINUX_BROKEN_MUNMAP__ for MMU-less systems.

21 years agoUse __heap_[un]lock instead of __malloc_[un]lock.
Miles Bader [Tue, 15 Oct 2002 02:16:58 +0000 (02:16 -0000)]
Use __heap_[un]lock instead of __malloc_[un]lock.

21 years agoGet rid of old malloc lock stuff.
Miles Bader [Tue, 15 Oct 2002 02:16:19 +0000 (02:16 -0000)]
Get rid of old malloc lock stuff.

21 years agoFix locking to not deadlock when __UCLIBC_UCLINUX_BROKEN_MUNMAP__ is defined.
Miles Bader [Tue, 15 Oct 2002 02:15:16 +0000 (02:15 -0000)]
Fix locking to not deadlock when __UCLIBC_UCLINUX_BROKEN_MUNMAP__ is defined.

21 years agoKill the now redundant initfini.pl
Eric Andersen [Mon, 14 Oct 2002 07:21:51 +0000 (07:21 -0000)]
Kill the now redundant initfini.pl
 -Erik

21 years agoPatch from Christian MICHON <christian_michon@yahoo.fr> to reimplement
Eric Andersen [Mon, 14 Oct 2002 07:20:58 +0000 (07:20 -0000)]
Patch from Christian MICHON <christian_michon@yahoo.fr> to reimplement
my little initfini.pl script in awk.  This eliminates uClibc's
compile-time dependancy on perl, and lets us use the much lighter
weight awk, which facilitates building uClibc standalone environments.

21 years agoIt turns out that __thread is now a gcc keyword. We used __thread in
Eric Andersen [Sun, 13 Oct 2002 01:31:30 +0000 (01:31 -0000)]
It turns out that __thread is now a gcc keyword.  We used __thread in
a few spots in our header files.  In this change I do a
    s/__thread/__thread_id/
so we no longer conflict with newer CVS versions of gcc (such as the
patched up gcc 3.2 included with RedHat 3.0).
 -Erik

21 years agoOctal to hex
Eric Andersen [Wed, 9 Oct 2002 20:39:41 +0000 (20:39 -0000)]
Octal to hex

21 years agoSupport O_STREAMING
Eric Andersen [Wed, 9 Oct 2002 11:46:39 +0000 (11:46 -0000)]
Support O_STREAMING

21 years ago* Add support for uClinux's broken munmap, contingent on
Miles Bader [Wed, 9 Oct 2002 10:27:56 +0000 (10:27 -0000)]
* Add support for uClinux's broken munmap, contingent on
  __UCLIBC_UCLINUX_BROKEN_MUNMAP__ (which is currently not defined anywhere).
  This makes other cases a tiny bit less efficient too.
* Move the malloc lock into the heap structure (locking is still done
  at the malloc level though, not by the heap functions).
* Initialize the malloc heap to contain a tiny initial static free-area so
  that programs that only do a very little allocation won't ever call mmap.

21 years agoImplemented 'romfs' target so that uClibc works with building uClinux.
"Steven J. Hill" [Tue, 8 Oct 2002 22:21:28 +0000 (22:21 -0000)]
Implemented 'romfs' target so that uClibc works with building uClinux.

21 years agoPatch from Marshall M. Midden <m4@brecis.com> to fixup crt0 for
Eric Andersen [Tue, 1 Oct 2002 17:25:57 +0000 (17:25 -0000)]
Patch from Marshall M. Midden <m4@brecis.com> to fixup crt0 for
mips where I had made a mess

21 years agoPatch from Stefan Allius <allius@atecom.com>:
Eric Andersen [Tue, 1 Oct 2002 16:50:04 +0000 (16:50 -0000)]
Patch from Stefan Allius <allius@atecom.com>:
    'wcschrnul.o' appeares two times in MOBJW2

21 years agoPatch from Stefan Allius <allius@atecom.com>:
Eric Andersen [Tue, 1 Oct 2002 16:49:19 +0000 (16:49 -0000)]
Patch from Stefan Allius <allius@atecom.com>:
-----------------------------------
In extra/Configs/Config.sh
I added the INCLUDE_PTHREADS statement and change the default values for
BUILD_UCLIBC_LDSO and HAVE_SHARED.
-----------------------------------
In extra/scripts/initfini.pl
My last patch removes two labels, which migth be used by the .size statements.
(Sorry, but I'm a perl beginner) I fixed it.
-----------------------------------
In libc/sysdeps/linux/common/initfini.c
I fixed two warnings "nested extern declaration of `i_am_not_a_leaf..
-----------------------------------
In libc/sysdeps/linux/sh/__init_brl.c brk.c sbrk.c
I fixed some compiler warnings which comes from a wrong
inclusion order.
-----------------------------------

21 years agoThis commit contains a patch from Stefan Allius <allius@atecom.com> to change
Eric Andersen [Tue, 1 Oct 2002 05:30:25 +0000 (05:30 -0000)]
This commit contains a patch from Stefan Allius <allius@atecom.com> to change
how uClibc handles _init and _fini, allowing shared lib constructors and
destructors to initialize things in the correct sequence.  Stefan ported the SH
architecture.  I then ported x86, arm, and mips.  x86 and arm are working fine,
but I don't think I quite got things correct for mips.

21 years agoSigh. OpenBSD used /usr/bin/{true|false}
Eric Andersen [Tue, 1 Oct 2002 04:01:04 +0000 (04:01 -0000)]
Sigh.  OpenBSD used /usr/bin/{true|false}

21 years agoReplace _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__
Eric Andersen [Thu, 26 Sep 2002 15:27:21 +0000 (15:27 -0000)]
Replace _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__
 -Erik

21 years agoA few additions
Eric Andersen [Thu, 26 Sep 2002 15:19:21 +0000 (15:19 -0000)]
A few additions

21 years agoA bug fix from Alexey V. Neyman:
Eric Andersen [Thu, 26 Sep 2002 13:49:08 +0000 (13:49 -0000)]
A bug fix from Alexey V. Neyman:

    In case of vfork(), the parent was left with __exit_count of -1 and
    thus tried to find non-NULL value of __exit_function_table[-1].atexit,
    __exit_function_table[-2].atexit and call this function; of course, it
    leads to coredump.

21 years agoCosmetic cleanup.
Tobias Anderberg [Mon, 23 Sep 2002 12:21:14 +0000 (12:21 -0000)]
Cosmetic cleanup.

21 years agoRemoved redundant code. Same thing exist in sys/syscalls.h so include that
Tobias Anderberg [Mon, 23 Sep 2002 10:37:16 +0000 (10:37 -0000)]
Removed redundant code. Same thing exist in sys/syscalls.h so include that
instead.

21 years agoBuild libpthread now that the CRIS as support for it!
Tobias Anderberg [Fri, 20 Sep 2002 15:19:28 +0000 (15:19 -0000)]
Build libpthread now that the CRIS as support for it!

21 years ago* Added clone() system call.
Tobias Anderberg [Fri, 20 Sep 2002 15:17:16 +0000 (15:17 -0000)]
* Added clone() system call.
* Proper implementation of bits/syscalls.h, no cheating by just including
  <asm/unistd.h>.
* Proper implementation of syscall.S, it no longer contains the
  __syscall_error, instead it contains code which makes syscall(nr,...) a
  system call.
* Added sysdep.S which contains the code for __syscall_error.
* Added some macros to sysdep.h.
* Added sys/procfs.h, which is needed when compiling with thread support.
* Removed unused syscall-cris.c.

21 years agoAdded pthread support for CRIS.
Tobias Anderberg [Fri, 20 Sep 2002 15:09:58 +0000 (15:09 -0000)]
Added pthread support for CRIS.

21 years agoRemoved unused file
Tobias Anderberg [Fri, 20 Sep 2002 11:12:13 +0000 (11:12 -0000)]
Removed unused file

21 years agoAdd gnu obstack support. I still need to implement the obstack_printf
Manuel Novoa III [Thu, 19 Sep 2002 17:34:34 +0000 (17:34 -0000)]
Add gnu obstack support.  I still need to implement the obstack_printf
and obstack_vprintf, but at least now the reiserfsprogs build.

21 years agoAdd SUSv3 function getsubopt.
Manuel Novoa III [Thu, 19 Sep 2002 17:31:15 +0000 (17:31 -0000)]
Add SUSv3 function getsubopt.

21 years agoHide my personal #warning reminders. Add __wcschrnul, rename strchrnul
Manuel Novoa III [Thu, 19 Sep 2002 17:30:05 +0000 (17:30 -0000)]
Hide my personal #warning reminders.  Add __wcschrnul, rename strchrnul
to __strchrnul, and add weak aliases for them.

21 years ago* Changed paramater names to match their register, i.e. __a -> __r10.
Tobias Anderberg [Thu, 19 Sep 2002 13:43:05 +0000 (13:43 -0000)]
* Changed paramater names to match their register, i.e. __a -> __r10.
* Do not clobber things that are specified as outputs.

21 years agoFixup thread support for the 5200/5307 coldfire platforms.
David McCullough [Tue, 17 Sep 2002 02:08:25 +0000 (02:08 -0000)]
Fixup thread support for the 5200/5307 coldfire platforms.

21 years agoAdd in clone and make the assembler PIC/msep-data friendly.
David McCullough [Tue, 17 Sep 2002 01:43:35 +0000 (01:43 -0000)]
Add in clone and make the assembler PIC/msep-data friendly.

21 years agoFixup JMPBUF_UNWINDS so that is will compile if used :-)
David McCullough [Tue, 17 Sep 2002 01:41:54 +0000 (01:41 -0000)]
Fixup JMPBUF_UNWINDS so that is will compile if used :-)

21 years agoFix a memory corruption bug.
David McCullough [Tue, 17 Sep 2002 01:40:47 +0000 (01:40 -0000)]
Fix a memory corruption bug.

With gcc, sizeof on a sized array argument to a function returns 4,  not
16 as was expected in this code.  This caused inet_ntoa to overwrite
whatever came before the buffer in the BSS by up to 12 bytes.

21 years agoAdd url
Eric Andersen [Mon, 16 Sep 2002 19:28:08 +0000 (19:28 -0000)]
Add url

21 years agoUpdate index
Eric Andersen [Mon, 16 Sep 2002 19:24:29 +0000 (19:24 -0000)]
Update index

21 years agoUse __UCLIBC_HAVE_LFS__ not __USE_LARGEFILE64 to decide if
Eric Andersen [Mon, 16 Sep 2002 15:39:55 +0000 (15:39 -0000)]
Use __UCLIBC_HAVE_LFS__ not __USE_LARGEFILE64 to decide if
64 bit interfaces should be used.
 -Erik

21 years ago* Added semi-support for version scripts. If sysdeps/linux/<arch>/libc.map
Tobias Anderberg [Mon, 16 Sep 2002 08:18:46 +0000 (08:18 -0000)]
* Added semi-support for version scripts. If sysdeps/linux/<arch>/libc.map
  exists read it and include it when linking.
* Add LIBGCC when linking libc.

21 years ago* Updated for the CRIS port.
Tobias Anderberg [Mon, 16 Sep 2002 08:16:08 +0000 (08:16 -0000)]
* Updated for the CRIS port.
* Added variable LIBGCC which is included when linking libc.so. Arch
  specific linker options go into LIBGCC_CFLAGS defined in Config.<arch>.

21 years agoConfiguration for the CRIS port.
Tobias Anderberg [Mon, 16 Sep 2002 08:13:37 +0000 (08:13 -0000)]
Configuration for the CRIS port.

21 years agoUpdated for the CRIS port.
Tobias Anderberg [Mon, 16 Sep 2002 08:12:33 +0000 (08:12 -0000)]
Updated for the CRIS port.

21 years agoInitial version of the dynamic linker code for the CRIS port.
Tobias Anderberg [Mon, 16 Sep 2002 08:11:43 +0000 (08:11 -0000)]
Initial version of the dynamic linker code for the CRIS port.

21 years agoAdded cris to ALL_SUBDIRS
Tobias Anderberg [Mon, 16 Sep 2002 08:09:21 +0000 (08:09 -0000)]
Added cris to ALL_SUBDIRS

21 years agoInitial version of the CRIS port.
Tobias Anderberg [Mon, 16 Sep 2002 08:08:37 +0000 (08:08 -0000)]
Initial version of the CRIS port.

21 years agoFix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>
Eric Andersen [Mon, 16 Sep 2002 06:32:16 +0000 (06:32 -0000)]
Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>

21 years agoFix a thinko -- I used the wrong symbol to check for LFS support.
Eric Andersen [Sat, 14 Sep 2002 19:00:07 +0000 (19:00 -0000)]
Fix a thinko -- I used the wrong symbol to check for LFS support.
 -Erik

21 years ago(__heap_check_failure): New function.
Miles Bader [Fri, 13 Sep 2002 07:45:50 +0000 (07:45 -0000)]
(__heap_check_failure): New function.
(__heap_check): Add more checks.  Use `__heap_check_failure'.

21 years agoSupport LD_DEBUG=all
Tobias Anderberg [Thu, 12 Sep 2002 15:09:53 +0000 (15:09 -0000)]
Support LD_DEBUG=all

21 years agoSome minor C++ support updates
Eric Andersen [Thu, 12 Sep 2002 09:55:06 +0000 (09:55 -0000)]
Some minor C++ support updates

21 years agoAdd missing _dl_dprintf arguments, as noticed by Tero Lyytik�inen <tero@paravant.fi>
Eric Andersen [Thu, 12 Sep 2002 04:37:56 +0000 (04:37 -0000)]
Add missing _dl_dprintf arguments, as noticed by Tero Lyytik�inen <tero@paravant.fi>

21 years agoForgot one more #ifdef related to MIPS soft floating point.
"Steven J. Hill" [Wed, 11 Sep 2002 17:00:51 +0000 (17:00 -0000)]
Forgot one more #ifdef related to MIPS soft floating point.

21 years agoDon't run floating point opcodes when code is compiled -msoft-float
Eric Andersen [Tue, 10 Sep 2002 21:01:59 +0000 (21:01 -0000)]
Don't run floating point opcodes when code is compiled -msoft-float
 -Erik

21 years agoDon't unconditionally save/restore FP registers, we might be doing soft
"Steven J. Hill" [Tue, 10 Sep 2002 19:50:47 +0000 (19:50 -0000)]
Don't unconditionally save/restore FP registers, we might be doing soft
floating point. Thanks to Jay Carlson.

21 years agoFix some locking problems noted by Manuel. __getgrent() was always
Eric Andersen [Tue, 10 Sep 2002 05:53:30 +0000 (05:53 -0000)]
Fix some locking problems noted by Manuel.  __getgrent() was always
called under lock, but the callers did not share the same locks...
 -Erik

21 years agoPatch from Tiago Marques <tmarques@viaconnect.inf.br> -- fall back to
Eric Andersen [Tue, 10 Sep 2002 05:37:10 +0000 (05:37 -0000)]
Patch from Tiago Marques <tmarques@viaconnect.inf.br> -- fall back to
using SOCK_STREAM if SOCK_DGRAM fails.
 -Erik

21 years agoAs noted by Bill Huang <billhuang@redsonic.com>, the gid and uid
Eric Andersen [Tue, 10 Sep 2002 05:21:03 +0000 (05:21 -0000)]
As noted by Bill Huang <billhuang@redsonic.com>, the gid and uid
were reversed in putpwent().  Oops.
 -Erik

21 years agoRemove malloc_simple from subdir list.
Manuel Novoa III [Mon, 9 Sep 2002 21:43:26 +0000 (21:43 -0000)]
Remove malloc_simple from subdir list.

21 years agoClean up a warning.
Manuel Novoa III [Mon, 9 Sep 2002 21:42:27 +0000 (21:42 -0000)]
Clean up a warning.

21 years agoFixed compile bugs having to do with 64-bit filesystem operations that
"Steven J. Hill" [Mon, 9 Sep 2002 19:41:33 +0000 (19:41 -0000)]
Fixed compile bugs having to do with 64-bit filesystem operations that
need to be disabled when 'DOLFS' is disabled.

21 years agoFixup multi-line string
Eric Andersen [Mon, 9 Sep 2002 11:37:36 +0000 (11:37 -0000)]
Fixup multi-line string
 -Erik

21 years ago(realloc): Record the correct size in the malloc header in the case
Miles Bader [Mon, 9 Sep 2002 07:40:07 +0000 (07:40 -0000)]
(realloc): Record the correct size in the malloc header in the case
where we extended the existing allocation, and got back more than we
asked for from the heap.

21 years agoPatch from Tero_Lyytik�inen <tero@paravant.fi> to fix bug in matchchar
Manuel Novoa III [Fri, 6 Sep 2002 15:34:42 +0000 (15:34 -0000)]
Patch from Tero_Lyytik�inen <tero@paravant.fi> to fix bug in matchchar
case.

21 years agoAdd #include <malloc.h> to silence warning.
Manuel Novoa III [Fri, 6 Sep 2002 15:25:18 +0000 (15:25 -0000)]
Add #include <malloc.h> to silence warning.

21 years agoInitial checkin.
Miles Bader [Fri, 6 Sep 2002 04:59:34 +0000 (04:59 -0000)]
Initial checkin.

21 years agoUpdate debugging hooks.
Miles Bader [Fri, 6 Sep 2002 04:58:53 +0000 (04:58 -0000)]
Update debugging hooks.

21 years agoAdd in some weak aliases to allow C99 apps to compile w/o defining
Eric Andersen [Fri, 6 Sep 2002 00:25:50 +0000 (00:25 -0000)]
Add in some weak aliases to allow C99 apps to compile w/o defining
_ISOC99_SOURCE, per what glibc does.
 -Erik

21 years agoFixed another address alignment where a pagesize of 4k were assumed.
Tobias Anderberg [Thu, 5 Sep 2002 13:41:19 +0000 (13:41 -0000)]
Fixed another address alignment where a pagesize of 4k were assumed.

21 years agosplit-out memalign and realloc
Eric Andersen [Thu, 5 Sep 2002 05:54:26 +0000 (05:54 -0000)]
split-out memalign and realloc
 -Erik

21 years agoChange <bits/syscall.h> to <bits/sysnum.h>.
Miles Bader [Thu, 5 Sep 2002 05:29:49 +0000 (05:29 -0000)]
Change <bits/syscall.h> to <bits/sysnum.h>.

21 years ago'syscall' now properly works for MIPS.
"Steven J. Hill" [Wed, 4 Sep 2002 21:56:24 +0000 (21:56 -0000)]
'syscall' now properly works for MIPS.

21 years agoMake sjhill happy, and revive memalign
Eric Andersen [Wed, 4 Sep 2002 20:44:36 +0000 (20:44 -0000)]
Make sjhill happy, and revive memalign
 -Erik

21 years agoFixed 'struct ipc_perm' and 'struct msqid_ds' members to allow the Linux
"Steven J. Hill" [Wed, 4 Sep 2002 20:15:39 +0000 (20:15 -0000)]
Fixed 'struct ipc_perm' and 'struct msqid_ds' members to allow the Linux
Test Project to compile as well as be consistent with the architecture
specific files. Maybe eventually the architecture specific files could
be removed all together.

21 years agoPer discussions with Erik, 'valloc.c' should be built on top of whichever
"Steven J. Hill" [Wed, 4 Sep 2002 20:12:44 +0000 (20:12 -0000)]
Per discussions with Erik, 'valloc.c' should be built on top of whichever
memory allocator you choose. Unfortunately, the 'malloc-930716' needs a
fair amount of work before it is functional. For now, changes have been
made to add the 'valloc' call and it works properly with the plain 'malloc'
allocator.

21 years agoAdded 'valloc' back in. Ok, Erik can smack me now.
"Steven J. Hill" [Wed, 4 Sep 2002 14:17:22 +0000 (14:17 -0000)]
Added 'valloc' back in. Ok, Erik can smack me now.

21 years agoAdd syscalls: modify_ldt _sysctl setresuid getresuid setresgid getresgid
"Steven J. Hill" [Wed, 4 Sep 2002 02:48:29 +0000 (02:48 -0000)]
Add syscalls:  modify_ldt  _sysctl  setresuid  getresuid  setresgid  getresgid

21 years agoAdded function 'mkdtemp' for Linux Test Project.
"Steven J. Hill" [Wed, 4 Sep 2002 02:45:42 +0000 (02:45 -0000)]
Added function 'mkdtemp' for Linux Test Project.

21 years agoAdded function 'get_current_dir_name' for Linux Test Project. Tested and
"Steven J. Hill" [Wed, 4 Sep 2002 02:44:32 +0000 (02:44 -0000)]
Added function 'get_current_dir_name' for Linux Test Project. Tested and
works identically to function in glibc.

21 years ago(free):
Miles Bader [Wed, 4 Sep 2002 02:11:08 +0000 (02:11 -0000)]
(free):
  Update debug statement.
  Update to use __heap_delete and __heap_is_empty.

21 years ago(__heap_delete): Renamed from `__heap_unlink_free_area'.
Miles Bader [Wed, 4 Sep 2002 02:09:13 +0000 (02:09 -0000)]
(__heap_delete): Renamed from `__heap_unlink_free_area'.
(__heap_free_area_alloc): Use __heap_delete.
(__heap_is_empty): New macro.

21 years agoSupport fstatvfs64 and statvfs64
Eric Andersen [Tue, 3 Sep 2002 22:01:05 +0000 (22:01 -0000)]
Support fstatvfs64 and statvfs64
 -Erik

21 years agoOops. Turns out I broke statvfs() and fstatvfs() back in February,
Eric Andersen [Tue, 3 Sep 2002 21:58:19 +0000 (21:58 -0000)]
Oops.  Turns out I broke statvfs() and fstatvfs() back in February,
when I accidentally changed them unconditionally into the 64 bit
versions...  Oops.
 -Erik

21 years agoRedo stat structures (kernel changed too).
Miles Bader [Fri, 30 Aug 2002 09:15:48 +0000 (09:15 -0000)]
Redo stat structures (kernel changed too).

21 years agoAdd __kernel_ino64_t.
Miles Bader [Fri, 30 Aug 2002 09:14:28 +0000 (09:14 -0000)]
Add __kernel_ino64_t.
Make __kernel_loff_t unconditional.

21 years agoCFLAGS+=-D__FORCE_NOGLIBC, not CFLAGS+=__FORCE_NOGLIBC
Aaron Lehmann [Fri, 30 Aug 2002 07:34:29 +0000 (07:34 -0000)]
CFLAGS+=-D__FORCE_NOGLIBC, not CFLAGS+=__FORCE_NOGLIBC
Change a than to then

21 years agoDoc fix.
Miles Bader [Fri, 30 Aug 2002 06:00:00 +0000 (06:00 -0000)]
Doc fix.

21 years ago(__heap_free): Tighten up the inner loop, and make the code more readable.
Miles Bader [Fri, 30 Aug 2002 05:59:09 +0000 (05:59 -0000)]
(__heap_free): Tighten up the inner loop, and make the code more readable.

21 years agoUse `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.
Miles Bader [Fri, 30 Aug 2002 05:15:31 +0000 (05:15 -0000)]
Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.

21 years ago(likely, unlikely): New macros.
Miles Bader [Fri, 30 Aug 2002 05:14:26 +0000 (05:14 -0000)]
(likely, unlikely): New macros.

21 years ago(likely, unlikely): New macros.
Miles Bader [Fri, 30 Aug 2002 05:13:57 +0000 (05:13 -0000)]
(likely, unlikely): New macros.
(__malloc_likely, __malloc_unlikely): Macros removed.