]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoo Fix a few comment typos.
brian [Thu, 12 Mar 1998 02:23:42 +0000 (02:23 +0000)]
o Fix a few comment typos.
o Fix ``set timeout'' usage message and documentation.
o Change ifOutPackets, ifOutOctets and ifOutLQRs to `u_int32_t's
  so that they wrap correctly.
o Put the LQR in network byte order using the correct struct size
  (sizeof u_int32_t, not sizeof u_long).
o Wrap LQR ECHO counters correctly.
o Don't increment OutLQR count if the last LQR hasn't been replied
  to.
o Initialise HisLqrData (last received LQR) in StartLqm.
o Don't start the LQR timer if we're `disabled' and `accepted'.
o Generate LQR responses when both sides are using a timer and
  we're not going to send our next LQR before the peers max timeout.

LQR should now be fully functional.

26 years agoUpdate man page to note that idleprio can't be used by normal
jkh [Thu, 12 Mar 1998 01:29:12 +0000 (01:29 +0000)]
Update man page to note that idleprio can't be used by normal
users either.

26 years agoPut a -DBOOTSTRAP in the make flags for the lib-tools so that the
jb [Wed, 11 Mar 1998 21:00:49 +0000 (21:00 +0000)]
Put a -DBOOTSTRAP in the make flags for the lib-tools so that the
crt objects built during that phase don't try to find FreeBSD specific
headers. This causes the rtld to be left out, but that's OK because
at this stage, the programs are linked statically anyway.

When the libraries are built, the crt objects will be built with
the FreeBSD tools and compiled against the FreeBSD headers, so that's
the time when the rtld support cuts in.

26 years agoNuke crti.o from the STARTFILE_SPEC again. No asm code is needed on alpha.
jb [Wed, 11 Mar 1998 20:56:24 +0000 (20:56 +0000)]
Nuke crti.o from the STARTFILE_SPEC again. No asm code is needed on alpha.

Add the define that lets gas know how to ".set" and enable pragmas
so that #pragma weak will work.

26 years agoidprio processes must be preempted as soon as anything is runnable.
dufault [Wed, 11 Mar 1998 20:50:42 +0000 (20:50 +0000)]
idprio processes must be preempted as soon as anything is runnable.

26 years agoBring these back from the dead.
jb [Wed, 11 Mar 1998 20:48:57 +0000 (20:48 +0000)]
Bring these back from the dead.

26 years agoDon't share sources with i386-elf. That was too difficult. 8-(
jb [Wed, 11 Mar 1998 20:41:55 +0000 (20:41 +0000)]
Don't share sources with i386-elf. That was too difficult. 8-(

Add a bootstrap mode so that non-rtld versions of these objects can
be built when bootstrapping the system with NetBSD tools, headers
and libraries. Once the FreeBSD tools are built, the FreeBSD headers
are installed and *then* these objects can be recompiled with the
rtld references. Phew.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r34484,
jb [Wed, 11 Mar 1998 20:36:11 +0000 (20:36 +0000)]
This commit was generated by cvs2svn to compensate for changes in r34484,
which included commits to RCS files with non-trunk default branches.

26 years agoSharing the crt sources with i386-elf wasn't too successful. The crti
jb [Wed, 11 Mar 1998 20:36:11 +0000 (20:36 +0000)]
Sharing the crt sources with i386-elf wasn't too successful. The crti
asm code didn't link the way it was supposed to and the calling convention
for the entry "function" turned out to be very different. On alpha
it's a true function, but on i386 it's a fudge. Blech.

So jdp suggested keeping separate sets of source and avoiding lots
of #ifdefs. These files are based on his i386-elf code, with crt1.c
borrowing code from NetBSD's crt0. The copyright reflects that.

Complicating matters, the code turned out to be difficult to bootstrap
build using NetBSD tools. To compile against the FreeBSD rtld header
requires FreeBSD specific headers, but these can't be installed until
the tools are built, and they can't be built without the FreeBSD crt
objects. Anal retentive. So I introduced a HAVE_RTLD #define that isn't
set during the build process until all the tools are built and the
headers installed.

