Commit Graph

610 Commits

Author SHA1 Message Date
David Greenman c683527908 Define LINK_LIBGCC_SPECIAL_1 so that gcc will build static with libgcc. 1995-03-10 19:39:32 +00:00
Poul-Henning Kamp 93ccf2fa5e Since we are in the gcc bashing mood anyway: Add two changes for
basic-block profiling:
1. use a .stabs(25) symbol to link all the data structures together with.
The regular method isn't safe for the kernel.
2. add a BB before the prologue and add a BB after the epilogue,  this
alows us to find the length of any counted BB.  This is a cheap and somewhat
reasonable measure of actual cost.
1995-03-10 08:24:09 +00:00
Paul Richards 0d09ae1111 Change the return status of do_system_command to be -1
if a signal is received.

This fixes a bug where killing the process would cause a
"No manual entry for XXX" to be printed even if the manpage
was found.
1995-03-09 19:56:23 +00:00
Jordan K. Hubbard fdf5c453e0 We can't bail out on generating the pic archive yet.
Submitted by:	bde
1995-03-06 12:17:49 +00:00
Poul-Henning Kamp 3d496ce9e4 Don't make the shared libgcc. I don't belive we need the libgcc_pic.a
anymore, so I killed that as well.
1995-03-06 08:04:05 +00:00
Poul-Henning Kamp 316f7f7725 Never again shall we link libgcc dynamic. It was a big mistake in the
first place and we were too long in finding out.  Now we know, and the
damage is hard to fix.  This is part one:  ld will not link gcc dynamic,
if specified as "-lgcc".

Suggested by:	dyson & davidg
1995-03-06 08:00:23 +00:00
Poul-Henning Kamp fcb2469be6 "Various very violent dissections
disables dysfunctional disinformed namei's,
needlessly negating namei cache."

These hacks cuts the number futile attempts made by cc and ccp to find
cross-compilers and other weird stuff.  A make of the BOOTFLP kernel
has 20% less namei calls now, that is from 30647 down to 24563 calls.
1995-03-05 20:34:41 +00:00
Nate Williams c79eac4c4c Weak symbol support from NetBSD. This should bring us in sync with the
NetBSD ld code except for local changes for dlopen() and friends and
the hashing on the minor value of the shlibs.  We should be binary
compatible now with all their libraries.

Obtained from: NetBSD
1995-03-04 17:49:20 +00:00
Nate Williams d6212a19ca Add the abilitity to compile the Lites code with the native FreeBSD assembler.
(This adds minor support for the .bss directive)

Submitted by:	Many folks, but I believe Remy Card was the first person to
                propose this change.
1995-03-02 20:29:18 +00:00
Andrey A. Chernov 6c5f92f17f Fix two quad_t casts, one reported by wcp@lpds.sublink.org 1995-02-26 23:48:51 +00:00
Joerg Wunsch def5a1b108 Patch bei Wolfram to avoid processing duplicate directories.
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-02-26 19:35:06 +00:00
Bruce Evans eac78dccac Install manpath.config.sample with the correct mode. It should be installed
elsewhere.
1995-02-26 03:03:15 +00:00
Jordan K. Hubbard 5865e890a7 Correct a few typos. 1995-02-24 11:21:34 +00:00
Andrey A. Chernov e6c16d383f Implement --hline "line" and --hfile file 1995-02-23 22:42:44 +00:00
Poul-Henning Kamp 7d6349eb5f Don't rely on execute bit. 1995-02-23 05:48:38 +00:00
Nate Williams f8972f58e8 Fixed non-conflict errors that occur when changes made to the local files are
the same as the changes made in the repository.  This is often seen by
people with remote CVS trees that have applied their local patches to the
master site.  a 'cvs update' will show bogus conflicts.

Obtained from: CVS mailing list, Stig<stig@inse.com>

In diffutils 2.6 and 2.7, diff3 -A complains about identical overlapping
changes.  They're different from the ancestor but not from each other...
Why bother?  The patch below fixes this nonsense and preserves [B]ackwards
compatiblity with the -B flag (also --show-bogus-conflicts).

    Party on...
    Stig
