Commit Graph

185 Commits

Author SHA1 Message Date
pk
d9a465e8af PIC generation when -DPIC flag is on. 1993-09-28 21:04:38 +00:00
pk
308358ebde Macro's for generating PIC code in assembler stubs. 1993-09-28 21:04:01 +00:00
mycroft
68f5f047ab Reenable building of Torek's quad library. 1993-09-28 03:05:28 +00:00
mycroft
b4e10df1eb #include <sys/types.h>, for magnum changes. 1993-09-27 02:40:38 +00:00
cgd
c2f1ebaf17 add Nd line, and correct the description of the function. 1993-09-21 01:27:07 +00:00
brezak
1ee5779f11 Clear direction flag. Too many folks were losing... 1993-09-19 19:16:27 +00:00
brezak
6b9e025ea9 Add sysarch() syscall. 1993-09-19 18:51:55 +00:00
cgd
f2244fe7d4 ifdef notdef the inclusion of the quad support, since it doesn't compile
and charles didn't properly commit it to a branch.  LIBC SHOULD COMPILE
AT ALL TIMES!
1993-09-18 01:03:58 +00:00
phil
7ce7cb30df pc532 specifics. 1993-09-17 19:22:50 +00:00
mycroft
6a18f54f9b Clean up deleted files. 1993-09-17 19:12:49 +00:00
phil
88d13621dd Making this match other architectures. 1993-09-17 19:12:41 +00:00
mycroft
73ecaec9c3 Clean up deleted files. 1993-09-17 19:08:10 +00:00
phil
9472bfc2bd Initial pc532 libc tree. I expect this to change quite a bit. 1993-09-17 18:43:46 +00:00
cgd
72b27fe90c get rid of extraneous include of machine/endian.h now that it's
included by sys/types.h
1993-09-17 01:49:27 +00:00
cgd
65aeeefb0a version 1.71 of new db code 1993-09-17 01:06:18 +00:00
mycroft
2f7cd59af8 Compile quad stuff. 1993-09-16 06:06:41 +00:00
mycroft
49e0bc5446 Torek's quad stuff from 4.4. 1993-09-16 06:05:46 +00:00
jtc
2eb08c94c4 POSIX.2 has changed getopt to return -1 instead of EOF (to decouple getopt()
from standard i/o).  This change is more pedantic than functional as EOF
is defined to be -1.
1993-09-14 22:37:24 +00:00
jtc
186047edaf Document isblank(). 1993-09-14 19:23:27 +00:00
jtc
b82a25338b Implement C version of isblank. 1993-09-14 01:09:13 +00:00
jtc
a0c1ff159e Both space and tab are in the blank character class. 1993-09-14 01:08:38 +00:00
cgd
45e27c8018 upgrade new DB code to version 1.7 1993-09-09 02:41:04 +00:00
jtc
2886fde30d Elements of sys_signame array should be in upper case.
Both kill and sliplogin, which were converted to use this array, are
either specified to use, or have traditionally used, upper case names.
This change shouldn't have bad side-effects, sys_signame is new to netbsd
and nothing in the source tree except kill and sliplogin use it.
1993-09-08 18:43:05 +00:00
jtc
4dde406083 Shave a cycle or two. Fix comment. 1993-09-07 16:50:29 +00:00
jtc
d5dd740e34 Added code to compare by words. 1993-09-07 16:49:57 +00:00
mycroft
e27da3f557 Separate the toupper() and tolower() functions so the tables *really* don't get
included unless you need them.
1993-09-05 22:29:48 +00:00
deraadt
9d6ec4eec9 sparc code from Chris Torek 1993-09-05 22:14:55 +00:00
deraadt
0ae2e16067 include ${MACHINE}/Makefile.inc if it exists 1993-09-05 22:12:35 +00:00
jtc
53229bead2 Provide C language versions of the netorder functions.
These may be "good enough" for big-endian systems that do not have assembly
language versions of their own.  A compiler should be able to do a fairly
good job optimising them, it probably won't be smart enough to omit the
stack frame, but then again, these functions won't be called unless the
macro versions are undef'd.
On the other hand, they are only intended for bootstrap purposes on little-
endian systems.  They should be replaced with assembly language versions as
soon as possible.
1993-08-31 19:00:11 +00:00
brezak
13e51139e4 Add rcsid strings 1993-08-26 15:26:18 +00:00
mycroft
ed55107bda Add `.text' before the .asciz strings for RCS identifiers. 1993-08-26 02:11:52 +00:00
jtc
9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
jtc
5e98929cee Declare static function before it is used. 1993-08-25 22:24:50 +00:00
jtc
647b2510cd Add cast to silence compiler warning. 1993-08-25 22:22:30 +00:00
brezak
979015728c Add syscall stubs for SYSV Shared Memory. 1993-08-25 02:50:51 +00:00
jtc
35aa0934e7 Note that code originated in locore.s.
Don't bother clearing %eax in bcopy(), it doesn't return anything so
why clear a return value that never gets used?
Don't bother clearing direction flag.  Any code that doesn't set/clear
it explicitly before a string instruction deserves to loose.
1993-08-24 16:59:00 +00:00
jtc
19e4e33b98 Don't block SIGINT, SIGQUIT, SIGHUP, etc. in pclose()...
"Some historical implementations either block or ignore the signals
    SIGINT, SIGQUIT, and SIGHUP while waiting for the child process to
    terminate.  Since this behavior is not described in POSIX.2, such
    implementations are not conforming."
1993-08-23 21:56:31 +00:00
jtc
9d1cf67cd2 Moved toupper and tolower tables from ctype_.c to their own files --- I
received complaints about using shorts in the table (but i need a range
of -1..255), so now the tables will not be used unless either toupper()
or tolower() (and soon, setlocale()) are used.  This can save up to 514
bytes.

In toupper_.c and tolower_.c make sure that our assumption of EOF == -1
holds.

Fixed bug where _toupper_tab_ was initialized pointing to _C_tolower_tab.
1993-08-23 21:04:50 +00:00
cgd
5def7a5fde use "_to*_tab_" rather than "_to*_table_" -- table is defined as the former 1993-08-23 16:25:03 +00:00
jtc
c066b5f81e _ctype_, _tolower_tab_, and _toupper_tab_ are now pointers to the tables.
The tables have been renamed to _C_ctype_, _C_tolower_, and _C_toupper_
as they are tables for the C locale.  When switching to a new locale, the
pointers will be set to point to tables specific to the new locale.
1993-08-21 00:46:25 +00:00
jtc
ffefbf8e83 If mode is niether 'r' or 'w', set errno to EINVAL as per 1003.2-92. 1993-08-21 00:11:47 +00:00
jtc
ec73f57f05 cast away compiler warning message. 1993-08-20 23:40:43 +00:00
jtc
67f034415c Upgraded to be 1003.2-92 compliant. The only functional change is
that -1 is returned when the fork fails.  Updated implementation to
use int rather than deprecated "union wait".  Updated documentation
to describe error / return values.
1993-08-20 23:00:45 +00:00
jtc
7a5661e6ac Fixed typo. Readdir returns a "struct dirent *", not "struct dirent". 1993-08-20 16:46:14 +00:00
mycroft
36d083669a Technically, readdir(3) returns a struct dirent *', not a struct direct *',
not that they aren't the same thing.
1993-08-20 10:03:05 +00:00
jtc
cbc115a0d5 Added the additional `%'' format specifiers and the E'' and `O''
format modifiers that are needed for a 1003.2 compliant date(1).  The
modifiers don't actually do anything at present and are not documented.
It's too confusing to the user to describe localization features when
they aren't implemented yet.  It is safe to do this, as the modifiers
fall back to the default behavior if the locale doesn't support alternate
eras or numeric formats.

But, in anticipation of _some_ locale support, all month and day names and
abbrevs, certain time formats, am/pm, etc. are now accessed through variables.
1993-08-19 16:39:47 +00:00
jtc
17bda641e5 The result of clock() is measured in CLOCKS_PER_SECs, not CLK_TCKs. 1993-08-17 20:37:57 +00:00
jtc
200ad8d9bd Don't include "DEFS.h" more than once.
Added .asciz rcsid's to all files.
1993-08-16 17:06:27 +00:00
jtc
0de7806863 Add STANDARDS section, utime is now 1003.1 compliant. 1993-08-16 15:42:14 +00:00
mycroft
ca08320ae9 We shouldn't be diddling POBJS and CLEANFILES. bsd.lib.mk already does the
Right Thing.
1993-08-16 04:16:33 +00:00