26 years agoTweak from the cvs sources just after the 1.9.26 release:
peter [Wed, 11 Mar 1998 09:30:51 +0000 (09:30 +0000)]
Tweak from the cvs sources just after the 1.9.26 release:
  1998-03-07  Tim Pierce  <twp@skepsis.com>
    * rcs.c (RCS_checkout): Negation bug when checking out symlinks:
    existence_error should be !existence_error.

This shouldn't cause any major merge problems later.

26 years agoAdd EISA support for DPT drivers
julian [Wed, 11 Mar 1998 00:30:16 +0000 (00:30 +0000)]
Add EISA support for DPT drivers
Submitted by: Matthew Dodd
Reviewd by: shimon@simon-shapiro.org (DPT author)

26 years agoIf the root mount fails from a device that is not the compatability slice
msmith [Wed, 11 Mar 1998 00:10:31 +0000 (00:10 +0000)]
If the root mount fails from a device that is not the compatability slice
of a disk, because that slice does not exist, try again mounting from the
compatability slice.

This handles the case where a disk has been initialised by 'disklabel
auto', which places a bogus and invalid slice entry on the disk.
The bootstrap is not smart enough to reject this slice, and pretends to
boot from it.  Believing the the bootstrap at this point is unwise.

Booting from non-'wd' disks thus prepared is still broken, as
'disklabel -rwB xdN auto' does not initialise the disk type field, and
the bootstrap mistakenly claims that the disk is handled by 'wd'.

Behaviour is now consistent with DEVFS expected characteristics.

26 years agoUpdate the blurb at the top of the script that describes where the
jb [Tue, 10 Mar 1998 20:25:17 +0000 (20:25 +0000)]
Update the blurb at the top of the script that describes where the
port is up to and that to do.

Change MACHINE to MACHINE_ARCH so that a symlink can be created to this
file and have the bootstrap work for other NetBSD ports.

Make the csu directory non-optional and build it immediately after
building gcc which *needs* the new csu files. The link spec for gcc
on FreeBSD/Alpha differs from the NetBSD/Alpha version. I decided that
since this is FreeBSD, it should have a FreeBSD flavour and it makes sense
to keep compatibility with other FreeBSD implementations - in this case
FreeBSD/i386-elf.

26 years agomktemp -> mkstemp as pointed out on bugtraq
guido [Tue, 10 Mar 1998 19:43:27 +0000 (19:43 +0000)]
mktemp -> mkstemp as pointed out on bugtraq
Obtained from: Theo de Raadt

26 years agoRemove test sub-directory.
jraynard [Tue, 10 Mar 1998 19:28:47 +0000 (19:28 +0000)]
Remove test sub-directory.

26 years agoMF22: don't snip SYSVSHM
jkh [Tue, 10 Mar 1998 17:29:44 +0000 (17:29 +0000)]
MF22: don't snip SYSVSHM

26 years agoCorrect misfeature with quoting, better error reporting.
jkh [Tue, 10 Mar 1998 17:24:08 +0000 (17:24 +0000)]
Correct misfeature with quoting, better error reporting.

26 years agoDocument options policy.
eivind [Tue, 10 Mar 1998 15:55:38 +0000 (15:55 +0000)]
Document options policy.

Reviewed by: bde

26 years agoChange PMAP_SHPGPERPROC to not be equal to the default, for the
eivind [Tue, 10 Mar 1998 15:42:13 +0000 (15:42 +0000)]
Change PMAP_SHPGPERPROC to not be equal to the default, for the
benefit of bde's "unused include files" script.

Requested by: bde

26 years agoindicate ability to support the PerservePermissions stuff
peter [Tue, 10 Mar 1998 14:12:09 +0000 (14:12 +0000)]
indicate ability to support the PerservePermissions stuff

26 years agoadd new file (hardlink.c) into sources
peter [Tue, 10 Mar 1998 14:00:59 +0000 (14:00 +0000)]
add new file (hardlink.c) into sources

26 years agoMerge changes from vendor branch into mainline
peter [Tue, 10 Mar 1998 13:58:02 +0000 (13:58 +0000)]
Merge changes from vendor branch into mainline