1995-02-20 18:47:18 +00:00
Jordan K. Hubbard e28d028200 Whoops! It wasn't totally winning. I left out a couple of :'s. Fixed. 1995-02-19 09:52:52 +00:00
Jordan K. Hubbard 53d8c5c063 A much more winning default dir file. 1995-02-19 09:50:27 +00:00
Joerg Wunsch 27dd3ef3b9 Wolfram now also submitted a man page for this.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-02-15 22:52:52 +00:00
Andrey A. Chernov 12430b365a Changes for new _menu interface 1995-02-15 19:48:10 +00:00
Rodney W. Grimes a533e22a54 Export ${DESTDIR} to h2ph so that the *.ph files end up in the DESTDIR
directories instead of /usr/share/perl.
1995-02-14 21:47:04 +00:00
Rodney W. Grimes 99fd7a9b42 Add missing ${DESTDIR} so that the sample dir file ends up in the
correct place.
1995-02-14 21:15:58 +00:00
Andrey A. Chernov 21edcfa248 Pass prgbox exit code to main exit code 1995-02-13 19:49:42 +00:00
Poul-Henning Kamp 46fe71cc98 Add -D__BSD__ and don't write "LINUX" on a CD as default. 1995-02-13 06:54:47 +00:00
Jordan K. Hubbard bb71d76710 Try to clean up some of these nasty warnings.. This code is not just
twisted, it's seriously evil!
1995-02-12 09:53:03 +00:00
Jordan K. Hubbard ad23c66664 Add mkisofs to list of targets. 1995-02-12 09:51:53 +00:00
Jordan K. Hubbard 8c96ef7169 Walnut Creek's local hacks to this code. Bob says he'll clean them up
RSN and send them back to Eric.
1995-02-12 08:16:50 +00:00
Jordan K. Hubbard 03d08911fe Changes to make it compile under FreeBSD. 1995-02-12 08:06:09 +00:00
Jordan K. Hubbard 6f50ceba0f Original virgin sources for version 1.2 of mkisofs, by Eric Youngdale of
Yggdrasil Computing Inc.  This is a useful concession to us CDROM mastering
weenies out here.
Obtained from: Yggdrasil Computing, Inc.
1995-02-12 08:00:42 +00:00
Bruce Evans b185266a8a Quiet `make -s'. 1995-02-08 20:12:08 +00:00
Jordan K. Hubbard 19c408ae08 Support for more Sun compatible dlopen() and friends. Also added proper error
handling.
Reviewed by:	gj
Submitted by:	Mark Diekhans <markd@grizzly.com>
1995-02-07 13:33:42 +00:00
Bill Paul 714f0adda1 Wrote manual page for yppush and edited Makefile to install it.
Added conditional definition for _PATH_YP in yppush.c in case _PATH_YP
isn't defined anywhere else.
1995-02-05 21:48:04 +00:00
Poul-Henning Kamp ed81a94967 added *.info and *.db to the default "ignore" list in cvs to avoid obviously
common mistakes.
1995-02-04 20:27:23 +00:00
Ugen J.S. Antsilevich a351d38006 Fix to h2ph "undefined function" bug
i reported today earlier..tested and works OK..
( To those who want to experience bug try running aub
with old version of socket.ph and with new one or just any
perl script  "requiring " <sys/socket.ph> or <sys/cdefs.ph> )
1995-02-03 15:16:03 +00:00
Bruce Evans dc3c30d9be Look for files to install first in the object directory, then in the
source directory.

Don't create target directories at install time.  mtree already handles
them correctly.
1995-02-02 17:44:02 +00:00
Bruce Evans e322e6a55a Fix reading of stack addresses from core files. USRSTACK now really is
the (top of the) user stack.
1995-01-31 18:07:36 +00:00
Bill Paul e35cfba7f2 Added SUNDIR entry for yppush 1995-01-31 09:48:48 +00:00
Bill Paul 9f6a77c541 Obtained from: The NYS project
This is a ported/modified version of the yppush program from the
yps-0.21 package from the NYS project. This program is used to propagate
updated NIS maps from an NIS master to an NIS slave. It's normally invoked
by /var/yp/Makefile.

This version of yppush has been modified in the following ways:

- Cleared up several Linux/BSD incompatibilities, largely involving
  header files.

- converted from GDBM to DB with extreme predjudice. (well, not really...)

- removed lots of ugly debugging code that really didn't do anyone any good.

- Fixed a couple of inaccurate/badly formatted error messages.

- Renamed some functions to avoid collisions with certain YP routines
  hidden inside libc.

- Small signal handling kludge: Linux has different struct sigaction
  that us.

- Incorporated some functions from the yps-0.21 library that yppush was
  dependent on.

Like ypxfr, this works, but could use come cleaning up.
1995-01-31 09:47:11 +00:00
Jordan K. Hubbard 053e19c19e Fixed up the text a bit, attribute NetBSD properly. 1995-01-31 04:36:48 +00:00
Andreas Schulz 5992978871 Submitted by: Philippe Charnier <charnier@lirmm.fr>
Install the man page, now that we have one.
1995-01-29 02:16:01 +00:00
Bruce Evans ceac74879e Install man.local in the correct directory. Apparently everyone is using
the version installed from /usr/share.  It's hard to eliminate old versions
- few Makefiles have `uninstall' targets and sup/ctm tends to blow away
old Makefiles.

This Makefile needs more work.  Stuff is built at install time...
1995-01-26 06:00:40 +00:00
Jordan K. Hubbard 8f5738c194 Finally add a freakin' man page for tar!
Submitted by:	John F. Woods <jfw@jfwhome.funhouse.com>
Obtained from: NetBSD
1995-01-26 00:14:11 +00:00
Bruce Evans 03a6bd1d69 Remove stale NOOBJ.
Use standard clean and cleandir targets.
1995-01-25 19:26:31 +00:00
Bruce Evans 4c4b1af8c2 Makefile.tty:
Initialize CLEANFILES.  All tty FONTFILES are objects.
1995-01-25 19:25:20 +00:00
Bruce Evans 49da4dfc8d Makefile.dev:
Don't initialize CLEANFILES here.  Many FONTFILES are sources and required
special clean rules to avoid cleaning.

