Commit Graph

102744 Commits

Author SHA1 Message Date
mycroft
06f9fa98b0 Save relocbase in %r10, not %r1.
Also, save one instruction.
2002-09-26 23:28:52 +00:00
martin
aba5b183cd In wi_shutdown only call wi_stop if sc_enabled is set (don't try to send
commands to a card that is not powered up - it will always fail)
2002-09-26 22:51:30 +00:00
mycroft
d437f6520b Implement a self-relocate function for the VAX. 2002-09-26 22:26:26 +00:00
simonb
ad2a80f193 Move a brace that is in the wrong position when changes from FreeBSD
were added in rev 1.51.  This may fix the "N lost blocks" problem some
people have noticed.
Reviewed by fvdl.
2002-09-26 21:35:27 +00:00
agc
e66e457180 <sys/map.h> is no more - don't try to include it. 2002-09-26 21:30:30 +00:00
thorpej
09354b26ef Fix an uninitialized pointer bug in emitcfdata(). 2002-09-26 21:07:49 +00:00
thorpej
eaaed308cf Compare driver name, don't check against zstty_cd. 2002-09-26 20:51:44 +00:00
thorpej
c75e60ed75 Get the pointer to the driver name early, rather than constantly
deferencing the cfdriver pointer.
2002-09-26 20:45:42 +00:00
mycroft
1c495430dd Remove the `self' args to _rtld_relocate_objects() and
_rtld_relocate_nonplt_objects().
2002-09-26 20:42:10 +00:00
mycroft
7d4bbc7f4e Add an iffy heuristic that allows us to do lazy binding with new objects, but
detect old objects and deal with them.
2002-09-26 20:41:34 +00:00
bouyer
992abe6e5b In nfsrv_create(), kill an extra PNBUF_PUT() in the NFSv2 mknod case. The
pnbuf has already been freed by VOP_MKNOD. This should have been removed in
rev 1.60.
Should fix PR 18013, OK'd by fvdl.
2002-09-26 20:41:25 +00:00
bouyer
7005ca7253 nfsrv_commit(): Properly handle the case cnt == 0, which means "flush to
end of file". Calling VOP_FSYNC with start == end triggers a DIAGNOSTIC
check. Noticed with NFSv3 Linux clients. OK'd by fvdl.
2002-09-26 20:38:04 +00:00
thorpej
e40e3c96cf G/c extern reference to ioasic_cd. 2002-09-26 20:37:42 +00:00
thorpej
6c87786450 G/c external reference to ibus_cd. 2002-09-26 20:36:51 +00:00
thorpej
958db4d3b7 No need to check that parent's cfdriver is ioasic_cd. 2002-09-26 20:36:14 +00:00
mycroft
73a80999b7 Clean up _rtld_init() -- there is no need to avoid globals.
Remove the call to _rtld_relocate_objects() completely -- except on VAX, where
we TEMPORARILY call _rtld_relocate_nonplt_objects() directly.
Also add more assertions -- ld.elf_so should never have PLT relocations.
2002-09-26 20:35:56 +00:00
thorpej
98f612ef11 No need to check that that parent's cfdriver is ibus_cd. 2002-09-26 20:33:25 +00:00
thorpej
7f33c64040 Get the pointer to the driver name early, rather than constantly
deferencing the cfdriver pointer.
2002-09-26 20:30:50 +00:00
mycroft
5f24ee89f3 Don't bogusly set obj->pltrela{,lim} if there is no DT_PLTREL. 2002-09-26 20:27:50 +00:00
thorpej
c12a2960bb In sysfpgamatch(), the expression "cf->cf_driver == &sysfpga_cd" is
always true, so just return the constant 1.
2002-09-26 20:25:41 +00:00
thorpej
3280b330bb Get the pointer to the driver name early, rather than constantly
deferencing the cfdriver pointer.
2002-09-26 20:18:24 +00:00
thorpej
88b0700853 Const poison. 2002-09-26 20:02:47 +00:00
thorpej
89dd8c023c Get the pointer to the driver name early, rather than always dereferencing
the cfdriver pointer.
2002-09-26 19:04:59 +00:00
thorpej
274c086b22 Remove <sys/map.h> 2002-09-26 18:54:30 +00:00
wiz
c91d8d6b9b Lots of minor fixes resulting from reading these man pages in detail. 2002-09-26 18:31:58 +00:00
thorpej
69de06f36a No need to make sure parent's cfdriver == &ioasic_cd. 2002-09-26 18:30:54 +00:00
wiz
8e14b98adf Move comment that says 'the following are extensions' to the right place.
Approved by christos.
2002-09-26 17:08:42 +00:00
onoe
e8bc592172 Oops. forgot to delete old line in previous commit:
| Changed the name for resource id 0xfd45 to match the reality.
|	WI_RID_OWN_BEACON_INT -> WI_RID_CUR_BEACON_INT
2002-09-26 16:58:44 +00:00
onoe
55ef0eb8b9 Changed the name for resource id 0xfd45 to match the reality.
WI_RID_OWN_BEACON_INT -> WI_RID_CUR_BEACON_INT
2002-09-26 16:52:44 +00:00
wiz
904b6b9402 Mdoc nits -- unneeded ". 2002-09-26 16:33:53 +00:00
wiz
875690e96c Ispell. 2002-09-26 16:29:25 +00:00
provos
4fd29e5dcf human-readable output via -h flag. output matches Linux and other BSDs.
partly from kstailey@openbsd.org.  approved itojun and perry.
2002-09-26 16:27:43 +00:00
wiz
0d22e30cd0 New sentences begin on new lines.
Patch from Richard Elz, slightly improved by yours truly.
2002-09-26 16:12:39 +00:00
darrenr
aa1492743a Fix a case where M_COPY_PKTHDR() wasn't being used prior to calling bpf_mtap 2002-09-26 16:07:03 +00:00
wiz
079c182094 Kilo abbreviation is a small k (PR 18408). 2002-09-26 15:06:47 +00:00
wiz
15223283f6 Kilo abbreviation is a small k (PR 18408). Unrelated mdoc fix. 2002-09-26 15:06:06 +00:00
mycroft
a217e118cd *poof*
-fomit-frame-pointer works on 68k.
2002-09-26 14:30:47 +00:00
mycroft
b06a300a8a Fix a bug WRT -vomit-frame-pointer -- use_return_insn() must return false if
we saved the GOT pointer register.
Note: This is already fixed in the GCC 3 sources, but GCC 3 uses a different
condition to determine whether to save and restore the register, so the patch
cannot be the same.
2002-09-26 14:21:39 +00:00
mycroft
3e9c6b1044 -vomit-frame-pointer is buggy on 68k. *sigh* 2002-09-26 13:56:01 +00:00
mycroft
273d2b19b4 Hm, the const isn't going to work. 2002-09-26 13:43:52 +00:00
mycroft
00088c228c Do not attempt to free(_rtld_objself.path) -- it's a pointer into our data
segment.
2002-09-26 13:42:05 +00:00
itojun
7ec4f039a8 visit libcrypto_mdc2 if MKCRYPTO_MDC2 is defined 2002-09-26 13:29:44 +00:00
grant
59fce28e02 Fix minor formatting bug. From Joerg Klemenz <joerg@gmx.net> in
misc/18428.
2002-09-26 13:21:52 +00:00
itojun
ac42e7868c MDC2 is patented so get it out of libcrypto 2002-09-26 13:12:23 +00:00
onoe
e3261bdc94 initialize pkthdr for dummy mbuf before calling bpf_mtap(). 2002-09-26 13:06:56 +00:00
itojun
633fb3b891 dummy funtion decls 2002-09-26 13:06:25 +00:00
itojun
d24389cf67 MDC2 is a patented algorithm; don't ship it in default libcrypto.
MKCRYPTO_MDC2 will build a separate library, libcrypto_mdc2.
2002-09-26 13:05:54 +00:00
mycroft
f4f740de3a By default, compile without DEBUG, and with -fomit-frame-pointer. 2002-09-26 12:59:29 +00:00
christos
54de5d06a7 Revise wording to say that setting the argument vector is not mandatory.
>xs@kittenz.org:
>susv3 agrees with this, since in the rationale, susv3 states the
>requirement of argc >= 1 was removed recently following iso c. it
>is now only a "should."
2002-09-26 12:08:10 +00:00
wennmach
ced9268418 s/_PASSWD_NOCHG/_PASSWORD_NOCHG/
s/_PASSWD_NOEXP/_PASSWORD_NOEXP/
2002-09-26 11:47:35 +00:00