26 years agoMF22: installEnvironment() fix, reshuffle, vidcontrol on correct vty.
jkh [Tue, 10 Mar 1998 13:42:05 +0000 (13:42 +0000)]
MF22: installEnvironment() fix, reshuffle, vidcontrol on correct vty.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r34461,
peter [Tue, 10 Mar 1998 13:40:57 +0000 (13:40 +0000)]
This commit was generated by cvs2svn to compensate for changes in r34461,
which included commits to RCS files with non-trunk default branches.

26 years agoImport cvs-1.9.26 onto vendor branch
peter [Tue, 10 Mar 1998 13:40:57 +0000 (13:40 +0000)]
Import cvs-1.9.26 onto vendor branch

26 years agoSync with sys/i386/i386/userconfig.c revision 1.103.
kato [Tue, 10 Mar 1998 12:52:55 +0000 (12:52 +0000)]
Sync with sys/i386/i386/userconfig.c revision 1.103.

26 years agoSync with sys/i386/conf/options.i386 revision 1.76.
kato [Tue, 10 Mar 1998 12:48:57 +0000 (12:48 +0000)]
Sync with sys/i386/conf/options.i386 revision 1.76.

26 years agoFree the vnode in the failure case of vop_symlink()
julian [Tue, 10 Mar 1998 09:12:19 +0000 (09:12 +0000)]
Free the vnode in the failure case of vop_symlink()
Suggested by: Michaelh@cet.co.jp

26 years agoAdd bktr and pcm entries by popular request. Also use more canonical
jkh [Tue, 10 Mar 1998 08:03:47 +0000 (08:03 +0000)]
Add bktr and pcm entries by popular request.  Also use more canonical
reference to [ENTER] in the docs rather than [RETURN].

26 years agoTrash startup sources from NetBSD in favour of jdp's FreeBSD source
jb [Tue, 10 Mar 1998 07:04:18 +0000 (07:04 +0000)]
Trash startup sources from NetBSD in favour of jdp's FreeBSD source
now that has been committed.

The makefile is derived from the i386-elf version, modified to pick
up most of the source (except crt1.c) from i386-elf. With minor changes
to i386-elf/crt1.c, this directory can be combined with i386-elf to
be a single csu/elf directory for all seasons.

26 years agoImport a sanitized version of jdp's crt1.c from i386-elf. I have removed
jb [Tue, 10 Mar 1998 06:56:16 +0000 (06:56 +0000)]
Import a sanitized version of jdp's crt1.c from i386-elf. I have removed
the rtld code pending implementation on the alpha.

The csu/i386-elf should be renamed as csu/elf and this directory
trashed. Consider this a temporary implementation.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r34452,
jb [Tue, 10 Mar 1998 06:56:16 +0000 (06:56 +0000)]
This commit was generated by cvs2svn to compensate for changes in r34452,
which included commits to RCS files with non-trunk default branches.

26 years agoChange the LINK_SPEC to specify the same runtime loader as used on
jb [Tue, 10 Mar 1998 06:47:14 +0000 (06:47 +0000)]
Change the LINK_SPEC to specify the same runtime loader as used on
i386-elf because that is what will be used for FreeBSD/Alpha.

Change the STARTFILE_SPEC to match the non-aout version of i386 so
that the csu files can be built in exactly the same way as i386-elf.
This means that FreeBSD/Alpha departs from NetBSD/Alpha which uses
crt0 and crtbegin/crtend. Since i386-aout uses crt0, I guess it was
decided that i386-elf should use crt1. i386-elf also references
crti and with this change, so does FreeBAS/Alpha.

I think it is important for FreeBSD to have a consistent implementation
across architectures and since ELF is quite compatible (ignoring
differences in 32 and 64 bits), gcc might as well be configured the
same.

Another change is that the entry symbol is _start, not __start as
in NetBSD.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r34448,
peter [Tue, 10 Mar 1998 05:20:58 +0000 (05:20 +0000)]
This commit was generated by cvs2svn to compensate for changes in r34448,
which included commits to RCS files with non-trunk default branches.