Makefile.tty:
Initialize CLEANFILES.  All tty FONTFILES are objects.
1995-01-25 19:19:03 +00:00
Bruce Evans 725ae77af0 Fix path to makeinfo. 1995-01-24 04:13:34 +00:00
Jordan K. Hubbard 7884c1e534 Fix bogus dummy rule (sigh). 1995-01-23 23:43:35 +00:00
Jordan K. Hubbard 588a45c651 Fix bogus install rule. 1995-01-23 21:30:18 +00:00
Andrey A. Chernov bae50898b7 Infopages cleanup 1995-01-22 22:45:07 +00:00
Andrey A. Chernov 95f51c5b57 Add doc subdir 1995-01-22 21:56:38 +00:00
Andrey A. Chernov ae46450f21 Add missing infopages 1995-01-22 21:54:49 +00:00
Bruce Evans 3c447b4f44 Don't build kgdb. It should go away soon. 1995-01-19 17:03:28 +00:00
Bruce Evans b34bc5463d Fix installation of the link to tmac.an. $(FOO} doesn't work. 1995-01-19 15:58:34 +00:00
Andrey A. Chernov a5bf27a269 Remove sneaked tabs
Submitted by: Ollivier Robert
1995-01-19 10:39:22 +00:00
Andrey A. Chernov 586cc4e455 Install additionly S and L text fonts, needed for BSD docs formatting 1995-01-17 22:02:34 +00:00
Andrey A. Chernov 8af44ad204 Use nroff instead of groff in %nroff% macro, becasue
nroff shell script pass additional internal parameters to groff
1995-01-17 21:12:05 +00:00
Andrey A. Chernov 8cd8abf162 Oops, forget to add \{ \} in prev. commit 1995-01-17 21:08:33 +00:00
Andrey A. Chernov a61b49098a Fix for 8bit clean ctype 1995-01-17 20:36:26 +00:00
Andrey A. Chernov 32bb7861f2 koi8-r added 1995-01-17 20:17:31 +00:00
Andrey A. Chernov 1f1d79eb97 Back out prev change, don't load tty-char directly, it is already done
into nroff shell script
1995-01-17 20:11:04 +00:00
Andrey A. Chernov 3e6c1c6d90 Load russian hyphentation for -Tkoi8-r 1995-01-17 20:08:42 +00:00
Andrey A. Chernov a99d423620 Build ngroff instead of groff now 1995-01-17 19:28:56 +00:00
Andrey A. Chernov 309c205212 afterinstall --> beforeinstall to make LINKS work 1995-01-17 19:05:12 +00:00
Andrey A. Chernov a5cf5392ff Remove unnecessary complex renaming after nuking BSD tmacs 1995-01-17 18:49:52 +00:00
Andrey A. Chernov 083ad6c648 Rename tmacs properly (me)
Strip renamed pages before install
1995-01-17 18:31:07 +00:00
Andrey A. Chernov 055e903386 Add missing file 1995-01-17 17:51:52 +00:00
Andrey A. Chernov bc70277b5b Add missing psroff.sh (for compatibility with old groff) 1995-01-17 17:36:19 +00:00
Jordan K. Hubbard 5238dbaecc Here's a patch to gdb-4.13 to add dyadic frames, as per J"org Wunsch.
Could somebody apply it?
Submitted by:	gj
1995-01-17 13:52:39 +00:00
Andrey A. Chernov 0293a7a389 Remove troff chars emulation, handled better via tmac.tty-char 1995-01-17 01:08:03 +00:00
Andrey A. Chernov c1328812d5 Back out 1.x changes (additional troff chars), now handled
via tmac.tty
1995-01-17 01:01:56 +00:00
Andrey A. Chernov e9844b337b Define troff chars in more nice way than defining them into
devascii R.proto (will be fixed too)
1995-01-17 00:58:05 +00:00
Andrey A. Chernov aab45466ff Move MANSRC defining rule (fix for obj subdir) to top level
Makefile.cfg, needed not only in man subdir
1995-01-17 00:42:27 +00:00
Andrey A. Chernov f94052d6fc Add russian hyphentation rules 1995-01-17 00:35:51 +00:00
Andrey A. Chernov 9acd98f380 Add koi8-r referred to tmac.tty 1995-01-17 00:21:30 +00:00
Andrey A. Chernov 5b90fb0af3 Add koi8-r as valid -T option 1995-01-17 00:13:15 +00:00
Andrey A. Chernov 7ac7111d42 Add devkoi8-r to SUBDIR 1995-01-17 00:06:29 +00:00
Andrey A. Chernov a7e36b1757 Add koi8-r device (russian charset) 1995-01-17 00:04:14 +00:00
Andrey A. Chernov 7650ac4508 Fix install target when obj subdir present 1995-01-16 23:17:06 +00:00
Andrey A. Chernov 2875b41727 Don't call $(SHELL) for mdate.sh, call its directly.
Old method don't works, if login shell != sh && != bash
1995-01-16 23:02:07 +00:00
Andrey A. Chernov 98f978a585 Remove */doc 1995-01-16 17:53:43 +00:00
Andrey A. Chernov 9953d9b05d Add doc to SUBDIR 1995-01-16 17:49:20 +00:00
Andrey A. Chernov 8ab90258e8 Add doc to SUBDIR list 1995-01-16 17:40:57 +00:00
Andrey A. Chernov 603ef010b6 Back out my ascii->latin1 change, too many special chars
appearse after it (f.e. hyphentate and such) which looks
very different in different code pages
1995-01-16 17:18:03 +00:00
Paul Traina 4f6d30a46a One last one... 1995-01-15 09:12:29 +00:00
Paul Traina b5e6cd375f Last of the FreeBSD changes 1995-01-15 09:06:50 +00:00
Paul Traina d94fc6a011 Layer in FreeBSD changes 1995-01-15 08:36:35 +00:00
Paul Traina 26444f9367 Layer in all FreeBSD patches 1995-01-15 08:30:25 +00:00
Paul Traina f84f13d3d0 groff-1.09 1995-01-15 08:10:00 +00:00
Garrett Wollman c81d9b5121 Turn off incredibly obnoxious forced `-c' option to `more'. 1995-01-14 20:09:47 +00:00
Jordan K. Hubbard d15b7357a8 Install suidperl suid root.
Submitted by:	Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
1995-01-14 03:31:27 +00:00
Andrey A. Chernov 21984e24b4 Use -Tlatin1 instead -Tascii to pass character from
S0ren name without warnings.
1995-01-13 00:42:04 +00:00
Jeffrey Hsu add65270a0 Fix bug that created new files even when running in -C check mode.
Reviewed by: phk
1995-01-12 22:09:40 +00:00
Joerg Wunsch d5453ba5c4 Make ldconfig and ld.so not hashing the shared lib minor number. This
misfeature caused troubles when a program attempted to access a shlib
where one with a higher minor number has been hashed.  Ldconfig does
only include the highest-numbered shlib anyway, so this is in no way a
limitation of generality.

