Commit graph

2506 commits

Author SHA1 Message Date
David E. O'Brien 838bc11f60 We need to build ``.depend'' early in the "build-tools" for the GCC
"build-tools".  If we do not do this, the "depend" stage of
"buildworld" will build ``.depend'' and it will record the wrong
library and header dependencies (DESTDIR=${WORLDTMP}).  Even worse,
the "all" stage may clobber build-architecture-format build tools
built in the "build-tools" stage with target-architecture-format ones.

Submitted by:	ru
2001-09-27 17:14:33 +00:00
David E. O'Brien 7d437141ba Unconditionally use basename.c source vs. only doing this if the libc we
are linking against does not have basename().  There is a buffer overflow
bug in lib/libc/gen/basename.c rev 1.1.  There is no way for us to test
what revision of basename() we have in libc, thus this change.

Requested by:	ru
2001-09-26 20:51:51 +00:00
Ruslan Ermilov 946b7fa17e Fixed the buildworld breakage in cross-tools caused by
misuse of /usr/src/include headers.  This REALLY fixes
the 20010919 src/UPDATING entry.

With this patch the 4.2-RELEASE box was able to survive
the 5.0-CURRENT "make world".

Beat over the head with this patch:	obrien
2001-09-24 09:25:05 +00:00
Mark Murray e284cfe41e [ Very nasty nautical expletive removed ]
Remove debugging code that should never have been committed.
2001-09-21 13:50:31 +00:00
Mark Murray b6c358a73d Through some hackery-pokery, allow folks to cd to src/gnu/usr.bin/perl
and do the usual "make obj && make depend all".

This sort of stuff makes my teeth itch, but folks wanted it badly
enough, so here it is.
2001-09-20 12:22:27 +00:00
Peter Wemm d1c276c383 Fix alpha gdb -k on "live" kernels. Use offsetof() instead of some evil
hand-rolled macros to do the same thing.
2001-09-20 06:31:23 +00:00
Bill Fenner 9c52cf5785 Don't try to dereference a kernel pointer in userland; use offsetof()
to get the right address.

This fixes kernel GDB after KSE2.

Reviewed by:	jhb, jake
2001-09-19 18:42:19 +00:00
Ruslan Ermilov 096f9ef53b In FreeBSD, -Z is reserved for zgrep(1), and only
a long version of the --null option is supported.

PR:		gnu/30644
2001-09-19 07:22:30 +00:00
David E. O'Brien dd1cd2eb67 Rev 1.10 bogusly tested the kernel version, not the libc version.
The version of the kernel has no bearing on what is in libc.
We now search for basename in libc to determin if we need to include
the libiberty version in the build.

This is all still a bit bogus as it will (like the sysctl method) cause
basename.o to be linked into the cross-build as well as the host build.  It
would probably be better to test if we were doing the initial host build and
unconditionally include that.  Once we've generated the target libc we know
that basename is available.  (maybe test for $TOOLS_PREFIX or something).

Submitted by:	peter
2001-09-14 23:07:02 +00:00
Peter Wemm e433a4a84b Update this to compile on the Alpha. 2001-09-14 11:08:44 +00:00
Ruslan Ermilov 9de6241784 Fixed some of style bugs. 2001-09-12 10:04:42 +00:00
Julian Elischer b40ce4165d KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.

Sorry john! (your next MFC will be a doosie!)

Reviewed by: peter@freebsd.org, dillon@freebsd.org

X-MFC after:    ha ha ha ha
2001-09-12 08:38:13 +00:00
David E. O'Brien 447ac70c38 I am no longer the FreeBSD GCC maintainer. 2001-09-10 16:05:39 +00:00
Matthew Dillon ea079e4650 Make sure that all non-root-owned binaries in standard system
paths are chflaged 'schg' to prevent exploit vectors when run
by cron, by a root user, or by a user other then the one owning the
binary.  This applies to most of the uucp binaries, cu, tip, and
man (man was already installed properly).

MFC will occur when approved.
2001-09-09 04:54:10 +00:00
David E. O'Brien 6d87bbdf3a Fix the upgrade path from 4.1 and earlier. 2001-09-06 22:59:31 +00:00
Ruslan Ermilov 6efca31685 SECURITY.
Avoid using setre[ug]id() calls.
Removed the setgid stuff we don't need.
2001-09-06 11:54:28 +00:00
Peter Wemm 72d4bf59e9 Implement .previous (swap section back to the last section)
This enables:
	.data
	.asciz "foo"
	.previous