26 years agoImport intial version of an a.out/elf tool wrapper/selector. It is
peter [Tue, 10 Mar 1998 05:20:58 +0000 (05:20 +0000)]
Import intial version of an a.out/elf tool wrapper/selector.  It is
not active yet, just a work-in-progress.

26 years agocksum does a 32-bit checksum, so it needs to use u_int32_t variables,
jb [Tue, 10 Mar 1998 05:03:49 +0000 (05:03 +0000)]
cksum does a 32-bit checksum, so it needs to use u_int32_t variables,
not u_long. With this change, cksum stops core dumping on alpha (not
a good sign!) and actually computes the same values as it does on i386.

26 years agoUpdate to XFree86 3.3.2
jkh [Tue, 10 Mar 1998 02:37:42 +0000 (02:37 +0000)]
Update to XFree86 3.3.2

26 years agoUpdate to XFree86 3.3.2 - I had to remove the entries for the VFB and
jkh [Tue, 10 Mar 1998 02:37:29 +0000 (02:37 +0000)]
Update to XFree86 3.3.2 - I had to remove the entries for the VFB and
PRT servers since the extra PC98 servers have eaten all my flag bits.
Time to redo the way distribution masks are calculated, definitely, but
for now I guess people can always install those two components by hand
if they really want them.

26 years agoCorrect a problem with the ffs_getpages routine that manifest's itself
dyson [Mon, 9 Mar 1998 22:12:52 +0000 (22:12 +0000)]
Correct a problem with the ffs_getpages routine that manifest's itself
during the tail command.  The amount to read is incorrectly calculated.
Submitted by: Tor Egge

26 years agoTurn "PMAP_SHPGPERPROC" into a new-style option, add it to LINT, and
eivind [Mon, 9 Mar 1998 22:09:13 +0000 (22:09 +0000)]
Turn "PMAP_SHPGPERPROC" into a new-style option, add it to LINT, and
document it there.

26 years agoset timeout to 4 hours, large disks take a long time to low level format.
andreas [Mon, 9 Mar 1998 21:54:20 +0000 (21:54 +0000)]
set timeout to 4 hours, large disks take a long time to low level format.

26 years agoSlightly more correct initialisation of the new buf struct for soft-updates.
julian [Mon, 9 Mar 1998 20:39:26 +0000 (20:39 +0000)]
Slightly more correct initialisation of the new buf struct for soft-updates.
Submitted by: Chris Csanady <ccsanady@friley585.res.iastate.edu>
Suggested by: Kirk McKusick

26 years agoRemove deprecated XIG support - that project never
jkh [Mon, 9 Mar 1998 15:01:02 +0000 (15:01 +0000)]
Remove deprecated XIG support - that project never
happened.

26 years agoMake this compile after soft updates integration.
eivind [Mon, 9 Mar 1998 14:46:57 +0000 (14:46 +0000)]
Make this compile after soft updates integration.

LINTing forgotten by: julian

26 years agoFix RFC number 1544 -> 1644
ache [Mon, 9 Mar 1998 14:24:21 +0000 (14:24 +0000)]
Fix RFC number 1544 -> 1644

26 years agoEliminate duplicated lines.
jkh [Mon, 9 Mar 1998 11:13:17 +0000 (11:13 +0000)]
Eliminate duplicated lines.
PR: 5956
Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.j>

26 years agoAdd man page for the bktr driver.
jkh [Mon, 9 Mar 1998 10:56:22 +0000 (10:56 +0000)]
Add man page for the bktr driver.
PR: 5954
Submitted by: wlloyd@mpd.ca (with tweaks from reviewer)

26 years agoMake FPU_ERROR_BROKEN a new-style option.
kato [Mon, 9 Mar 1998 10:17:13 +0000 (10:17 +0000)]
Make FPU_ERROR_BROKEN a new-style option.

26 years agoComplement diagnostic messages about missing per-FS VOP page operations,
msmith [Mon, 9 Mar 1998 08:58:53 +0000 (08:58 +0000)]
Complement diagnostic messages about missing per-FS VOP page operations,
but don't make their absence fatal.
Submitted by: terry