Caution: after installing the new programs, your /var/run/ld.so.hints
needs to be rebuiult; run ldconfig again as it's done from /etc/rc.
1995-01-12 19:12:29 +00:00
Jordan K. Hubbard 9d68e93aaf Good grammar and good taste, from Gary Jennejohn.
Submitted by:	gj
1995-01-12 11:47:02 +00:00
Andrey A. Chernov 4d7b8c9269 dc/doc added 1995-01-12 02:56:15 +00:00
Andrey A. Chernov bfb9b93ee9 Infopage installation 1995-01-12 02:54:14 +00:00
Andrey A. Chernov cd54e1437f as/doc added 1995-01-12 02:50:50 +00:00
Andrey A. Chernov 81d5811672 Infopage installation 1995-01-12 02:48:42 +00:00
Andrey A. Chernov eb0dc9c294 ptx/doc added 1995-01-12 01:35:31 +00:00
Andrey A. Chernov 72faa78f5b Use -lgnuregex properly
Install infopages
1995-01-12 01:30:34 +00:00
Andrey A. Chernov fe80b9dc28 doc added 1995-01-11 16:40:08 +00:00
Andrey A. Chernov ad04b53da0 Add annotate target 1995-01-11 16:38:10 +00:00
Andrey A. Chernov eb9747a649 Install infopages 1995-01-11 16:29:45 +00:00
Joerg Wunsch 056dfea8f8 argl, better unzip the perl script before installing. :-/ 1995-01-11 09:21:29 +00:00
Andrey A. Chernov 514c347b58 awk/doc added 1995-01-11 06:56:12 +00:00
Andrey A. Chernov 09122d010b Infopage install 1995-01-11 06:53:40 +00:00
Andrey A. Chernov 4efe110a6d Use -lgnuregex 1995-01-11 06:42:25 +00:00
Andrey A. Chernov e82aeeb5ef Use -lgnuregex
Tune for 8bit ctype
1995-01-11 06:14:14 +00:00
Andrey A. Chernov 49b95be03e Use -lgnuregex 1995-01-11 05:45:48 +00:00
Andrey A. Chernov e88843d3cf Use -lgnuregex
Tune for 8bit ctype
1995-01-11 05:07:00 +00:00
Andrey A. Chernov 2e0ad30144 Remove regex code, use -lgnuregex instead 1995-01-11 04:18:38 +00:00
Andrey A. Chernov b7091db2a5 send-pr/doc added 1995-01-10 20:04:35 +00:00
Andrey A. Chernov 0a172cf4d9 Add info installation 1995-01-10 20:02:15 +00:00
Joerg Wunsch 43c1db28c7 From our favorite Perl script writer: a new makewhatis, about
15 times faster than the existing sh script.

