Commit Graph

31266 Commits

Author SHA1 Message Date
John Birrell c9db555954 Don't define RANLIBMAG if building an elf version of make. The RANLIBMAG
option lets make look inside archive libraries when determining if a
library is out-of-date. I don't think that make should look inside
files, so this fix effectively tells it not to. If the decision is
made (by someone else) that make _should_ be doing this, it will need
to be taught how to recognise elf archive libraries.

Problem noticed by: Joseph Koshy <jkoshy@freebsd.org>
1998-09-09 08:29:15 +00:00
Bruce Evans 355a2610a7 Don't use CTL_VFS at the wrong level. This caused loops in the sysctl
tree if CTL_VFS happened to get assigned as a type number to a vfs that
has some vfs sysctls.
1998-09-09 07:41:41 +00:00
Mark Murray 17168bf62e Bring in the Perl5 BMake files. This ends the easy stuff.
I'll be doiung the rest in stages.
1998-09-09 07:20:33 +00:00
Mark Murray 7744993bbc This commit was generated by cvs2svn to compensate for changes in r38980,
which included commits to RCS files with non-trunk default branches.
1998-09-09 07:00:04 +00:00
Mark Murray ff6b7ba98e Initial import of Perl5. The king is dead; long live the king! 1998-09-09 07:00:04 +00:00
Mark Murray bae7411889 Old Perl is leaving us. Goodbye, faithful friend. 1998-09-09 06:49:33 +00:00
John Birrell 2b0daddd6a Add the missing rerelease target back.
Reported by: Justin Gibbs.

Add the move-aout-libs upgrade target so that people who have already
gone elf can put their libraries through the mincer. Anyone who hasn't
deleted aout libraries from /usr/lib (but has done a make world putting
the new aout libs in /usr/lib/aout) will be asked for confirmation
to delete them one by one.
1998-09-09 06:07:32 +00:00
John Birrell 88d37d8d98 Add the missing rerelease target back.
Reported by: Justin Gibbs.
1998-09-09 06:03:51 +00:00
John Birrell 3a823f727e Add a move-aout-libs target to do just that. It takes the well known
library directories: /usr/lib /usr/lib/compat /usr/local/lib and
/usr/X11R6/lib and adds any other directories that ldconfig knows
about, then removes any that are already aout directories (that is,
with aout as a component of the path) and passes this directory
list to the move_aout_libs.sh script to do the hack (believe it,
it moves libraries that are in use) work.
1998-09-09 06:02:31 +00:00
Mark Murray 62dfd75aa2 Another place to set NOPERL. 1998-09-09 06:01:37 +00:00
Mark Murray 5850fb4408 Set NOPERL while I spend the rest of the day bringing in Perl5.
This will doubtless confuse someone, but I'd rather have this than
breakage.
1998-09-09 06:01:11 +00:00
John Birrell 6769808313 Add a note about the upgrade tool directory. 1998-09-09 05:48:51 +00:00
John Birrell 9bade6cc80 A script for use when upgrading an installed system from aout to
elf.
1998-09-09 05:28:18 +00:00
Joseph Koshy 8460e34a1b Fix spurious `free()' when -d g2 is enabled.
PR:		6790
Submitted by:	nsmart <njs3@doc.ic.ac.uk>
1998-09-09 05:15:38 +00:00
Daniel O'Callaghan 087572a597 Fix typos. 1998-09-09 05:09:55 +00:00
Jordan K. Hubbard 9e2594ff29 Some preliminary updates to the release notes, just as I think of
them.  By no means a comprehensive list of all the things which should
eventually go in here before 3.0-RELEASE, nor are the CAM issues
reflected here yet.
1998-09-09 03:37:00 +00:00
Joseph Koshy 1c79dc84fd Add missing comma.
PR:		7841
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-09-09 03:07:03 +00:00
Justin T. Gibbs e79363ba53 Reserve character major 104 for the CAM Transport Layer Services device. 1998-09-09 03:07:02 +00:00
Joseph Koshy 766b5bc0f7 Fix typo.
PR:		7809
Submitted by:	Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
1998-09-09 03:04:53 +00:00
Mike Smith 1717c90cc3 Terminate the defdrives array correctly. (Shame, Rod!)
Submitted by:	Scott Michel <scottm@cs.ucla.edu>
1998-09-09 02:22:28 +00:00
Joseph Koshy 3d2b8efaa1 Add $Id$, remove quoting for `...'.
Requested by: bde
1998-09-09 01:30:25 +00:00
John Polstra cfa4d73988 Add a new library function getobjformat(). It checks all the
standard places ("/etc/objformat", ${OBJFORMAT}, argv) for an
indication of the user's preferred object file format.  This
consolidates some code that was starting to be duplicated in more
and more places.