26 years agoMake a /var/run directory before starting ppp so that it doesn't
jkh [Mon, 9 Mar 1998 08:57:22 +0000 (08:57 +0000)]
Make a /var/run directory before starting ppp so that it doesn't
complain.

26 years agoAllow -R and -h to be combined as long as no symlink-following flags
jkh [Mon, 9 Mar 1998 08:54:31 +0000 (08:54 +0000)]
Allow -R and -h to be combined as long as no symlink-following flags
are also requested.
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

26 years agoDocument rarpd flags.
jkh [Mon, 9 Mar 1998 08:50:59 +0000 (08:50 +0000)]
Document rarpd flags.

26 years agoAllow rarpd to be started from rc.conf
jkh [Mon, 9 Mar 1998 08:50:30 +0000 (08:50 +0000)]
Allow rarpd to be started from rc.conf
PR: 5457
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

26 years agoMF22: nuke compat slice for root.
jkh [Mon, 9 Mar 1998 08:39:46 +0000 (08:39 +0000)]
MF22: nuke compat slice for root.

26 years ago"Correct behaviour" involves being consistent with the canonical names of
msmith [Mon, 9 Mar 1998 08:35:33 +0000 (08:35 +0000)]
"Correct behaviour" involves being consistent with the canonical names of
other partitions.  In this case, they appear in the first slice in the
WHOLE_DISK_SLICE case.

26 years agoMerge from 2.2; behave correctly in the presence of a slice number that
msmith [Mon, 9 Mar 1998 08:10:21 +0000 (08:10 +0000)]
Merge from 2.2; behave correctly in the presence of a slice number that
doesn't directly correspond to the slice field in the device minor number.

26 years agoNearly missed this one.
jb [Mon, 9 Mar 1998 07:36:56 +0000 (07:36 +0000)]
Nearly missed this one.

List non-default asm sources in MDASM so that they replace the defaults.

For funny or incomplete syscalls, list them in NOASM to stop them
from getting built as defaults.

26 years agoAdd #include <unistd.h> to get the prototype for __syscall().
jb [Mon, 9 Mar 1998 07:27:58 +0000 (07:27 +0000)]
Add #include <unistd.h> to get the prototype for __syscall().

Cast to long before casting to a void ptr to shut up gcc.

26 years agoYikes, this is the worst of the lot. Bruce suggested doing this (!).
jb [Mon, 9 Mar 1998 07:22:12 +0000 (07:22 +0000)]
Yikes, this is the worst of the lot. Bruce suggested doing this (!).

Include the architecture specific sys makefile like previously, but
what this contains differs. It defines MDASM which list architecture
specific asm code that *replaces* syscalls of the same name defined
in MIASM (which gets defined by the syscall.mk or netbsd_syscall.mk
dependent of NETBSD_SYSCALLS being defined). If a syscall has a
C source implementation or something funny done to it, or just doesn't
need default asm source generated for it, then it is listed in NOASM.

syscall.mk is generated by makesyscalls.sh with other syscall files.
netbsd_syscall.mk is a hand-generated equivalent. So if a new syscall
is added and no other makefiles are edited, it will automatically have
the default asm source generated for it (whether you want it or not).

Anything listed in MDASM gets added to SRCS and gets built. For
each syscall name in MIASM, if it doesn't exist in MDASM or NOASM,
it gets added to the ASM or ASMR lists to have code generated for it.
If the syscall name was listed in HIDDEN_SYSCALLS (intended for use
by libc_r, not libc which has it defined, but empty), then the name
is added to the ASMR list and gets renamed before being built;
otherwise it is added to the ASM list and gets built with the same
name.

I wonder if this is too complicated. But it works on both i386 and alpha.

26 years agoFunction to return a pointer to the non-threaded errno. This is declared
jb [Mon, 9 Mar 1998 07:09:55 +0000 (07:09 +0000)]
Function to return a pointer to the non-threaded errno. This is declared
with a weak symbol so that it won't be linked when linking against
libc_r or libpthread.

26 years agoCompatibility functions for use when __NETBSD_SYSCALLS is defined.
jb [Mon, 9 Mar 1998 07:07:21 +0000 (07:07 +0000)]
Compatibility functions for use when __NETBSD_SYSCALLS is defined.