Submitted by:   Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-10 18:12:50 +00:00
Joerg Wunsch 2563fac568 I think someone has already talk about it but I just got bitten again :
perl setuid scripts don't work in 2.1-current for the same reason they were
not working in 1.1.5.1.

Perl 5 has the same "problem" of course.

We have almost POSIX saved uids but  we must undefine the following symbols
in order to get setuid perl scripts :

Submitted by:	roberto@blaise.ibp.fr (Ollivier Robert)
1995-01-09 17:52:25 +00:00
Paul Richards 10824ac8f3 Added a ports category to the list. 1995-01-08 21:38:12 +00:00
Andrey A. Chernov 8458a20f14 Remove regex code, use -lgnuregex instead 1995-01-06 21:26:39 +00:00
Bruce Evans e15532385d Handle segment registers (except %fs and %gs). 1995-01-06 14:52:06 +00:00
Steven Wallace e86257e166 Change to
#define STANDARD_SEARCH_DIRS    "/usr/lib", "/usr/X11R6/lib", "/usr/local/lib"
Like in 2.0R, except without /usr/X386.
1995-01-05 02:36:29 +00:00
Rodney W. Grimes 8546c86b55 Add usr/share/perl/sys to mtree file, remove private mkdir from Makefile. 1995-01-03 02:57:53 +00:00
Rodney W. Grimes 1f2cdfec28 Add missing ${DESTDIR} so that the library ends up in a release.
Remove mkdir -p, this is handled by make hierarchy.
Add NOOBJ= to override obj: target, and remove local obj: target.
1995-01-01 20:30:56 +00:00
Bruce Evans 47bcf800c3 Fix previous commit. Installing links to manpages without installing
manpages is not completely trivial.

Please don't commit untested changes.
1995-01-01 17:21:09 +00:00
Bruce Evans 2e8e965294 Fix previous commit. 1995-01-01 17:14:45 +00:00
Gary Clark II b6490eb503 Add mlinks for man page
Reviewed by:
Submitted by:
Obtained from:
1994-12-31 21:10:46 +00:00
Bruce Evans 19bc776351 Add more segment registers to list of registers (fake for %fs and %gs).
This might be useful for debugging applications that use a special LDT.
However, printing of all segment registers is currently broken.

Don't print "last exception: " before the FPU opcode and pc, etc.  The
opcode and pc, etc., are for the last FPU _instruction_.

Pass the saved exception status word to print_387_status() so that the
exception(s) that caused or will cause a trap can be seen.  The kernel
has supported this since 1.1 or before.  The kernel still clobbers the
tag word if a trap occurs.

Remove unused null function clear_regs().
1994-12-31 17:00:09 +00:00
Bruce Evans ccd05d4df4 Fix declaration of i386_float_info(). 1994-12-31 16:56:43 +00:00
Bruce Evans 9d1e3dc7d8 Restore our local changes which were clobbered by the previous commit.
cvs is not being used effectively for gdb.  Our old changes get clobbered
and our new changes are mixed with "vendor" changes in the same updates
so they will be difficult to untangle for the next release of gdb.  The
revision logs get spammed for each release of gdb.
1994-12-31 16:34:59 +00:00
Bruce Evans fcb54b3ee0 Hide yet another redefinition of PAGE_SIZE. Cosmetic. 1994-12-31 16:16:27 +00:00
Bruce Evans bdeaa9bbc3 Restore our (cosmetic) local changes which were clobbered by the previous
commit (do them slightly differently).
1994-12-31 16:14:13 +00:00
Jordan K. Hubbard 3c8ea7601e Bring in the files added by Gary Jennejohn's gdb update.
Submitted by:	gj
1994-12-30 23:33:10 +00:00
Jordan K. Hubbard 01db5e69c1 Hurrah! Let the champagne flow, the olive oil barrel be opened and
the wild, slippery orgy commence!

Gary Jennejohn, too studly for his own good, has finally come through with
the new, improved gdb 4.13.  This gdb features:

o	kgdb support - if this works (and I urge folks to test it), we can
	finally purge the old and hateful version of kgdb from our source
	tree.

o	attach/detach support.  See comments in README.FreeBSD for more
	details.

o	Well, it's newer.  Our previous version was 4.11.

Comments and flames to gj, of course! :-)

Thanks, Gary.  Much appreciated.  The previous state of gdb/kgdb has been a
thorn in all of our sides for some time..
Submitted by:	gj
1994-12-30 23:27:33 +00:00
Andreas Schulz d5a22d48c4 Install also a gcc.1 manual page as a link from cc.1, as long as
we have the link cc to gcc.
1994-12-26 19:15:19 +00:00
Nate Williams 7edb8c9b99 New file from pk to aid new in developing the shlib code for new
architectures.

Obtained from: NetBSD
1994-12-23 22:56:08 +00:00
Nate Williams de761939cf Updated version of gas which allows for link-time error reporting if
used in conjustion with the new shlib 'ld' source.  Note, if you use
the new features both gas and ld must be updated.

