Commit Graph

20995 Commits

Author SHA1 Message Date
jdp
72875e2a08 Declare the constructor/destructor linker sets as extern rather than
common.  Add one do-nothing element to each set.  This ensures that
the linker realizes that they are linker sets rather than simple
commons, and makes it possible to link c++rt0.o into every shared
library regardless of whether it is a C++ library or not.  Without
this change, the constructors and destructors in the main program
could be executed multiple times.

This change is going to make it possible to get rid of the
CPLUSPLUSLIB makefile variable once and for all.  It is a piece of
the solution to PR gnu/3505 (gcc -shared).  Finally, it fixes a
heretofore unreported bug:  If CPLUSPLUSLIB was set in a makefile
for a C++ shared library that had no static constructors or
destructors in it, then the main program's constructors and
destructors would be executed multiple times.
1997-04-09 19:14:31 +00:00
mpp
9bbed0ec57 Check for -1 instead of EOF in the getopt() example.
Submitted by:	Kent Vander Velden
1997-04-09 19:03:14 +00:00
jdp
744407e228 Process "lib/csu/i386" at the beginning of the "libraries" target,
instead of in the middle of it.  Soon, "c++rt0.o" will be linked
into all shared libraries.  An up-to-date version of it must be in
place before any shared libraries are built.

This is one piece of the solution for PR gnu/3035 (gcc -shared).
1997-04-09 18:59:36 +00:00
ache
9949bd676e Ignore SIGPIPE or any user can quit ppp just telnetting to it
and quitting telnet immediately (while phone number dialed)
Log client connection/disconnection with PHASE_BIT now.
Add more error recovery on client disconnection
1997-04-09 17:35:54 +00:00
bde
8c5b669d73 Removed support for OLD_PIPE. <sys/stat.h> is now missing the hack that
supported nameless pipes being indistinguishable from fifos.  We're not
going back.
1997-04-09 16:53:45 +00:00
bde
0317bbaa7a Distinguish fifos from sockets in the S_IS* macros. This is possible now
that nameless pipes are not implemented as sockets.

Don't include <sys/time.h> if KERNEL is defined.  It should already have
been included by including <sys/param.h>.  Fixed a nearby typo.
1997-04-09 16:32:23 +00:00
bde
b531e6bb86 Use ld -f' (actually cc -Wl,-f') at `make depend' time to generate
almost perfect dependencies on crt0's and libraries.  DPADD and
bsd.libnames.mk should go away soon.  Use a new _EXTRADEPEND target
to implement this and to avoid editing of .depend when .depend isn;t
being rebuilt.  The afterdepend target doesn't seem to be good for
anything and is now unused.

Fixed LDDESTDIR for the DESTDIR case when ${SHLIBDIR} != /usr/lib.

Added commented-out -nostdlib to LDDESTDIR for the DESTDIR case.
The wrong libraries may be used without this; however it breaks
linkage to crt0 and libc.
1997-04-09 16:10:27 +00:00
peter
f974471097 Oops. Missed the Complex number add case of code generation.. :-]
Fixes PR#3239.

Submitted by: Takeshi WATANABE <watanabe@crayon.earth.s.kobe-u.ac.jp>
1997-04-09 16:00:07 +00:00
bde
fc5410a0d2 Regenerate (removed unused #includes from ibcs2*_sysent.c). 1997-04-09 15:46:25 +00:00
bde
507a88b451 Removed unused #includes. 1997-04-09 15:44:47 +00:00
bde
7789b67b25 Regenerate (removed unused #includes in linux_sysent.c). 1997-04-09 15:37:04 +00:00
bde
2dad6cdce1 Removed unused #includes. 1997-04-09 15:34:09 +00:00
bde
0bbbf42ba9 Include <sys/buf.h> instead of <sys/vnode.h>. kern_sysctl.c no
longer has anything to do with vnodes and never had anything to do
with buffers, but it needs the definitions of B_READ and B_WRITE
for use with the bogus useracc() interface and was getting them
bogusly due to excessive cleanups in rev.1.49.
1997-04-09 15:23:09 +00:00
se
49ba77ffa0 Mask out revision register in consistency test of class register. 1997-04-09 11:34:50 +00:00
jkh
fc13633668 Reorganize the donor's gallery to include people who've donated
parts to replace freefall.freebsd.org (so that we can use what's currently
there to replace spatter).
1997-04-09 10:34:31 +00:00
se
40e14fad0f Fix spelling of align and interrupt in comments. 1997-04-09 09:16:27 +00:00
se
a783c063ee Fix consistency test to not fail on pre PCI 2.0 motherboards 1997-04-09 09:15:03 +00:00
mpp
8b2ae1155b Document wakeup_one(). 1997-04-09 05:39:32 +00:00
mpp
760778bbe9 Provide examples of how to remove file names that begin with
a dash in non-getopt implementations.  E.g.:
	rm /home/mpp/-filename
	rm ./-filename

Requested by: bde
1997-04-09 05:04:43 +00:00
hanai
0e31a95d50 Catch up with the original.
Submitted by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
1997-04-09 03:05:58 +00:00
mpp
d1efa8f258 Ensure that the remote host name is Nul terminated.
Closes PR# 2589.
1997-04-08 20:36:36 +00:00
mpp
dd5458250f Improve the wording in the NOTES section. Closes PR# 3223. 1997-04-08 20:27:48 +00:00
mpp
cda9b3f2fa Fix a xref.
Obtained from: NetBSD-bus PR# 3464
1997-04-08 20:01:15 +00:00
ache
e71376d204 Fix 8bit chars handling 1997-04-08 13:52:53 +00:00
davidn
2bd0c6c536 Fix for expiration date test. Closes PR#3224. 1997-04-08 12:32:17 +00:00
kato
a380647df5 Added lnc driver. 1997-04-08 12:01:11 +00:00
peter
81248009f2 Missing newline caused too much text to be fed to the macro.
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3228
1997-04-08 10:45:10 +00:00
peter
b9fe2f81dd setsid is declared in <unistd.h>, which is self sufficient (doesn't need
prior <sys/types.h>)

Fixes PR#3229, from Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1997-04-08 10:43:47 +00:00
kato
172bebd714 Enables lnc driver on PC-98 to support NEC SV-98/2-B06 PCI card.
Cascade mode of DMA is disabled when PC98 is defined because PC-98
doesn't support it.
1997-04-08 10:33:24 +00:00
hanai
a4ebddd7b0 Fix the typo about the DEC's NICs
Submitted by: morimitsu@jrdvms.enet.dec.com
1997-04-08 02:28:58 +00:00
hanai
fde6484035 Catch up with the original. 1997-04-08 02:23:27 +00:00
hanai
aa1ac2ed22 Catch up with the original. 1997-04-08 02:13:06 +00:00
hanai
6cd622a905 Catch up with the original.
Submitted by: mihoko@pa.yokogawa.co.j
1997-04-08 02:10:38 +00:00
hanai
14cadb3311 Catch up with the original.
Submitted by: Takashi Saeki <saeki@saskg.semicon.sony.co.jp>
1997-04-08 02:07:24 +00:00
jfieber
f25019011e Latest release is 2.2.1, not 2.1.7. 1997-04-08 00:47:59 +00:00
jdp
edd23b4912 Mention the RELENG_2_2_1_RELEASE for getting FreeBSD-2.2.1. 1997-04-08 00:14:00 +00:00
gibbs
0c6c55f688 Fix an infinite loop caused by calling ahc_run_done queue while the
driver is waiting a bus settle delay.  There should really be a facility
for the controller driver to "freeze" its queue during recovery operations
which would make all of this gymnastics unnecessary.
1997-04-07 18:32:47 +00:00
guido
5b77d8f791 Fix race
Obtained from: Keith Bostic
1997-04-07 18:01:10 +00:00
bde
506312bdd0 Fixed bugs involving paths:
- LDADD was wrong for non-uniform obj trees.
- DPADD was wrong for separate obj tres.

Cleaned up nearby messes, mostly ones invoving paths:
- ../libtxi was useless.
- there were too many redefinitions and too many different names for the
  same paths.
- use INTERNALLIB* to simplify libtxi/Makefile.
1997-04-07 17:21:19 +00:00
bde
7e4f8a5504 Fixed bugs involving paths:
- LDADD was wrong for non-uniform obj trees.
- DPADD was wrong for separate obj tres.

Cleaned up nearby messes, mostly ones invoving paths:
- -I../libtxi was useless.
- there were too many redefinitions and too many different names for the
  same paths.
- use INTERNALLIB* to simplify libtxi/Makefile.
1997-04-07 16:52:53 +00:00
bde
8d6ed2803c Include ${CURDIR}/../Makefile.inc as in most other `.mk' files. This
is most useful for centralizing the definitions of paths to contrib
directories.