.. just like on current binutils
2001-09-04 23:04:48 +00:00
Bruce Evans b14046f4b2 Fixed style bugs in rev.1.4, including clobbering of the "Don't generate
y.output" part of rev.1.11.
2001-08-31 11:15:49 +00:00
Eric Melville ae0b7d588a Properly move cursor when home and end keys are used. 2001-08-31 01:56:06 +00:00
Peter Wemm fd131b1483 Dynamically adapt to kernbase changes on crashdumps, falling back to
KERNBASE if the "kernbase" symbol is not present on older kernels.
2001-08-24 09:12:04 +00:00
Nik Clayton 682d574173 Note that submitted patches are assumed to be under the same license as
the file they patch.
2001-08-20 12:52:59 +00:00
David E. O'Brien fcd08e35ec Define _KERNEL as this grubs around where no userland should go. 2001-08-16 20:47:01 +00:00
David E. O'Brien d549989694 Add the `WANT_FORCE_OPTIMIZATION_DOWNGRADE' knob. If set to an integer
value, it forces GCC to not optimize above this level.  For intance, GCC
made with "WANT_FORCE_OPTIMIZATION_DOWNGRADE=1" is a good setting for the
Alpha platform when building ports.
2001-08-16 06:05:18 +00:00
Ruslan Ermilov b100cf6afb The .Rv macro support zero and more than one arguments. 2001-08-15 08:25:55 +00:00
Ruslan Ermilov 753d686d34 mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
Peter Wemm ee5f51df8f msg_out is already initialized 2001-08-13 21:55:41 +00:00
Peter Wemm f949006c58 Turn cvs back on. It seems that there's nothing outright broken, but there
are some odd things I've run into.. eg: log message formatting, etc.
2001-08-13 19:04:26 +00:00
Ruslan Ermilov d013e3f544 mdoc(7) police: s/NetBSD/.Nx/ where appropriate. 2001-08-13 17:00:36 +00:00
Ruslan Ermilov c5e7e03a14 Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
Ruslan Ermilov 8af1452cf8 Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
Dima Dorfman 3ec77b1f25 Remove libgmp build infrastructure. 2001-08-10 18:35:08 +00:00
Peter Wemm fcd12d096e Use some slightly less horrible make magic for doing the version stuff. 2001-08-10 11:24:23 +00:00
Peter Wemm bebb0ae143 One more version related tweak after cvs-1.11 -> 1.11.1p1 2001-08-10 11:18:35 +00:00
Peter Wemm ca68170342 Update build rules for .in and tidy up. 2001-08-10 11:03:29 +00:00
Peter Wemm a8833905d7 Tools dir is now empty and unused 2001-08-10 10:47:28 +00:00
Peter Wemm dded7a88d2 Generate version.c on the fly rather than using a generated file. 2001-08-10 10:29:04 +00:00
Peter Wemm 8653f7fd3c Get the version source from the (more) correct place.
Remove the obsolete cvsbug.sh script
2001-08-10 10:22:43 +00:00
Peter Wemm 4241f99d9e *** empty log message *** 2001-08-10 09:55:48 +00:00
Peter Wemm f6020148f3 Add annotate.c, remove rtag.c for 1.11.1p1 2001-08-10 09:54:52 +00:00
Peter Wemm 635a163b6a Temporarily turn off cvs builds for the (short) duration of
import/verification.
2001-08-10 09:35:58 +00:00
Ruslan Ermilov ac0450b530 Skip empty calls in the NAME section after the .Nm macro call.
This makes the following difference:

-groff_mdoc(7), -(7)      - groff_mdoc reference for groff's mdoc implementation
+groff_mdoc(7)            - reference for groff's mdoc implementation
2001-08-09 15:42:40 +00:00
Ruslan Ermilov 9023135631 An empty request (single dot on the line) is treated as an
empty line by troff(1) and is ignored.  Teach makewhatis(1)
about this.  This makes the following difference:

-groff_man(7), . groff_man(7) - groff `man' macros to support generation of man pages
+groff_man(7)             - groff `man' macros to support generation of man pages
-groff_mdoc(7), -(7)      - . groff_mdoc reference for groff's mdoc implementation
+groff_mdoc(7), -(7)      - groff_mdoc reference for groff's mdoc implementation
-troff(1), . . troff(1)   - format documents
+troff(1)                 - format documents

Noticed by:	yar
2001-08-09 15:23:30 +00:00
Ruslan Ermilov b07badb7bd Teach makewhatis(1) about mdoc(7) .Xr macro.
% whatis finger.conf
finger.conf(5) - finger 1 alias configuration file

% whatis finger.conf
finger.conf(5) - finger(1) alias configuration file

Reviewed by:	MAINTAINER timeout
2001-08-09 15:12:59 +00:00
Eric Melville eb84be870e Handle keys consistently. 2001-08-09 01:14:09 +00:00
Ruslan Ermilov c4d9468ea0 mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
Ruslan Ermilov 4ad7956eb6 dialog(3) -> dialog_noyes(3). 2001-08-07 12:13:22 +00:00
Eric Melville 2180c55b9c Update man page to actually match the source.
PR:		7456
2001-08-01 06:23:00 +00:00
Dima Dorfman 7bd0b86765 Enable the new libmp in the build, and disable libgmp and its
henchmen.
2001-07-29 08:58:22 +00:00
David E. O'Brien 8a61321605 Hook up the manpage. 2001-07-29 07:21:39 +00:00
Eric Melville 5dc547c27e Properly update cursor position when the list is scrolled. 2001-07-26 05:35:19 +00:00