jake
38d2985e9b
Add an alternate signal trampoline to libc; add a wrapper for the sigtramp
...
install sysarch, to be called from _start.
This will allow the stack to be mapped non-executable, as required by the
sparc v9 abi.
2002-04-29 18:14:44 +00:00
des
e48f76df85
Spell void * as void * rather than caddr_t. This is complicated by the
...
fact that caddr_t is often misspelled as char *.
Sponsored by: DARPA, NAI Labs
2002-04-28 15:18:50 +00:00
jake
2b67a5630b
Add code to emulate arithmetic, comparison and conversion operations
...
on long double, which are not implemented in hardware on any UltraSPARC
chip that I know of. This just calls into the existing floating point
emulator, which is still needed to emulate other floating point operations
in certain conditions. Without this gcc has to generate the quad floating
point instructions directly, which sometimes causes internal compiler
errors.
Reviewed by: tmm
2002-04-28 02:36:36 +00:00
jake
a1a94cce5c
Emulate ldq and stq (load/store long double) instructions. GCC has started
...
using these to load long doubles, but they aren't implemented in hardware
on (at least) UltraSPARC I and II machines.
Emulate popc in the user trap handler as well.
Re-arrange slightly to make support functions more accessible.
Reviewed by: tmm
2002-04-27 21:56:28 +00:00
des
8f75397c1d
#include <string.h> instead of <strings.h>
2002-04-25 18:14:39 +00:00
phk
06842004ed
Constify _malloc_options.
2002-04-24 16:49:36 +00:00
fenner
097dea9b47
Implement several of the c99 updates to scanf(3):
...
- New length modifiers: hh, j, ll, t, z.
Still to do:
- %C, %S, %lc, %ls (wide character support)
- %a/%A (exact hex representation of floating-point numbers)
Removed old compatability equivalents:
- %D for %ld, %O for %lo, %X for %lx, %E and %F for %le & %lf (these
were buggy anyway, since they should have represented %Le & %Lf).
- %[unknown uppercase char] for %ld, %[unknown lowercase char] for %d
2002-04-20 17:00:56 +00:00
ru
e8ac4b4186
mdoc(7) police: polishing.
2002-04-19 11:24:02 +00:00
suz
553226e8e1
just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.
...
(based on freebsd4-snap-20020128)
Reviewed by: ume
MFC after: 1 week
2002-04-19 04:46:24 +00:00
mux
060b6e6650
Connect the kenv.2 manpage to the build.
2002-04-18 16:46:23 +00:00
mux
fa5515af77
Add a manpage for the kenv(2) syscall that Chad David kindly
...
wrote for me.
Submitted by: davidc
2002-04-18 16:45:57 +00:00
joe
b981450019
Support the snapshot file flag, so that tools like 'ls -ol' work
...
as expected on snapshot files.
PR: bin/37038
Submitted by: Joshua Goodall <joshua@roughtrade.net>
2002-04-16 11:03:22 +00:00
ume
31dc2e2cc4
Add awareness of an IPv6.
...
MFC after: 1 week
2002-04-15 18:45:20 +00:00
nectar
1f91e94116
Quoting log message for OpenBSD rev 1.7:
...
``Tack on MagniComp (BSD) license since this originally came from rdist.''
Obtained from: OpenBSD
2002-04-15 12:46:07 +00:00
des
e4c18be72a
Missed a spot in previous commit.
...
Sponsored by: DARPA, NAI Labs
2002-04-15 00:21:25 +00:00
des
06b809501b
(ab)use unused bits in the pw_fields member of struct passwd to record
...
the source of the data contained in the structure.
Sponsored by: DARPA, NAI Labs
2002-04-14 22:24:55 +00:00
asmodai
3b69e0094c
Remove the hard-coded limit of 3 bytes for EUC encodings.
...
Satoshi NIIMI-san kindly explained that EUC does not limit the byte length to
any arbitrary number.
We now set the limit to the maximum octet length of the codeset and it is
locale-specific.
Submitted by: Yong-Jhen Hong <winard@ms11.url.com.tw>
2002-04-14 10:55:42 +00:00
dd
a967b14fde
Correct markup.
2002-04-14 02:29:20 +00:00
des
e824bdd8fb
Install digittoint.3 (forgotten in rev 1.21)
...
PR: docs/26451
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
2002-04-13 22:32:33 +00:00
asmodai
4d94ee39e6
Use the correct macros for F_SETFD/F_GETFD instead of magic numbers.
...
Reflect that fact in the manual page.
PR: 12723
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
Approved by: bde
MFC after: 2 weeks
2002-04-13 10:16:53 +00:00
dd
c574a3c922
This was recently MFC'd, so it will appear in 4.6.
...
PR: 37018
2002-04-13 04:25:56 +00:00
marcel
7de93ed35c
Implement _Unwind_FindTableEntry(). This function is part of GCC
...
for some configurations, but not for FreeBSD (yet?). Have one in
libc in the mean time.
2002-04-13 04:06:34 +00:00
trhodes
6f359135dd
scanf.3 has an obsolete ``this release''.
...
PR: 35610
MFC after: 2 days
2002-04-10 20:52:49 +00:00
ru
6d38d7dc3c
No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.
2002-04-09 11:39:05 +00:00
jake
a72383027f
Rename some fields in struct frame to be compatible with NetBSD/OpenBSD,
...
and add some compatibility defines. Add fields for ins and locals to
struct reg also for the same reason; these aren't filled in yet because
getting at those registers sucks and I'd rather not save them in the
trapframe just for this. Reorder struct reg to be ABI compatible as
well. Add needed include of machine/emul.h.
This gets pmdb (poor man's debugger) from OpenBSD mostly compiling but it
doesn't work yet :(
2002-04-09 00:57:23 +00:00
phk
f0ca71273e
Catch up with const'ification of <sys/disklabel.h> and quelch warnings.
2002-04-08 08:57:21 +00:00
ru
b2401764d7
Fix style of ether_ntoa().
2002-04-08 07:51:10 +00:00
asmodai
58d9ddfc7d
Fix EUC encoding conversion for codeset 3 and 4 to comply to the specification.
...
PR: 28552
Submitted by: NIIMI Satoshi <sa2c@and.or.jp>
2002-04-07 16:37:15 +00:00
ru
c711dcdf85
Polish previous revision.
2002-04-06 09:54:17 +00:00
dillon
930f8eb170
Fix ether_ntoa() to generate the %02x format people expect, instead of %x,
...
for the ethernet address.
MFC after: 1 day
2002-04-06 05:21:57 +00:00
tmm
c944152856
htonl() and ntohl() operate on unsinged types, so they must zero-extend,
...
not sign-extend. Fix a comment in the former to that effect, and change
the latter over to do the right conversion.
2002-04-06 00:07:15 +00:00
phk
8b6606cbb7
Initial deorbit burn for the undocumented and unused d_boot[01]
...
fields of struct disklabel.
Sponsored by: DARPA and NAI Labs.
2002-04-03 15:44:53 +00:00
ume
121ff2ebbe
When _kevent() returns with errno = EINTR and timeout is not
...
exceeded, it should be falldown to next_ns.
MFC after: 1 week
2002-04-01 16:09:45 +00:00
markm
76fe441a7b
Do not use __progname directly (except in [gs]etprogname(3)).
...
Also, make an internal _getprogname() that is used only inside
libc. For libc, getprogname(3) is a weak symbol in case a
function of the same name is defined in userland.
2002-03-29 22:43:43 +00:00
obrien
efd376255c
Embellish more.
2002-03-26 23:09:34 +00:00
obrien
8475057e31
Embellish the comment.
2002-03-26 23:08:42 +00:00
bde
2c14ede5e3
Fixed some style bugs in the removal of __P(()). Some function parameter
...
lists were outdented to column 0.
2002-03-26 01:35:05 +00:00
dd
5939a9b399
A break after a return is useless.
2002-03-24 08:38:21 +00:00
dd
285344c7f5
Fix braino.
2002-03-24 06:30:28 +00:00
obrien
389ea5daa5
Update comments. We uniformly use __FBSDID in libc now.
2002-03-23 20:08:00 +00:00
obrien
2c31d393b3
W/o __P, the internal declarations will all fit on one line.
2002-03-23 18:22:40 +00:00
obrien
b4472eebdd
Remove these abortive MIPS bits.
2002-03-23 17:55:32 +00:00
imp
300518c0a1
Breath deep and take __P out of the system include files.
...
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
2002-03-23 17:24:55 +00:00
obrien
e6788c9a6d
Standardize on our SCM ID style.
2002-03-23 02:44:19 +00:00
obrien
2fdb91d36d
Restore CSRG ID's lost in January 1995.
2002-03-23 02:10:28 +00:00
obrien
b1189e8930
Fix the style of the SCM ID's.
...
I believe have made all of libc .h's as consistent as possible.
2002-03-22 23:42:05 +00:00
obrien
074d88cd27
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 23:18:37 +00:00
obrien
4787ceffe1
Fix the style of the SCM ID's.
...
I believe have made all of libc .h's as consistent as possible.
2002-03-22 23:18:17 +00:00
obrien
d90536e35b
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 21:53:29 +00:00
obrien
4b7da0acb5
Back out last commit (rev 1.2). I thought I caught this file in time
...
when deP'ing. But I guess not.
2002-03-22 19:45:43 +00:00