Removed useless subshell and evil-hiding @ in the the rule for
initializing the info dir.
1997-04-07 16:46:40 +00:00
peter
e225ab4fac Lower the spl() of the new process from splhigh() right away, since
nothing else will lower it until either much later, or never(?) for
kernel processes.

This basically re-fixes what Bruce fixed in rev 1.29 of kern_fork.c,
which was broken again now the child does not execute back up the fork()
calling tree.
1997-04-07 11:42:09 +00:00
kato
a3b6c4ba1c Synchronize with sys/i386/i386{machdep.c,trap.c} revisions 1.236 and
1.91, respectively.
1997-04-07 11:00:48 +00:00
kato
95df505618 Synchronize with sys/i386/isa/clock.c revision 1.80. 1997-04-07 10:53:14 +00:00
jmg
b328a04930 terminfo_extensions.doc:
o)	fix some typos
	o)	add missing comments from terminfo's man page

termcap.5
	o)	fix some types
	o)	add a reference to terminfo_extensions.doc
1997-04-07 10:24:13 +00:00
peter
6c0a1b1ef6 Remove explicit zero of p_vmspace on creation, it's now in the startzero
section of the proc struct.
1997-04-07 09:38:39 +00:00
peter
26af825031 Move p_vmspace into the startzero section since we've just changed things
and may as well get it over and done with.
1997-04-07 09:35:15 +00:00
peter
0acb9783e3 Use UPAGES_HOLE instead of UPAGES in case it's changed some time.
Rename the PT* index KSTK* #defines to UMAX*, since we don't have a kernel
stack there any more..

These are used to calculate VM_MAXUSER_ADDRESS and USRSTACK, and really
do not want to be changed with UPAGES since BSD/OS 2.x binary compatability
depends on it.
1997-04-07 09:30:22 +00:00
peter
421f37c593 Define UPAGES_HOLE at 2 (same as current UPAGES) in case UPAGES changes
later.  This is used to calculate the top of user address space.
1997-04-07 09:27:21 +00:00
ache
7b1360495d Restore PATH_LOCALE functionality using issetugid() call now 1997-04-07 08:54:38 +00:00