Commit Graph

16482 Commits

Author SHA1 Message Date
dg
eefb56463e Implemented a more sophisticated mechanism for finding the chip iobase
so that 32Y boards will work.
Fixed bogus indenting and added a pair of parens.
1996-10-04 10:33:13 +00:00
peter
5ba3a9a5ed To the Attic we go.. 1996-10-04 09:02:59 +00:00
peter
18630e6339 Add LIBSTDCPLUSPLUS
(can't use the '+' char in variable names, same as LIBGPLUSPLUS)
1996-10-04 08:55:05 +00:00
peter
eb900c1b4e libresolv.a doesn't exist anymore... Hmm, what's the right thing to do
here?  Can we just undefine it?  What about 3rd party bmakefiles?
1996-10-04 08:52:43 +00:00
peter
f27b081045 Remove temporary hack to disable use of libstdc++ now that it's built and
installed (and hopefully: working).
1996-10-04 08:51:18 +00:00
peter
f163ad2484 Add some 'world' hooks for libg++-2.7.2, specifically the new libstdc++
directory.  Also, add gnu/usr.bin/as to the lib-tools target since libgcc
generates weak symbols, and libstdc++/libg++ use them.  ie: coming from a
2.1.x system will fail without 'as'.
1996-10-04 08:48:27 +00:00
peter
2108e41875 Add genclass to the subdir list 1996-10-04 08:45:34 +00:00
peter
0aaab405e6 Add libstdc++ to the SUBDIR list 1996-10-04 08:44:26 +00:00
peter
2fd17c4485 Update to use the contrib/libg++ version, now that my (slow) 486 has
finished a 'make world'.
1996-10-04 08:43:37 +00:00
peter
90009f2575 Initial attempt at a bmakefile for genclass. 1996-10-03 23:00:09 +00:00
peter
874858c88f This commit was generated by cvs2svn to compensate for changes in r18667,
which included commits to RCS files with non-trunk default branches.
1996-10-03 22:58:33 +00:00
peter
4182f55906 Drat, I got carried away cleaning up and forgot this. This is where
the version number is obtained from.
1996-10-03 22:58:33 +00:00
peter
a6f11496de Initial shot at a bmakefile for libstdc++ 1996-10-03 22:52:23 +00:00
peter
f5448c43db The one and only change that I had to make to get all the tests to fly.
#include_next <string.h> wasfailing since the /usr/include directory is
first on FreeBSD, and since it was already past it, it failed some of
the tests.
1996-10-03 21:50:28 +00:00
peter
bf28269518 Add /usr/share/libg++ for libg++'s genclass prototype/template class
files to live.  (These are not include files)
1996-10-03 21:44:47 +00:00
peter
149662f6d0 Add /usr/include/g++/std for the libstdc++'s #include <std/foo.h> 1996-10-03 21:42:41 +00:00
peter
7a8bb066f1 Import of raw libg++-2.7.2, but in a very cut-down form. There is still
a small amount of unused stuff (by the bmakefiles to follow), but it
isn't much and seems harmless enough.
1996-10-03 21:35:18 +00:00
peter
a3eb4b6b36 This commit was generated by cvs2svn to compensate for changes in r18661,
which included commits to RCS files with non-trunk default branches.
1996-10-03 21:35:18 +00:00
ache
d0df3aa118 Add vt*-em entries set for emulators without semigraphics 1996-10-03 18:16:05 +00:00
jdp
b400b72e46 Fix a bug that caused incorrect PIC code to be generated for exceptions.
The symptom was an assembler warning

    "GOT relocation burb: `___EXCEPTION_TABLE__' should be global"

followed (sometimes) by a core dump.  The fix makes the compiler
generate the correct GOTOFF addressing for that symbol, rather than the
GOT addressing it was emitting before.

Warning:  There is still at least one serious bug in the i386 exception
code for PIC.  The exception code that is generated clobbers the GOT
register (%ebx) and then tries to use it later.  That leads to core
dumps at program execution time.  I know where the problem is, but I do
not have a fix for it at this time.  Until it is fixed, exceptions will
not work in PIC code.  This is a general problem for all i386 platforms;
it is not specific to FreeBSD.
1996-10-03 17:49:35 +00:00
dg
5a3d59963e Added multicast support (BPF cookie bug was already fixed).
Submitted by:	Steven McCanne <mccanne@cs.berkeley.edu>
1996-10-03 10:47:03 +00:00
jkh
6a223e1fce Temporarily disable userconfig saving until I figure out why uc_open()
loops internally for BOOTMFS (not being able to run gdb on sysinstall
when it's running as init is a real pain!).
1996-10-03 08:54:37 +00:00
jkh
7b9bca9cdf Check return values from uc_open() correctly. Note: This seems to work
really well when running the GENERIC kernel but not with the BOOTMFS kernel.
Further work is needed.
1996-10-03 08:17:16 +00:00
peter
084126c610 Ugly hack alert!
libg++'s exception code causes gcc to generate (ahem!) non-conventional
assembler code in -fpic mode that gas and ld choke on.  Basically, gas
and ld require than symbols referenced in the GOT (global offset table)
are actually global (as the name implies).  It attempted to work around
it before, but didn't quite go far enough to prevent a core dump in ld.
This hack causes GOT referenced symbols to be forced global.  This
probably breaks the __EXCEPTION_TABLE__ stuff in pic mode, but heck, it
wasn't even possible to compile with a shared library before at all.

I'm not 100% sure what the bug is.  There's two possibilities:
1: gcc/cp/exception.c has to be fixed to stop doing GOT references to
   local symbols, or
2: as/ld/symorder/ld.so etc need to be taught about how to keep local
   symbols around so that they can be dealt with in GOT references.

John Polstra's elfkit stuff seems to deal with this fine though, which is
why I think it's a "missing feature" in our hacked gas and ld..
1996-10-03 08:07:38 +00:00
jkh
f9b9b4c29c Make return or newline synonymous with down-arrow in the value editor.
It's a lot easier to whap through multiple changes if you can use the return
key.
1996-10-03 07:51:40 +00:00
jkh
1330da5e15 Fix the "missing nameserver value" bug. Simplify some unnecessarily
crufty code, here and there.
1996-10-03 07:50:09 +00:00
peter
bbdfc4679d Drop an unused param to unmap_pages(). 1996-10-03 06:14:48 +00:00
jkh
24d72148ec First cut at a "copy userconfig changes from installation kernel to installed
kernel" mechanism.  This is just the foundation - more work follows
and will be committed over the next few hours.
Submitted-by: "Eric L. Hernes" <erich@lodgenet.com> & jkh
1996-10-03 06:01:44 +00:00
jkh
11e93a3db3 Fix stupid typo. 1996-10-03 01:22:22 +00:00
jkh
32ed919bea Add fxp and vx to list of known device types. 1996-10-03 01:01:01 +00:00
jkh
2639570a5e scresume erroneously used before declared. Move the function
rather than add another APM ifdef just for the forward decl.
[Boy, sure a lot of warnings in here!]
1996-10-03 00:42:27 +00:00
sos
c97ef12c6f Fixed the userconfig problem (and one with ddb as well).
The rudimentary support for a splash page is there, and works, it
just needs a splash page...
1996-10-02 22:00:38 +00:00
jkh
957d8e74af One small policy tweak to something I like better. 1996-10-02 10:44:31 +00:00
jkh
12b9772c91 More strategic screen clears(). 1996-10-02 10:32:28 +00:00
jkh
4259119b91 Fixes and a place-holder for future work. 1996-10-02 08:25:11 +00:00
jkh
1fa5cda8ef New support for displaying PCI devices without making you insane.
Submitted-by: msmith [bless his heart]
1996-10-02 08:09:09 +00:00
jkh
47ef5d3faf Back out my -k changes; there's a better way to do this in the short-term. 1996-10-02 07:22:26 +00:00
dyson
ef4cc3f18c MSDOS FS used to allocate a buffer before extending the VM object. In
certain error conditions, it is possible for pages to be left allocated
in the object beyond it's end.  It is generally bad practice to allocate
pages beyond the end of an object.
1996-10-02 05:01:17 +00:00
pst
3a785907a3 In the brave new world, that that does not make us strong, kills us.
Turn OFF the "small servers" by default.  FreeBSD systems should only
serve actively used programs.  Jewels like chargen and echo are too
useful in attack scenarios.
1996-10-02 03:52:58 +00:00
pst
34e1d6fb54 add SC_SPLASH_SCREEN to opt_syscons.h (sigh) 1996-10-02 03:48:09 +00:00
jkh
2558207716 Sheesh - it's a lot easier to call mediaSetFTP() than to duplicate the
code (I'm hungry, I can't concentrate! :-).
1996-10-02 02:28:21 +00:00
jkh
ece7db74ef Catch a clear() I missed. 1996-10-02 02:19:35 +00:00
jkh
b19ed7e5c8 Don't annoyingly reconfigure the network when you don't have to. 1996-10-02 02:02:18 +00:00
jkh
c5daba2dfd More tweaks to FTP reselection code - allow "none" to stand for
"no specific release - use anything you can find"
1996-10-02 01:30:37 +00:00
jkh
5f7e240fef Try to get the info file before the whole file - it eliminates
a gratuitous fetch attempt in most situations.
1996-10-02 00:52:38 +00:00
jkh
919bb2c57c Make FTP site reselection work the way it always should have. 1996-10-02 00:41:40 +00:00
jkh
6198e0ee81 Doc updates for next SNAP. 1996-10-02 00:26:36 +00:00
jfieber
df2ef18d47 1) If as link file was created by sgmlfmt, use it during installation.
2) The assignment of CLEANFILES in a .for loop was badly botched.  Now fixed.
1996-10-01 23:44:03 +00:00
sos
857683bede Fixed the "missing updates" reported by ache.
Moved a little closer to having a splash page capability.
1996-10-01 23:24:09 +00:00
fenner
f0be48c6af Release setuid immediately after initializing; this minimizes the
possibility of security holes allowing root penetration.

Inspired by:	Mark Handley <M.Handley@cs.ucl.ac.uk> and
		Theo de Raadt <deraadt@theos.com> independently
Submitted by:	Theo de Raadt <deraadt@theos.com>
1996-10-01 23:14:35 +00:00