Obtained from: NetBSD
1994-12-23 22:37:45 +00:00
Nate Williams 61f9ce8d32 Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD
1994-12-23 22:31:35 +00:00
Andreas Schulz a4bc78d9f1 Changed a SORT 1L to a SORT 1. 1994-12-11 21:41:28 +00:00
Andreas Schulz 3b92fb1ec6 Changed one occurrence of LD 8 to LD 1 and the OS FreeBSD 1.1 to FreeBSD 2.0. 1994-12-11 21:39:31 +00:00
Sean Eric Fagan 940ff2c0a9 Added "cpuid" opcode. 1994-12-11 20:46:55 +00:00
Andreas Schulz d025cfd6c5 Throw out the abort call, the reasoning seems to be false :-).
Change a round to a truncate. Problem reported from Christoph Kukulies:
9.8 2 / p did an IOT trap.
There is one remaining problem.: 9.8 2 % p shows on other machines 1.8
but does here in the moment 1.
1994-12-03 16:32:02 +00:00
Andreas Schulz a7f24f529c Add the files y.tab.h and a2p.c that get automatically generated to
the CLEANFILES target. Remove the file a2p.c from the source tree, this get
generated anew from a2p.y.
1994-11-28 18:30:44 +00:00
Andreas Schulz eafe5e1c1c Add the automatically generated files: y.tab.h c-exp.tab.c ch-exp.tab.c and
m2-exp.tab.c to the CLEANFILES target.
1994-11-28 17:19:52 +00:00
Jordan K. Hubbard 5c52037561 Remove /usr/gnu from mandatory manpath. 1994-11-22 09:57:42 +00:00
Jordan K. Hubbard d76158cc6e From: "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
in getting mirror-2.3 to work with FreeBSD, i found that timelocal.pl has
a bug.  a patch is included below.  this needs to be applied to both
src/gnu/usr.bin/perl/lib/timelocal.pl and
src/usr.sbin/xntpd/scripts/monitoring/timelocal.pl

Submitted by:	jmb
1994-11-18 02:24:06 +00:00
Andrey A. Chernov dc092b5e4c Update with new autosizing code, use -1 -1 now 1994-11-16 14:47:17 +00:00
L Jonas Olsson 0066ef2281 Added NO_IMPLICIT_C as our header files in standard locations are either
already C++ safe, or C++ header files.
This fixes the problem with parse errors in header files when compiling C++
files.
Recompiling libg++ also solves the undefined synbols problem.
1994-11-16 14:02:42 +00:00
Poul-Henning Kamp 8ab1d79d16 Integrated GCC-2.6.1 -> GCC-2.6.2 changes.
Notice that the libgcc DOESN'T change number, because there are no
changes.

Also now the gnu2bmake stuff is synchronized again.

I commit this so that others can test too.

You might want to postpone any "make worlds" until tomorrow, to
avoid any problems I didn't see in the first pass.