Use the new function in ldconfig.

Note: I don't think that gcc should use getobjformat(), even though
it could.  The compiler should limit itself to functions that are
widespread, to ease porting and cross-compilation.
1998-09-09 01:21:25 +00:00
Brian Somers 7ac9884afe Initialise lcp::his_mru to the ``set mtu'' value if it's less
than DEF_MRU, allowing our interface mtu to be decreased
despite negotiation with the peer.
1998-09-09 00:03:09 +00:00
Bill Paul 9daef026b1 - If the OACTIVE flag is set on entry to xl_start(), check to see if the
transmitter is wedged. If so, try to unwedge it, process any descriptors
  that might need to be free()d, then proceed.

- Disable the 'background' autonegotiation performed during bootstrap.
  What happens currently is that the driver starts an autoneg session,
  the sets a timeout in the ifnet structure and returns. Later, when the
  timer expires, the watchdog routine calls the autoneg handler to check
  the results of the session. The problem with this is that the session
  may not complete until some point after we have started to mount NFS
  filesystems, which can cause the mounts to fail. This is especially
  troublesome if booting with an NFS rootfs: we need the interface up
  and running before reaching the mountroot() code.

  The default behavior now is to do the autoneg synchronously, i.e. wait
  5 seconds for the autoneg to complete before exiting the driver attach
  routine. People who want the old behavior can compile the driver with
  XL_BACKGROUND_AUTONEG #defined. This has no effect on autoneg sessions
  initiated by 'ifconfig xl0 media autoselect.'

  This slows the probe down a little, but it's either that or botching
  NFS mounts at bootup.

- If xl_setmode_mii() is called and there's an autoneg session in progress,
  cancel it, _then_ set the modes.
1998-09-08 23:42:10 +00:00
Søren Schmidt eeded4d82e Add new atapi-cd driver that supports atapi CD-R/RW drives.
This is only a stop-gab solution to get atapi burner support into 3.0.
1998-09-08 20:57:47 +00:00
Søren Schmidt 1235adff33 Add 'blank' and 'nextwriteable' commands for atapi CD-R/RW support. 1998-09-08 20:51:24 +00:00
John Polstra e17ade2b82 Add definitions for the ELF section attribute flags, SHF_*.
Submitted by:	Robert Nordier <rnordier@nordier.com>
1998-09-08 20:38:06 +00:00
Brian Somers 8aa2558802 Make PCIC_RESUME_RESET an proper option.
My laptop (a CTX Cybernote) needs this.  It claims to have a

  PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
1998-09-08 18:09:51 +00:00
David E. O'Brien c304ad8a23 Add support for the RPC 64-bit integer type ``hyper''. 1998-09-08 17:33:12 +00:00
Bruce Evans 9754189a91 Oops, don't assume that the environment is normal in devfs_mount().
It isn't for the hidden mountpoint.  The static vfs's haven't been
attached then, so mp->mnt_vfc can't be valid.
1998-09-08 16:59:37 +00:00
Martin Cracauer 135421ddbf If traps are set, they are now executed even when a signal-blocking
foreground child is running. Formerly, traps were exceuted after the
next child exit.

The enables the user to put a breaking wrapper around a blocking
application:
  (trap 'echo trap ; exit 1' 2; ./pestyblocker; echo -n)