26 years agoOops, we don't need NetBSD's malloc 'cause we can turn off utrace
jb [Mon, 9 Mar 1998 07:03:06 +0000 (07:03 +0000)]
Oops, we don't need NetBSD's malloc 'cause we can turn off utrace
in phk's malloc.

26 years agoNetBSD doesn't have a utrace syscall, so don't define that if
jb [Mon, 9 Mar 1998 07:00:38 +0000 (07:00 +0000)]
NetBSD doesn't have a utrace syscall, so don't define that if
__NETBSD_SYSCALLS is defined.

26 years agoWhen forking a process, only the running thread gets to live. All
jb [Mon, 9 Mar 1998 06:54:50 +0000 (06:54 +0000)]
When forking a process, only the running thread gets to live. All
other threads never see the light of day and if they leave things
locked, blame POSIX.

26 years agoAdded #include <string.h> to get prototypes.
jb [Mon, 9 Mar 1998 06:51:23 +0000 (06:51 +0000)]
Added #include <string.h> to get prototypes.

26 years agoChange MACHINE to MACHINE_ARCH.
jb [Mon, 9 Mar 1998 06:48:25 +0000 (06:48 +0000)]
Change MACHINE to MACHINE_ARCH.

Add _spinlock.c (stubs) to sources.

Nuke tahoe and vax.

26 years agoStub functions for thread locking with weak symbols so that they are
jb [Mon, 9 Mar 1998 06:46:21 +0000 (06:46 +0000)]
Stub functions for thread locking with weak symbols so that they are
only linked when not linking an application against libc_r or libpthread.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r34375,
jb [Mon, 9 Mar 1998 06:34:43 +0000 (06:34 +0000)]
This commit was generated by cvs2svn to compensate for changes in r34375,
which included commits to RCS files with non-trunk default branches.

26 years agoImport sources from NetBSD, tweaked for building in FreeBSD.
jb [Mon, 9 Mar 1998 06:34:43 +0000 (06:34 +0000)]
Import sources from NetBSD, tweaked for building in FreeBSD.

26 years agoMACHINE -> MACHINE_ARCH
jb [Mon, 9 Mar 1998 06:24:02 +0000 (06:24 +0000)]
MACHINE -> MACHINE_ARCH

26 years agoDefine empty variables in case no names are added to them. This avoids
jb [Mon, 9 Mar 1998 06:21:41 +0000 (06:21 +0000)]
Define empty variables in case no names are added to them. This avoids
substitution errors for variables that don't exist.

If a machine architecture dependent makefile exists, include it
to discover if libc or libc_r is being built with NetBSD syscalls
instead of FreeBSD ones.

Put a NO_QUAD thingy around the quad makefile so that 64-bit
architectures can ignore that sh*t.

In the test for MDSRCS being empty, add all MISRCS to SRCS, rather
than just ignoring them.

26 years agoAdd an include path to private linc/libc_r/libpthread header files.
jb [Mon, 9 Mar 1998 06:16:38 +0000 (06:16 +0000)]
Add an include path to private linc/libc_r/libpthread header files.

Define the HIDDEN_SYSCALLS macro as empty because libc doesn't have
renamed syscalls. This avoids an undefined macro error when
libc/sys/Makefile.inc goes to look though it. HIDDEN_SYSCALLS is
used by the equivalent makefile to this one in lib/libc_r to list
those syscalls that it needs to rename so that libc_r can provide
replacement functions.

26 years agoWe want ld in /usr/bin, not some weird and wonderful hiding place
jb [Mon, 9 Mar 1998 06:07:27 +0000 (06:07 +0000)]
We want ld in /usr/bin, not some weird and wonderful hiding place
that might be inspired by some creation from Intel. Doh.

26 years agoUpdates to reflect differences in what NetBSD does and what FreeBSD
jb [Mon, 9 Mar 1998 05:53:13 +0000 (05:53 +0000)]
Updates to reflect differences in what NetBSD does and what FreeBSD
userland expects.

