bjh21
6c97e2bd78
Initial commit of arm26 port
2000-05-09 21:55:44 +00:00
thorpej
707b3d59b1
__predict_true() the expressions passed to the assert family, so
...
as to move the calls to __assert() out-of-line.
Suggested by Bill Sommerfeld.
2000-05-08 23:33:15 +00:00
thorpej
b193ffa77c
Use __GNUC_PREREQ__().
2000-05-05 00:20:22 +00:00
msaitoh
48c1343230
asm bcopy() for sh3
2000-04-20 13:52:35 +00:00
itojun
79e89da473
change copyright notice from 3-clause TNF -> 4-clause TNF.
...
not sure if which we prefer, but the point is to use exactly the same
copyright. From: matthew green <mrg@eterna.com.au>
2000-04-19 15:16:02 +00:00
castor
5e29a96b48
Make standalone in_cksum work on little-endian machines, too, courtesy of
...
Jeff Smith, <jeffs@geocast.com>.
2000-03-31 19:55:09 +00:00
augustss
1279e67b6e
Kill some more register declarations.
2000-03-30 12:19:46 +00:00
simonb
4ca596f6a0
Don't prototype __assert() if not STANDALONE - <sys/systm.h> has already
...
included <lib/libkern/libkern.h> to get the prototype by this stage.
XXX: should we just change <sys/systm.h> from
#ifdef _KERNEL
#include <sys/systm.h>
#endif
to
#if defined(_KERNEL) || defined(_STANDALONE)
#include <sys/systm.h>
#endif
anyways?
2000-03-29 03:19:52 +00:00
simonb
5ab3ed0c39
Multiple include protection.
2000-03-29 03:07:52 +00:00
simonb
20bd3ffa72
Remove duplicate declaration of __cmpdi2()
2000-03-27 12:00:48 +00:00
itojun
2dc247fc34
make CMSG_ALIGN always synchronize with kernel's idea of ALIGNBYTES.
...
ancillary data alignment will be ALIGNBYTES, not sizeof(long) - 1, from now.
CMSG_xx will NOT resolve into constant. if you use CMSG_xx to allocate
arrays, you'll lose.
bump shlib minor for libc.
NOTE: if you are on top of arch with ALIGNBYTES != sizeof(long) - 1,
you need to recompile IPv6-related binaries. there is no way to guarantee
backward compat in this aspect. sorry for this. this should be the last
backward compat breakage for IPv6-related ancillary data manipulation.
(we still have PR 9516 for unix-domain sockets...)
2000-03-02 07:41:49 +00:00
drochner
f458367b3f
cosmetics: remove double semicolon, whitespace
2000-02-03 19:53:03 +00:00
cgd
fbf9177d1b
provide stat() and fstat() here for standalone programs' use
2000-02-03 02:00:31 +00:00
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +00:00
danw
aedaba9bc9
add strtoul
2000-02-01 04:02:59 +00:00
tsutsui
e61f177ab1
STRIP -> STRIPPROG
2000-01-19 16:29:54 +00:00
msaitoh
b0b4797dfb
don't clobber r4 and r5
2000-01-03 02:40:04 +00:00
hannken
2b8c4ea32e
Fix IS_DATA and IS_TEXT. PF_X and PF_W are valid on p_pflags, not p_ptype.
1999-12-29 11:08:02 +00:00
msaitoh
5517154d15
check _STANDALONE
1999-12-21 21:48:19 +00:00
simonb
cfd10575d6
Add strtoul.c and sort sources alphabetically.
1999-11-29 23:24:59 +00:00
simonb
9c807e7a3c
Move strtoul.c (via CVS repo copy) to libkern. Also sort prototypes
...
in libkern.h and sources in arm32/Makefile.inc alphabetically.
1999-11-29 23:12:56 +00:00
simonb
9e5fd23ce5
Copied from arch/arm32/arm32/strtoul.c,v
1999-11-29 22:51:19 +00:00
simonb
a09d3191a0
Remove leading '/' from pathnames, using same logic as ufs.c. Allows new
...
style (but not yet committed) pmax bootblocks to open "/boot.pmax" on an
ISO image. Same problem reported for NFS by Jason Thorpe.
1999-11-23 12:20:53 +00:00
matthias
87bb3a7b2b
make this work again with -mrtd.
1999-11-16 18:16:53 +00:00
thorpej
728d672378
Backout my libsa changes.
1999-11-13 21:33:12 +00:00
thorpej
ee03a4e035
Backout my libsa changes.
1999-11-13 21:29:12 +00:00
thorpej
36ff5d93e8
Backout my libsa changes.
1999-11-13 21:17:56 +00:00
thorpej
1e544cc5eb
Backout my libsa changes.
1999-11-13 21:06:46 +00:00
lukem
e8dc21a13a
add -DNET_DEBUG to the list of commented-out debug options
1999-11-12 13:13:59 +00:00
lukem
053d3c3702
fix pointer size in debug message
1999-11-12 13:12:09 +00:00
simonb
7a03e8cda8
Add memset() prototype.
1999-11-12 12:24:42 +00:00
simonb
c24b109ff0
"zutil.h" includes <lib/libsa/stand.h> now.
1999-11-12 12:12:13 +00:00
simonb
fffdb85f69
Include <lib/libsa/stand.h> so that this builds with WARNS=1
1999-11-12 12:11:31 +00:00
simonb
3f691021a6
Add strncpy().
...
Add prototypes for bcmp(), bzero() so the libsa compiles with WARNS=1
1999-11-12 01:26:28 +00:00
thorpej
ab395306cd
Small, MI strcat() and strcpy().
1999-11-11 21:23:27 +00:00
thorpej
a7abffa1f2
The hack needed to work around gcc lameness.
1999-11-11 20:36:52 +00:00
thorpej
5dde9d67c2
Don't reference libkern.h in standalone programs.
1999-11-11 20:31:07 +00:00
thorpej
471a3aa8e4
Update for the improvements to libsa, and don't reference libkern.h.
1999-11-11 20:23:16 +00:00
thorpej
38200dd3e4
Networking routines needed for libsa to be self-contained.
1999-11-11 20:21:59 +00:00
thorpej
c29af30c3c
Minimal quad routines needed for libsa to be self-contained. The compiler
...
emits a reference to this one in the UFS code.
1999-11-11 20:20:35 +00:00
thorpej
cad7e97082
Add small, MI strcmp(), strlen(), and strncmp() functions. Modules within
...
libsa depend on them, to it seems rather silly to have to build an additional
library (e.g. libkern) to get them.
1999-11-11 18:11:25 +00:00
thorpej
ac3150a13d
Add register prefixes.
1999-11-11 01:53:46 +00:00
thorpej
9aeef983e2
Sync w/ libc.
1999-11-11 01:32:10 +00:00
kleink
522cbf0248
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
1999-10-25 13:55:06 +00:00
msaitoh
3fd4c8b3b8
add strncasecmp.c
1999-10-21 15:05:08 +00:00
ragge
ad78a78402
Include <lib/libkern/libkern.h> after sys/param.h, to avoid warnings
...
when memcpy et al is static inline.
1999-10-16 19:06:48 +00:00
itohy
e72ef17380
- a.out header is not a part of text segment in NMAGIC.
...
- Fix section alignment code.
Patch supplied by Izumi Tsutsui, PR #8575 .
1999-10-08 03:55:06 +00:00
is
e203553a11
Finish support for auto-generated libkern divsi3.S.
1999-09-21 09:43:38 +00:00
ross
80fd51b82b
Fix error flow that was broken 10 days ago in the previous commit.
...
Fixes the broken i386 boot blocks and closes port-i386/8432.
1999-09-20 11:58:15 +00:00
is
897dbf6c67
Use an identical source file for the libc and the libkern version of
...
divsi3.S, conditionally compiling the divide by zero case. This way,
after a change to the one, we can just copy it over to update the other
without creating ... problems. By Chris G. Demetriou.
1999-09-20 09:22:47 +00:00