Thanks to Bruce for rounding up our changes to gcc.
1994-11-15 04:52:19 +00:00
Bruce Evans 069fcad2d9 Clean up some foreign makefiles a bit, attempting to handle .sh files
more like binaries.  This is hard to do using a general rules because
the natural `.sh:' rule has a null suffix and null suffixes are broken.
(With 1.1.5's make they sometimes work and sometimes cause core dumps.
2.0's make has a botched fixed and they never work.)
1994-11-14 05:57:36 +00:00
Bruce Evans a3a5ddcb52 Include <sys/types.h> early. This will be required when <stdio.h> and/or
<signal.h> are fixed to not include it.

Bruce
1994-11-14 05:16:46 +00:00
Poul-Henning Kamp ffc232881f address @freefall.cdrom.com -> @freebsd.org 1994-11-10 02:34:54 +00:00
David Greenman 3237032fdc Enabled build/install of kgdb. 1994-11-07 08:22:17 +00:00
Poul-Henning Kamp b80d982b84 As pointed out by Paul Traina, we need the libs to be 261.0 not 26.1. 1994-11-07 04:40:26 +00:00
Bruce Evans 374047c149 Restore my fixes to 2.6.0. The changes should not affect anything except
profiling and wchar_t.  Profiled libraries will shrink.

tm.h:
Our wchar_t is int, not unsigned short.
Always link statically if profiling.
Define all the SPECs together.

final.c, tm.h:
Don't emit unused profiling code and data.

aux-output.c:
Always preserve the PIC register if profiling.

aux-output.c, tm.h:
Implement FUNCTION_PROFILER_EPILOGUE (currently not used).

New:
tm.h:
Set the target defaults in the correct way.
1994-11-06 21:32:11 +00:00
Poul-Henning Kamp bf859da2b2 Explicitly tell cpp where to look for include files. 1994-11-04 21:40:39 +00:00
Jordan K. Hubbard fb59d6ab65 __386BSD__ -> __FreeBSD__
I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?
1994-11-04 02:14:13 +00:00
Gary Clark II e4aaba56f5 Correct my hosing...:( 1994-11-03 23:50:43 +00:00
Poul-Henning Kamp 84e25b852b Bump the version-number of the "shared-gcc-internals" library. Will only
affect you if you decided to use that feature.
1994-11-03 20:37:05 +00:00
Gary Clark II 15aafd644b Change libs to install in /usr/lib/perl 1994-11-03 20:07:46 +00:00
Gary Clark II 05fd6621b0 Change libs to /usr/lib/perl
Reviewed by:
Submitted by:
Obtained from:
1994-11-03 20:03:53 +00:00
Gary Clark II 31da8cb88e Install libs into /usr/lib/perl. The discussion we had did not come to
a point so...  If any thing besides here I would vote for /usr/include.
1994-11-03 20:02:15 +00:00
Jordan K. Hubbard 03076d6bbf Remove obsolete __386BSD__ predefine. 1994-11-03 14:29:57 +00:00
Poul-Henning Kamp fe7dee4700 ----------------------------------
GCC-2.6.1 COMES TO FREEBSD-current
----------------------------------
Everybody needs to 'make world'.

Oakland, Nov 2nd 1994.  In a surprise move this sunny afternoon, the release-
engineer for the slightly delayed FreeBSD-2.0, Poul-Henning Kamp (28),
decided to pull in the new version 2.6.1 of the GNU C-compiler.
The new version of the compiler was release today at noon, and hardly 9
hours later it was committed into the FreeBSD-current source-repository.
"It's is simply because we have had too much trouble with the version 2.6.0
of the compiler" Poul-Henning told the FreeBSD-Gazette, "we took a gamble
when we decided to use that as our compiler for the 2.0 release, but it
seems to pay of in the end now" he concludes.
The move has not been discussed on the "core" list at all, and will come as
a surprise for most Poul-Hennings peers.  "I have only discussed it with
Jordan [J. K. Hubbard, the FreeBSD's resident humourist], and we agreed that
we needed to do it, so ... I did it!".  After a breath he added with a grin:
"My email will probably get an all time 'disk-full' now!".
This will bring quite a flag-day to the FreeBSD developers, the patch-file
is almost 1.4 Megabyte, and they will have to run "make world" to get
entirely -current again.  "Too bad, but we just had to do this."  Was
the only comment from Poul-Henning to these problems.
When asked how this move would impact the 2.0 release-date, Poul-Hennings
face grew dark, he mumbled some very Danish words while he moved his fingers
in strange geometrical patterns.  Immediately something ecclipsed the Sun, a
minor tremor shook the buildings, and the temperature fell significantly.
We decided not to pursure the question.

-----------
JOB-SECTION
-----------
Are you a dedicated GCC-hacker ?
We BADLY need somebody to look at the 'freebsd' OS in gcc, sanitize it and
carry the patches back to the GNU people.  In particular, we need to get
out of the "i386-only" spot we are in now.  I have the stuff to take a
gnu-dist into bmake-form, and will do that part.

Please apply to phk@freebsd.org

No Novice Need Apply.
1994-11-03 06:52:42 +00:00
Paul Traina e8aae93744 Put a real man page in for cpp(1)... it needs to be converted to the mandoc
macros,  but it's good enough for now.
Obtained from: gcc 2.6.0 gnu distribution
1994-11-02 08:18:25 +00:00
Andrey A. Chernov 734d3eaf71 Enhance inputbox to pass initial prompt (optional) 1994-11-02 01:41:52 +00:00
Jordan K. Hubbard ad26d58d52 Link g++ -> c++, like I did with gcc -> cc. This is evil, but it's
now at least orthogonal evil.
1994-11-01 21:28:00 +00:00
Jordan K. Hubbard 4d9190ae3a Add LINKS to get gcc back. 1994-11-01 20:51:29 +00:00
Paul Traina 1dd5e27809 Test test test! sigh!
Perl's scripts are still trying to execute perl out of /usr/gnu/bin/perl.

The hack Larry was using for h2ph.1 doesn't work with the new macros, so
make it a real man page.

Also, we weren't building the .ph files, add them as an afterinstall rule
in the x2p subdirectory.
1994-10-29 07:14:55 +00:00
Andrey A. Chernov b140921eef prgbox example added 1994-10-28 03:22:29 +00:00
Andrey A. Chernov 78e71dffd1 Add --prgbox option to test new prgbox() function 1994-10-28 03:12:46 +00:00
Garrett Wollman 7d22abd50c Convince Perl to that is is part of the system, as /usr/bin/perl (binary)
and /usr/share/perl (library).  The latter was chosen as analogous to other
directories already present in /usr/share, like /usr/share/groff_font and
(particularly) /usr/share/mk.
1994-10-27 23:16:54 +00:00
Jordan K. Hubbard 71e0221b87 Repair the damage done by whomever blew the last commit. Now it
compiles again.
1994-10-26 15:23:04 +00:00
Andrey A. Chernov 9e4cb8b6dc Move dialog_update() to another place, because it is now in dialog_clear() 1994-10-25 22:44:09 +00:00
Bruce Evans de708661a9 Add perl. 1994-10-25 16:59:57 +00:00
L Jonas Olsson 0abc0dba57 Added f77 program. This is a modified version of the c++ program.
All it does is add -lf2c and -lm.
1994-10-25 14:36:50 +00:00
L Jonas Olsson 1f967df0a4 Added FORTRAN rule. 1994-10-25 13:36:02 +00:00
David Greenman b2075ecc44 Changed NO_SHARED_LIBCC_INT to SHARED_LIBCC_INT and changed the logic
as appropriate. This makes gcc not built with a shared cc_int the
default.
1994-10-25 07:02:23 +00:00
Garrett Wollman 5e21ecefa9 Completed last fix: don't use backquotes in here-documents; it confuses
ash.  (The backquotes were only used to implement a slower version of
${foo-$bar} anyway.)
1994-10-22 23:47:21 +00:00
Garrett Wollman 2c0f145076 Fill in SUBMITTER= line correctly. 1994-10-22 23:34:57 +00:00
Garrett Wollman 469247c74c I really, really don't want to know why adding a blank line between
__EOF__ and a done command lets fixes this script for ash...
1994-10-22 23:32:01 +00:00
Nate Williams 29656de043 Adding cvsinit back to the subdirs since it shouldn't have been removed
in the first place.
1994-10-22 19:36:22 +00:00
Paul Traina 1666a8c2af remove cvsinit from subdir list 1994-10-22 16:59:52 +00:00
Nate Williams 2f822e9be7 Added cvsinit shell script as a runnable command.
Submitted by:	 CVS mailing list.
1994-10-22 04:51:40 +00:00
Garrett Wollman 7b82c373ed Dramatically clean up Makefile. Make send-pr get rebuilt if Makefile
changes.
1994-10-15 21:39:54 +00:00
Andrey A. Chernov 52f2c9a10a Output error diagnostics, if occurse.
Add radiolist test.
1994-10-11 23:52:16 +00:00
Andrey A. Chernov 52bc859d7c Use libdialog now. 1994-10-11 23:51:09 +00:00
Andrey A. Chernov 296c81b4e8 Implement HOME/END keys for line edit 1994-10-10 22:32:07 +00:00
Andrey A. Chernov 7f6f3361ff Implement insert-mode line editing 1994-10-10 19:49:22 +00:00
Andrey A. Chernov a73699e164 Back out part of ctype fixes, unneded with new ctype 1994-10-09 15:22:35 +00:00
Paul Traina 20e8cfc673 Cosmetic cleanup 1994-10-09 00:46:16 +00:00
Andrey A. Chernov d341e762bb Dialog added 1994-10-08 15:19:12 +00:00
Andrey A. Chernov c8389f985d Moved from ports, arrow keys allowed to edit input,
back tab key understanded now
1994-10-08 15:16:41 +00:00
Andrey A. Chernov 109de6c0ab Fix many problems with 8bit chars (sign extend in ctype macros)
Fix main problem with 8-bit chars in directories names: because
signed_sum left uninitialized, wrong checksum occurse
1994-10-07 13:13:32 +00:00
Paul Richards c4447d4ef1 Removed NOOBJ so obj directory gets built if wanted. 1994-10-02 14:43:12 +00:00
Andrey A. Chernov 02ea062a10 #define HAVE_TERMIOS added for proper terminal handling
Submitted by: smcarey@mailbox.syr.edu
1994-10-02 11:12:40 +00:00
Bruce Evans 2fdcac7375 Don't build profiled libraries. (NOPROFILE= yes. I don't like the negative
logic or lack of checking of truth values.  There are too many ways to spell
"yes".  Some Makefiles spell it as "no".)
1994-09-28 03:59:29 +00:00
David Greenman 32bff95b55 Fixed a couple of compiler warnings related to wrong prototypes. 1994-09-23 08:28:43 +00:00
Bruce Evans 00f21b4680 Don't build profiled library. 1994-09-20 22:03:09 +00:00
Bruce Evans f44ca047d4 Add dependency for -lcompat. 1994-09-20 05:17:50 +00:00
Garrett Wollman 0385520e72 For Bruce: -DNO_SHARED_LIBCC_INT reverts back to static libcc_int.
This makes the back end run faster, but at the cost of speed.
1994-09-19 21:37:50 +00:00
Garrett Wollman b4aca961be Make GCC's back end be shared among all languages. cc, c++, and cpp now
no longer link against the whole library, since they don't require much
from it, but just compile the few small modules they actually need static.

This should save a measurable amount of space; compare:

-r-xr-xr-x  1 bin   bin   155648 Sep 18 18:00 cc1*
-r-xr-xr-x  1 root  bin  1048576 Sep 18 17:33 cc1.noshae*

Of course, the library takes up a bit of space, but when you add in the
savings from the C++ compiler, you more than make up the difference:

-r--r--r--  1 bin  bin  1157344 Sep 18 18:27 /usr/lib/libcc_int.so.26.0
-r-xr-xr-x  1 bin  bin  491520 Sep 18 18:27 /usr/libexec/cc1plus*
1994-09-18 22:35:55 +00:00
Rodney W. Grimes a861b63c28 Add q modifier (for long longs) support to -Wformat.
Reviewed by:	bde
1994-09-18 21:25:02 +00:00