26 years agoImport NetBSD/Alpha headers needed to get the FreeBSD userland to compile
jb [Mon, 9 Mar 1998 05:43:16 +0000 (05:43 +0000)]
Import NetBSD/Alpha headers needed to get the FreeBSD userland to compile
(and even run). These files don't necessarily make sense for a
FreeBSD/Alpha kernel build. That will come later and these files
will be changed accordingly.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r34368,
jb [Mon, 9 Mar 1998 05:43:16 +0000 (05:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r34368,
which included commits to RCS files with non-trunk default branches.

26 years agoReviewed by: mike@smith.net.au
hosokawa [Mon, 9 Mar 1998 05:18:59 +0000 (05:18 +0000)]
Reviewed by: mike@smith.net.au
Submitted by: nate@mt.sri.com
Removed global variables. (and style(9) fix.)

26 years agoAdd lib/libc/include as an directory to search for header files.
jb [Mon, 9 Mar 1998 05:09:43 +0000 (05:09 +0000)]
Add lib/libc/include as an directory to search for header files.

Change MACHINE references to MACHINE_ARCH.

Declare the names of the syscalls that need to be renamed to allow
for the functions that libc_r provides replacements for. This list
used to be in lib/libc/sys/Makefile.inc, but has been moved here
to keep that makefile tidy and remove the temptation for people to
add things to the list without adding a libc_r replacement function.

26 years agoAdd a private (to libc, libc_r and libpthread) header file containing
jb [Mon, 9 Mar 1998 05:05:32 +0000 (05:05 +0000)]
Add a private (to libc, libc_r and libpthread) header file containing
prototypes for the spinlock functions that will be used for thread locks.
libc will have stubs declared with weak symbols. libpthread and libc_r
will have functions that really do something.

26 years agoBoth our a.out (hacked) gas and the binutils gas support .weak
peter [Mon, 9 Mar 1998 04:47:58 +0000 (04:47 +0000)]
Both our a.out (hacked) gas and the binutils gas support .weak

Prompted by: bde

26 years agoAdd FreeBSD/Alpha code to initialise a jmpbuf for a created thread.
jb [Mon, 9 Mar 1998 04:46:26 +0000 (04:46 +0000)]
Add FreeBSD/Alpha code to initialise a jmpbuf for a created thread.
Change a bunch of __alpha references to __alpha__.

26 years agoThese files are very specific to FreeBSD kernels, so silently compile
jb [Mon, 9 Mar 1998 04:42:19 +0000 (04:42 +0000)]
These files are very specific to FreeBSD kernels, so silently compile
no code when building a library with __NETBSD_SYSCALLS defined.

26 years agoNetBSD implements semctl using a __semctl syscall instead of the
jb [Mon, 9 Mar 1998 04:39:13 +0000 (04:39 +0000)]
NetBSD implements semctl using a __semctl syscall instead of the
semsys syscall that FreeBSD kernels use. Grumble. So make the call
dependent on if __NETBSD_SYSCALLS is defined.

26 years agogetvfsbyname() doesn't existing NetBSD, so return ENOSYS if compiled
jb [Mon, 9 Mar 1998 04:36:07 +0000 (04:36 +0000)]
getvfsbyname() doesn't existing NetBSD, so return ENOSYS if compiled
into a library with __NETBSD_SYSCALLS defined.

26 years agoChange a variable to type size_t to suit the sysctl prototype.
jb [Mon, 9 Mar 1998 04:34:16 +0000 (04:34 +0000)]
Change a variable to type size_t to suit the sysctl prototype.

Add #include <string.h> to get prototypes.

26 years agoCast pointer to a long instead of an int to keep a 64-bit compiler
jb [Mon, 9 Mar 1998 04:29:00 +0000 (04:29 +0000)]
Cast pointer to a long instead of an int to keep a 64-bit compiler
happy. The code works either way, but I like a clean compile.

26 years agoOnly do a.out/elf switching on i386 family
peter [Mon, 9 Mar 1998 04:13:31 +0000 (04:13 +0000)]
Only do a.out/elf switching on i386 family

26 years agoAdd a file generated by makesyscalls.sh to the same directory that
jb [Mon, 9 Mar 1998 04:05:45 +0000 (04:05 +0000)]
Add a file generated by makesyscalls.sh to the same directory that
the other syscall files are generated into. This new file is to be
included by src/lib/libc/sys/Makefile.inc to automatically pick up
syscall names.

The other file, netbsd_syscall.mk, is the hand-generated NetBSD
equivalent to be included by src/lib/libc/sys/Makefile.inc when
_NETBSD_SYSCALLS is defined during the build of libc/libc_r.

26 years agoAdd statements to generate a sys/syscall.mk file for inclusion
jb [Mon, 9 Mar 1998 04:00:42 +0000 (04:00 +0000)]
Add statements to generate a sys/syscall.mk file for inclusion
during the libc/libc_r to automatically pick up syscall names on
the assumption that default asm code needs to generated for them.

In the up-coming changes to the libc makefiles, there is the option
to provide a machine dependent asm source file which will turn off
the automatic generation of the default. There is also an option
to just stop code being generated for a syscall. In most cases,
though, the default asm code is all that is required, so this
change makes that the most convenient was to do business.

Idea suggested by: bde

26 years agoThis commit was generated by cvs2svn to compensate for changes in r34351,
jb [Mon, 9 Mar 1998 03:38:19 +0000 (03:38 +0000)]
This commit was generated by cvs2svn to compensate for changes in r34351,
which included commits to RCS files with non-trunk default branches.

26 years agoImport an extra source file from binutils 2.8.1 that is included on
jb [Mon, 9 Mar 1998 03:38:19 +0000 (03:38 +0000)]
Import an extra source file from binutils 2.8.1 that is included on
alpha.

26 years agoAdd a FreeBSD entry for alpha-elf.
jb [Mon, 9 Mar 1998 03:34:53 +0000 (03:34 +0000)]
Add a FreeBSD entry for alpha-elf.

26 years agoDon't disable the use of $ in assembler labels.. It changes libstdc++
peter [Mon, 9 Mar 1998 03:26:57 +0000 (03:26 +0000)]
Don't disable the use of $ in assembler labels..  It changes libstdc++
and libg++ so that they won't work with existing binaries (including
netscape!!).

26 years agoCorrect an ethernet framesize mismatch that caused poor
steve [Mon, 9 Mar 1998 03:07:54 +0000 (03:07 +0000)]
Correct an ethernet framesize mismatch that caused poor
device performance among other things.

PR: 4989, 5910
Submitted by: Yoshikazu Goto <gotoh@ae.anritsu.co.jp>

26 years agoRemove extraneous trailing \'s.
steve [Mon, 9 Mar 1998 03:01:47 +0000 (03:01 +0000)]
Remove extraneous trailing \'s.

PR: 5949
Submitted by: Studded@dal.net

26 years agoRemove duplicate entries by changing tcp -> udp.
steve [Mon, 9 Mar 1998 02:56:21 +0000 (02:56 +0000)]
Remove duplicate entries by changing tcp -> udp.

PR: 2882

26 years agoTypo fixes.
jkh [Mon, 9 Mar 1998 02:21:17 +0000 (02:21 +0000)]
Typo fixes.
PR: 5951
Submitted by: Doug <Studded@dal.net>

26 years agoNuke ircd entries - nobody can agree on what constitutes a reasonable
jkh [Mon, 9 Mar 1998 02:16:58 +0000 (02:16 +0000)]
Nuke ircd entries - nobody can agree on what constitutes a reasonable
range for them and I'm %&#$%@! sorry I ever added them in the first place.

26 years agoImport of alpha specific bits to configure binutils for FreeBSD/Alpha.
jb [Mon, 9 Mar 1998 00:33:28 +0000 (00:33 +0000)]
Import of alpha specific bits to configure binutils for FreeBSD/Alpha.
Other changes that affect the i386-elf work are on hold to avoid
stuffing up other work in progress.

26 years agoThis commit was generated by cvs2svn to compensate for changes in r34336,
jb [Mon, 9 Mar 1998 00:33:28 +0000 (00:33 +0000)]
This commit was generated by cvs2svn to compensate for changes in r34336,
which included commits to RCS files with non-trunk default branches.