The "echo -n" after the child call is needed to prevent sh from
optimizing the trap-executing shell away. I'm working on this.
1998-09-08 13:16:52 +00:00
Andrzej Bialecki 9f82b53c95 Update the diffs against current source + some other cleanup. 1998-09-08 12:47:35 +00:00
Jordan K. Hubbard 5d7e166f85 Whoops, update the makefile too while I'm at it. 1998-09-08 11:44:37 +00:00
Jordan K. Hubbard dac9272725 Go back to using MSDOSFS instead of Robert Nordier's stand-alone DOS
library.  I have to include MSDOSFS on the boot floppy anyway (so I can
read DOS floppies in a few other contexts) and since both -stable and
-current MSDOSFS handle long filenames, I'm OK on that now.  Should
save about 10K of space.
1998-09-08 11:44:08 +00:00
Jordan K. Hubbard aa75b0b778 Make totally sure that we have the latest 1.7 version of booteasy
(it looked like it already to me, but the PR gives me cause to wonder).
PR:		2514
1998-09-08 10:46:40 +00:00
Jordan K. Hubbard 8c26c30381 o Set paths internally for pkg_add for tools we might want to invoke.
o Fix bogus suffix handling.
o Tell user when an FTP url is being xferred rather than being silent.
  This sort of violates "the unix way" but it stops people from whacking
  ^C when they think it's hung, too.  Sometimes visual indication of
  success is important.  Doesn't spit out anything if not on a TTY.
1998-09-08 10:42:26 +00:00
KATO Takenori 9df3bd9208 Sync with sys/i386/isa/clock.c revision 1.125. 1998-09-08 09:47:46 +00:00
Doug Rabson 5e618ef5c8 Fix a cut&paste error which prevented LD_BIND_NOW from working. 1998-09-08 09:47:35 +00:00
KATO Takenori ddf7a8ea87 Sync with sys/i386/i386/userconfig.c revision 1.107. 1998-09-08 09:47:09 +00:00
Andrey A. Chernov 7f41a65ede restore rev 1.23 to give clear SIGALRM handling example, 68 years
are too long to affect real code
1998-09-08 09:44:46 +00:00
Luigi Rizzo ac38e6e338 fix a problem with our definition of SNDCTL_DSP_GETBLKSIZE, to let
the FreeBSD x11amp work (same as in -stable)
1998-09-08 07:21:00 +00:00
Andrzej Bialecki 37877c0650 Add info on PicoBSD being a part of FreeBSD source tree. 1998-09-08 06:35:43 +00:00
Andrzej Bialecki b18449d30d Sync help files with actual contents of "dial" floppy. 1998-09-08 06:04:41 +00:00
Jordan K. Hubbard 4a641d8eeb Fix bogus suffix stripping to be less naive.
PR:		3418
Noted by:	pst
1998-09-08 03:15:41 +00:00
Jordan K. Hubbard 62203a9ce5 Fail as documented when a dependency cannot be found
PR:		7318
Submitted by:	djv@bedford.net
1998-09-08 03:02:45 +00:00
Joseph Koshy 434f577807 Use ellipsis in the synopsis, and an appropriate explanation in
the text of the manual page.

Suggested by: bde
1998-09-08 02:02:50 +00:00
Jordan K. Hubbard 6b94cd72da Do an installworld rather than install to populate the chroot tree.
Recommended by:	jb
1998-09-07 23:55:22 +00:00
John Polstra 5584f22bb3 Make profiling work for ELF. gprof now autodetects the format of
the executable file, so it will work for both a.out and ELF format
files.  I have split the object format specific code into separate
source files.  It's cleaner than it was before, but it's still
pretty crufty.

Don't cheat on your make world for this update.  A lot of things
have to be rebuilt for it to work, including the compiler and all
of the profiled libraries.
1998-09-07 23:32:00 +00:00
Steve Price bbfd144724 Make the builtin unix macro work as it should (well like Solaris's,
GNU's, and OSF1's).
1998-09-07 22:09:13 +00:00
Alexander Langer cecc7b0974 Removed unused variables. 1998-09-07 21:55:01 +00:00