Commit Graph

2710 Commits

Author SHA1 Message Date
David E. O'Brien
c06f26c5b8 Remove these Bintuils 2.11 files that aren't part of 2.12. 2002-09-01 17:51:18 +00:00
David E. O'Brien
bde4025733 Remove these MIPS (and stragglers) from the vendor branch so I won't
accidently import them again.
2002-08-31 20:49:15 +00:00
David E. O'Brien
961b726450 Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020720. 2002-08-31 20:38:58 +00:00
David E. O'Brien
f862c555e6 Import of Binutils from the FSF 2.12 branch (post-.1 release). 2002-08-31 20:20:07 +00:00
David E. O'Brien
a00bb00510 This commit was generated by cvs2svn to compensate for changes in r102729,
which included commits to RCS files with non-trunk default branches.
2002-08-31 20:20:07 +00:00
Gregory Neil Shapiro
3edfa581ab Move the $FreeBSD$ CVS labels far enough away from the $Id$ CVS labels so
I don't have to manually resolve conflicts on every import.  Ironically,
most of these files have no changes from the vendor version except the
$FreeBSD$ line.
2002-08-28 18:12:33 +00:00
Gregory Neil Shapiro
554ef1f6d9 Changes for the import of sendmail 8.12.6 2002-08-28 17:59:45 +00:00
Gregory Neil Shapiro
9d8fddc1be Resolve conflicts from sendmail 8.12.6 import 2002-08-28 17:58:45 +00:00
Gregory Neil Shapiro
4d75ea9b02 This commit was generated by cvs2svn to compensate for changes in r102528,
which included commits to RCS files with non-trunk default branches.
2002-08-28 17:57:52 +00:00
Gregory Neil Shapiro
959366dcbe Import sendmail 8.12.6 2002-08-28 17:57:52 +00:00
Darren Reed
e7413bff80 merge the changes from 3.4.29 that didn't go cleanly due to conflicts 2002-08-28 13:45:36 +00:00
Darren Reed
14ba107c16 This commit was generated by cvs2svn to compensate for changes in r102521,
which included commits to RCS files with non-trunk default branches.
2002-08-28 13:42:48 +00:00
Darren Reed
f7a96e18f1 With a bit of luck, this will be a first-time right import of ipfilter 3.4.29
on to the vendor branch.
2002-08-28 13:42:48 +00:00
Nick Sayer
c4f6a2a9e1 Encrypted strings (after hex decoding) aren't null terminated, because
0 might simply be part of the ciphertext.

PR:		bin/40266
Submitted by:	andr@dgap.mipt.ru
MFC after:	3 days
2002-08-22 06:19:07 +00:00
Ruslan Ermilov
26e1070b8b Merge gcc.295/cccp.c,v 1.9: don't let gcc(1) hide warnings in system headers.
Reviewed by:	bde

Original 2.95 change was subject to:

Approved by:	obrien
2002-08-15 08:45:49 +00:00
David Malone
1b39d8a298 Fix a bug where you couldn't start top in a very small window. Now
you can start it in a small window, but it doesn't always display
anything sensible. Resizing the window does work though.

The patch is a slightly simpler one than Sheldon's in the PR.

PR:		21075
2002-08-11 18:37:25 +00:00
Ian Dowse
68d0de00a3 Use the correct loop variable so that we print all IO addresses and
not just 8 copies of the first one.

PR:		bin/18157
Submitted by:	German Tischler <tanis@gaspode.franken.de>
2002-08-09 22:04:54 +00:00
Maxim Sobolev
ec7c30a0f5 Move even closer to matching behaviour of our old tar(1) wrt preserving
modes of extracted files. This effectively disables special threating
of uid 0 for mode-preserving purposes and should fix problems with
pkg_add(1) and probably other things when extracting files/dirs with
sticky mode bits set.

Pointed out by:	bde
MFC in:		2 weeks
2002-08-01 17:32:08 +00:00
Bill Fenner
d3125a3e10 Routing socket messages are padded to sizeof(long), not just
sizeof(u_int32_t).
2002-07-30 04:49:13 +00:00
Bill Fenner
edfe5cffff Calculate checksums correctly when LSRR is in effect by passing the
IP header and protocol header seperately.
Also calculate TCP checksums.

Submitted by:	orion
2002-07-28 02:34:39 +00:00
Bill Fenner
0952bc9f4b Merge 1.4a12 2002-07-28 02:26:31 +00:00
Bill Fenner
35d3ea799b This commit was generated by cvs2svn to compensate for changes in r100784,
which included commits to RCS files with non-trunk default branches.
2002-07-28 02:24:33 +00:00
Bill Fenner
5f3a73ba3a Virgin import of LBL traceroute v1.4a12 2002-07-28 02:24:33 +00:00
Mark Peek
70fa9f6880 Document upgrade procedure. 2002-07-24 16:42:58 +00:00
Mark Peek
117e69e18e This commit was generated by cvs2svn to compensate for changes in r100616,
which included commits to RCS files with non-trunk default branches.
2002-07-24 16:23:10 +00:00
Mark Peek
2930157267 Import of tcsh-6.12.00 2002-07-24 16:23:10 +00:00
Daniel C. Sobral
8f32fe91de s/ifdef/ifndef/.
Fenner got this inverted through a misunderstanding between us.
2002-07-23 12:25:34 +00:00
Bill Fenner
c898fd637d Add '+FreeBSD' to the version string, to reflect that this program
bears little relationship to the one from LBL with the same
 name and version number.
2002-07-23 00:56:52 +00:00
Bill Fenner
290006640b Add an ICMP protocol handler, partly based on LBL's traceroute 1.4 .
Submitted by:	dcs
2002-07-22 23:01:11 +00:00
Bill Fenner
dbee325068 Actually use gen_prep() and gen_check(), instead of udp_prep() and
udp_check(), for unknown protocols.
2002-07-22 22:07:23 +00:00
Ruslan Ermilov
9b44a25f1f This commit was generated by cvs2svn to compensate for changes in r100519,
which included commits to RCS files with non-trunk default branches.
2002-07-22 17:06:28 +00:00
Ruslan Ermilov
eb2992f5cd Update for GNU texinfo 4.2. 2002-07-22 16:58:54 +00:00
Ruslan Ermilov
fc756dddd1 Merge texinfo 4.2 changes onto the trunk. 2002-07-22 16:55:14 +00:00
Ruslan Ermilov
1e25085393 Use stock (FSF) version of this file. 2002-07-22 16:54:53 +00:00
Ruslan Ermilov
3b09781ed9 This commit was generated by cvs2svn to compensate for changes in r100513,
which included commits to RCS files with non-trunk default branches.
2002-07-22 16:52:57 +00:00
Ruslan Ermilov
f045034c56 Import of stripped down GNU texinfo 4.2 2002-07-22 16:52:57 +00:00
Boris Popov
955d4650ea This commit was generated by cvs2svn to compensate for changes in r100490,
which included commits to RCS files with non-trunk default branches.
2002-07-22 09:50:09 +00:00
Boris Popov
b4bd78b0cf Import smbfs 1.4.5. This release intended to fix problem with iconv
library.

MFC after:	1 week
2002-07-22 09:50:09 +00:00
Ruslan Ermilov
7ec8076057 Move the definition of FreeBSD 4.6 back to where it belongs. 2002-07-18 09:32:15 +00:00
Murray Stokely
370e78e11f Revert last change.
Requested by:	ru
2002-07-18 09:15:54 +00:00
Murray Stokely
b4666d24d0 Teach mdoc about FreeBSD 4.6.1 2002-07-18 08:04:12 +00:00
Maxim Sobolev
55955aa970 MFS: make this file compilable with gcc 2.9x as well. 2002-07-14 13:25:51 +00:00
David E. O'Brien
83728effa9 Fix C++ exception handling. GCC was using the older BSD DBX register numbers
rather than the ELF ABI/SVR4 ones in its DWARF unwinding.

Submitted by:	Alexander Kabaev <ak03@gte.com>
2002-07-12 17:44:24 +00:00
David E. O'Brien
d08a3fc2bc When I decided to use a stock dbxout.c rather than merge the rev 1.2 change
(put the function stabs in traditional order on a.out, or gdb doesn't see
function local variables), I failed to remove the related knobs here.

Effectively were overrode the ELF-wide definition in elfos.h w/o providing
new infrastructure.  This is what caused GDB to fail to debug applications
compiled and linked with -stabs.  This is because GCC was unconditionally
inserts .stabs instruction for functions after the function body.  GDB was
getting confused because what it thinks is function beginning address is
actually function ending address.

Submitted by:	Alexander Kabaev <ak03@gte.com>
2002-07-12 17:35:35 +00:00
David E. O'Brien
568fc330a7 Yep, revision 1.3 was 1/2assed.
This time use the right attribute for null_format_ok.

Submitted by:	bde
2002-07-12 00:49:52 +00:00
David E. O'Brien
e2a86a90af Make our i386 hacks in a less vendor file disturbing manner. 2002-07-10 07:48:45 +00:00
David E. O'Brien
a841c6d1fa Quiet warnings by making this ANSI-C clean. 2002-07-09 17:01:47 +00:00
Bill Fenner
0ef587351e Always upload new files, even if the timestamps match. This is a workaround
for the trouble that DES and I had with MFCs: when "cvs update -jfoo -jbar"
creates a new file, it sets the version to 0 ("new") but sets the timestamp
in the Entries file to the timestamp of the file that's new on the branch.
The CVS client doesn't upload files whose timestamps match with the Entries
file, so these new files don't get uploaded to the server and the server
fails when trying to check them in.

PR:		bin/40227
Approved by:	peter
MFC after:	2 weeks
2002-07-08 10:05:26 +00:00
Doug Barton
ec0e38d5bd Add a note about nslookup needing a slightly different version of the
command line editing patch in -current and RELENG_4.
2002-07-07 08:41:59 +00:00
David E. O'Brien
89b2e0c349 Merge rev 1.2 (FreeBSD a.out configuration support) into the
Binutils 2.12_20020622 snap.
2002-07-05 20:44:29 +00:00
David E. O'Brien
aabeabed7c Use the stock 2.12.1 snapshot version of this. 2002-07-05 20:42:13 +00:00
David E. O'Brien
ec2cc9b872 Use the stock version of this. 2002-07-05 20:37:36 +00:00
David E. O'Brien
adadc07b46 Bring the binutils_2_12_20020622 snap version of this to the HEAD branch. 2002-07-05 20:36:17 +00:00
David E. O'Brien
67fc1b2b4d We use the stock version of this file as in rev 1.4. 2002-07-05 20:35:38 +00:00
David E. O'Brien
86c6456a3e We use the stock version of this file. 2002-07-05 20:34:21 +00:00
David E. O'Brien
7f8f70d5f8 Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020622 snap. 2002-07-05 20:32:42 +00:00
David E. O'Brien
c563f5ced3 Merge our ELF branding into Binutils 2.12_20020622 snapshot.
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))
2002-07-05 20:30:48 +00:00
David E. O'Brien
c7549e32a4 Import of Binutils from the FSF 2.12 branch (just post-.1 release).
These bits are taken from the FSF anoncvs repo on 22-June-2002 23:28:00 EDT.
2002-07-05 20:16:34 +00:00
David E. O'Brien
95cd50e6d7 This commit was generated by cvs2svn to compensate for changes in r99461,
which included commits to RCS files with non-trunk default branches.
2002-07-05 20:16:34 +00:00
David E. O'Brien
fffe57845a Allow XFree86-4 to build
by not creating paradoxical FLOAT_MODE subregs.

Tested by:	se
Obtained from:	http://gcc.gnu.org/ml/gcc/2002-06/msg01709.html
2002-07-03 23:35:06 +00:00
Maxim Sobolev
18febd99fb Fix another POLA breakage in a new tar: in diff mode presence of file
in the archive, but its absence in the file system should be reported
as difference, not as error.

Reported by:	bde
2002-07-03 13:01:40 +00:00
Maxim Sobolev
b19918bd36 When we are extracting directory with --unlink option and the directory
already exists don't spew bogus "Cannot unlink" error and exit with
non-zero code.

Reported by:	bde
2002-07-03 12:44:31 +00:00
Doug Barton
101d16a80f This commit was generated by cvs2svn to compensate for changes in r99191,
which included commits to RCS files with non-trunk default branches.
2002-07-01 01:28:00 +00:00
Doug Barton
5df3dc0270 * Make Xlist more complete, and more concise in some case.
* Reflect additional docs we're not using anymore.
* Add some notes for next time.
2002-07-01 01:23:01 +00:00
Doug Barton
16f43f04f8 Resolve conflicts, generally in favor of the vendor version. 2002-07-01 01:20:28 +00:00
Doug Barton
cc893dce92 This commit was generated by cvs2svn to compensate for changes in r99179,
which included commits to RCS files with non-trunk default branches.
2002-07-01 01:07:56 +00:00
Doug Barton
7af0653ebc Import of ISC BIND version 8.3.3 2002-07-01 01:07:56 +00:00
Dag-Erling Smørgrav
d453fb1b0a Vendor import of OpenPAM Citronella. 2002-06-30 21:36:39 +00:00
Dag-Erling Smørgrav
4f0fa8805b This commit was generated by cvs2svn to compensate for changes in r99160,
which included commits to RCS files with non-trunk default branches.
2002-06-30 21:36:39 +00:00
Dag-Erling Smørgrav
ee02aaa95b Vendor import of OpenPAM Citronella. 2002-06-30 21:30:05 +00:00
Dag-Erling Smørgrav
05aeb7267b This commit was generated by cvs2svn to compensate for changes in r99158,
which included commits to RCS files with non-trunk default branches.
2002-06-30 21:30:05 +00:00
David E. O'Brien
84b39cc0d1 Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.
2002-06-29 01:43:09 +00:00
David E. O'Brien
8243fdf19a This commit was generated by cvs2svn to compensate for changes in r99005,
which included commits to RCS files with non-trunk default branches.
2002-06-29 01:43:09 +00:00
David E. O'Brien
5916819790 - kernel core debugging for i386 (Mark Peek)
- thread debugging for i386 (Mark Peek) and alpha (Doug Rabson)

Submitted by:	mp,dfr
2002-06-29 00:42:52 +00:00
David E. O'Brien
ff6bc74c1f Note that this is a modified version of GDB. 2002-06-29 00:41:02 +00:00
David E. O'Brien
bfe3e69e9e Use the stock source. 2002-06-29 00:38:44 +00:00
David E. O'Brien
cf107641c3 Best that I can tell, we've never used these files. 2002-06-29 00:36:19 +00:00
David E. O'Brien
98652bc8b6 Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.
2002-06-28 03:29:27 +00:00
David E. O'Brien
4f4fc83241 This commit was generated by cvs2svn to compensate for changes in r98954,
which included commits to RCS files with non-trunk default branches.
2002-06-28 03:29:27 +00:00
David E. O'Brien
471772ba06 Actually rev 1.3 (don't declare tilde_expand()) is needed with GDB 5.2. 2002-06-28 01:13:52 +00:00
David E. O'Brien
dd7299c825 Our FreeBSD custom changes are OBE. Return to using the stock vendor sources. 2002-06-28 00:14:03 +00:00
David E. O'Brien
bb319416d0 Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.
2002-06-27 23:04:23 +00:00
David E. O'Brien
2bf844deae This commit was generated by cvs2svn to compensate for changes in r98944,
which included commits to RCS files with non-trunk default branches.
2002-06-27 23:04:23 +00:00
Mark Murray
78455da4ab Warnings fixes. Sort out some variable types. 2002-06-26 17:06:14 +00:00
Mark Murray
09e8dea793 Help fix warnings by marking an argument as unused. 2002-06-26 17:05:08 +00:00
Gregory Neil Shapiro
e070e59a45 Update for the sendmail 8.12.5 import 2002-06-26 02:52:59 +00:00
Gregory Neil Shapiro
f848909f8f Resolve conflicts from import of sendmail 8.12.5 2002-06-26 02:50:37 +00:00
Gregory Neil Shapiro
739ac4d4d3 Import sendmail 8.12.5 2002-06-26 02:48:44 +00:00
Gregory Neil Shapiro
e1acb3f10e This commit was generated by cvs2svn to compensate for changes in r98841,
which included commits to RCS files with non-trunk default branches.
2002-06-26 02:48:44 +00:00
Bill Fenner
698bfaa4b5 Remove cruft. 2002-06-26 01:35:00 +00:00
Robert Drehmel
eac66622a0 Allocate and clear the correct number of bytes for a
struct fd_set that should be able to hold sock + 1 bits.
Before, it was apparently assumed that an fd_mask has
the same size as type char.

PR:		bin/39617
Reported by:	Peter N Lewis <peter@stairways.com.au>
2002-06-23 21:54:18 +00:00
David E. O'Brien
6c8ce4b3c7 Tweaks to make these files live beside our hacked config. 2002-06-21 22:54:24 +00:00
David E. O'Brien
d9adce40ed Tweaks for the 64-bit compiler. 2002-06-21 22:53:03 +00:00
David E. O'Brien
4396d0e99f cc -O0 and -O1 didn't do the easy optimization of alignment for space.
Instead it attempted to do the easy optimization of alignment for time,
which should be to 1-byte alignment on i386's.

Submitted by:	bde
2002-06-21 18:21:30 +00:00
David E. O'Brien
9fc5b9d958 BDE prefers this organization.
Submitted by:	bde
2002-06-21 18:11:22 +00:00
Bill Fenner
c0653930da Merge libpcap 0.7.1
MFC after:	2 weeks
2002-06-21 01:38:14 +00:00
Bill Fenner
8e10e3e69d This commit was generated by cvs2svn to compensate for changes in r98530,
which included commits to RCS files with non-trunk default branches.
2002-06-21 01:36:27 +00:00
Bill Fenner
0a94d38f05 Import libpcap 0.7.1, from
http://www.tcpdump.org/release/libpcap-0.7.1.tar.gz
2002-06-21 01:36:27 +00:00
Bill Fenner
a1c2090e60 Merge tcpdump 3.7.1
MFC after:	2 weeks
2002-06-21 00:49:02 +00:00
Bill Fenner
1c6248dba0 This commit was generated by cvs2svn to compensate for changes in r98524,
which included commits to RCS files with non-trunk default branches.
2002-06-21 00:43:23 +00:00
Bill Fenner
a90e161be3 Import tcpdump 3.7.1, from
http://www.tcpdump.org/release/tcpdump-3.7.1.tar.gz
2002-06-21 00:43:23 +00:00
David E. O'Brien
2042599684 Remove GAWK. I removed it from the build 2 weeks ago and the world
did not end.  So finish the deed.
2002-06-20 20:54:54 +00:00
Peter Wemm
d91c14de79 Merge ncurses 5.2-20020615 changes onto mainline. 2002-06-20 19:44:40 +00:00
Peter Wemm
b82face19f Import ncurses 5.2-20020615 to fix a first-column display bug. 2002-06-20 19:42:51 +00:00
Peter Wemm
f7c5a79be8 This commit was generated by cvs2svn to compensate for changes in r98503,
which included commits to RCS files with non-trunk default branches.
2002-06-20 19:42:51 +00:00
David E. O'Brien
c3a1a84ac4 FreeBSD is one of the OS's that does not require the use of libio with Gcc 3.1. 2002-06-18 18:13:14 +00:00
Doug Barton
480ffa338a Teach mdoc about the 4.6 release 2002-06-18 00:41:47 +00:00
Bill Fenner
93b99d6264 In TTEST2(), check to make sure the "l" argument isn't so large that
"snapend - l" underflows; this fixes a buffer overflow with malformed
NFS packets, and may fix other buffer overflows with malformed packets.

Obtained from:	tcpdump.org CVS
2002-06-17 15:26:56 +00:00
Maxim Sobolev
065a383b82 Our strerror_r(3) returns int, not char *. This fixes bogus error messages
like "Cannot stat: (null)"

Reported by:    bde, kris
2002-06-16 12:35:17 +00:00
Mike Heffner
50d3977d34 This commit was generated by cvs2svn to compensate for changes in r98247,
which included commits to RCS files with non-trunk default branches.
2002-06-15 09:40:37 +00:00
Mike Heffner
2e0951ee2d Import lukemftp-1.6-beta2. 2002-06-15 09:40:37 +00:00
Gregory Neil Shapiro
1146811813 sendmail 8.12.4 has been imported 2002-06-11 21:17:35 +00:00
Gregory Neil Shapiro
88ad41d4f0 Resolve conflicts from sendmail 8.12.4 import 2002-06-11 21:16:51 +00:00
Gregory Neil Shapiro
94c0120574 Import sendmail 8.12.4 2002-06-11 21:12:04 +00:00
Gregory Neil Shapiro
2c55319df3 This commit was generated by cvs2svn to compensate for changes in r98121,
which included commits to RCS files with non-trunk default branches.
2002-06-11 21:12:04 +00:00
David E. O'Brien
85441ab5f2 cvs -j -j gave me two copies of TARGET_VERSION and I didn't notice
it before committing.
2002-06-10 15:48:23 +00:00
Mike Barcroft
6a85a2d149 Don't depend on <pwd.h> to bogusly include <sys/types.h>. 2002-06-09 19:29:55 +00:00
David E. O'Brien
60f9b09d26 Allow one to profile FORTRAN77 programs. 2002-06-09 00:03:56 +00:00
Andrey A. Chernov
78fdefb2be Use easy way to sense C and POSIX locales, like in GLIBC 2002-06-08 08:16:22 +00:00
Andrey A. Chernov
19748d5522 Some upgrade instructions 2002-06-08 07:51:53 +00:00
Andrey A. Chernov
83eb65efea This commit was generated by cvs2svn to compensate for changes in r98038,
which included commits to RCS files with non-trunk default branches.
2002-06-08 07:47:23 +00:00
Andrey A. Chernov
ef8c5d6dc1 Virgin import (trimmed) of GNU Sort, textutils 2.0.21 2002-06-08 07:47:23 +00:00
Darren Reed
edf0752ebe Commit changes that happened in IPFilter versions 3.4.27 - 3.4.28 2002-06-07 09:01:41 +00:00
Darren Reed
a8e3e73627 Import IPFilter 3.4.28 2002-06-07 08:58:26 +00:00
Darren Reed
47ec634d3e This commit was generated by cvs2svn to compensate for changes in r98008,
which included commits to RCS files with non-trunk default branches.
2002-06-07 08:58:26 +00:00
Darren Reed
d37d8bd759 Import IPFilter 3.4.28 2002-06-07 08:58:22 +00:00
Darren Reed
289efc37c0 This commit was generated by cvs2svn to compensate for changes in r98005,
which included commits to RCS files with non-trunk default branches.
2002-06-07 08:58:22 +00:00
Maxim Sobolev
3729010bdd Disabling automatic --same-owner option when running as uid 0 along with
the --same-permissions was an overkill, so put it back. This is consistent
with what our old tar did.

Suggested by:	dillon
2002-06-07 06:02:35 +00:00
Maxim Sobolev
c44513507c IMO it was a quite ugly idea that if we are running as uid 0 then we can
safely ignore current umask(2) and assume that permissions should be set
right like in the archive. Not only it violates POLA, but introduces
huge potential security vulnerability, particularly for ports, where
many popular archives come with 777 files and dirs.
2002-06-07 00:03:23 +00:00
David E. O'Brien
4467cfa4b4 Match the DBX_OUTPUT_MAIN_SOURCE_FILE_END definition in dbxelf.h.
Bug found by:	bde
2002-06-06 18:00:58 +00:00
David E. O'Brien
0d68a433ae Allow the specification of LONG_TYPE_SIZE on the command line.
Submitted by:	bde
2002-06-06 03:39:03 +00:00
David E. O'Brien
670fd7ad58 Implement "-mno-align-long-strings" which prevents pessimization of strings
for space.  -Os could do this, but it was easy to hack an MD version.
This saves a whole 32 bytes in boot2, so I think it is worth using it.
(keep how much worse gcc 3.2 will compile boot2...)

Submitted by:	bde (minus gcc 3.2 commentary)
2002-06-06 03:36:32 +00:00
David E. O'Brien
a56822dd07 Didn't get them all in revision 1.50. 2002-06-06 03:30:40 +00:00
David E. O'Brien
c48e5a6b24 Fix excessive alignment for the aout case, and unbreak genassym for that case.
Our aout linker has alignment hacks and doesn't need gcc to do anything special.

Tested for a year by:	bde :-)
2002-06-06 03:28:49 +00:00
David E. O'Brien
3c3942fcfc Tidy do-while.
Requested by:	bde
2002-06-06 03:26:36 +00:00
David E. O'Brien
74d3af89ef Read specs from /usr/libdata/gcc/specs if it exists. 2002-06-06 00:49:58 +00:00
David E. O'Brien
3a77dcde47 The brokenness in ix86_expand_clrstr is quite visible when you
compare the function with ix86_expand_movstr.

Submitted by:	Tor Egge
2002-06-04 18:06:12 +00:00
David E. O'Brien
ec9ec8af6a Gcc 3.1 (-O) now generates broken inline code for memset in some cases.
This broke newfs (newfs left some garbage in a bitmap).

The ASM for:

	#include <string.h>
	int x, foo[100];
	main()
	{
		memset(&foo[0], 0, x);
	}

is (at least if you have fixed function alignment):

	.file	"z.c"
	.text
	.p2align 2,,3
.globl main
	.type	main,@function
main:
	pushl	%ebp
	movl	%esp, %ebp
	pushl	%edi
	pushl	%eax
	movl	x, %ecx
	xorl	%eax, %eax
	shrl	$2, %ecx
	movl	$foo, %edi
	cld
	rep
	stosl
	andl	$-16, %esp
				<-- the lower bits of `len' should be loaded
				    near here
	testl	$2, %edi	<-- this seems to be meant to test the 2^1
				    bit in `len' (not alignment of the pointer
				    like it actually does).  %edi is the wrong
				    register for holding the bits, since it is
				    still needed for the pointer.
	je	.L2
	stosw
.L2:
	testl	$1, %edi	<-- similarly for the 2^0 bit.
	je	.L3
	stosb
.L3:
	movl	-4(%ebp), %edi
	leave
	ret
.Lfe1:
	.size	main,.Lfe1-main
	.comm	foo,400,32
	.comm	x,4,4
	.ident	"GCC: (GNU) 3.1 [FreeBSD] 20020509 (prerelease)"

This seems to only result in (len % 3) bytes not being cleared, since gcc
doesn't seem to use the builtin memset unless it knows that the pointer is
aligned.  If %edi could be misaligned, then too many bytes would be set.

Submitted by:	BDE
2002-06-04 18:04:27 +00:00
Maxim Sobolev
b513ac40e2 Move patches into the src/contrib/tar.
Requested by:   ps
Reviewed by:    md5(1)
2002-06-04 17:31:16 +00:00
Maxim Sobolev
0f4e165dc0 Add importing/upgrading instructions. 2002-06-04 11:08:12 +00:00
Maxim Sobolev
2eb8d11ba7 Add razor used for shaving out GNU Tar. 2002-06-04 10:40:50 +00:00
Maxim Sobolev
011b358aba Virgin import (trimmed) of GNU Tar version 1.13.25. 2002-06-04 10:37:47 +00:00
David E. O'Brien
e07ec61d37 Seems we are not ready for revision 1.8. 2002-05-30 06:04:14 +00:00
David E. O'Brien
69eafeae74 Make our default predefines ANSI clean. 2002-05-30 00:58:35 +00:00
David E. O'Brien
00db7afddd Gcc 3.1.0 pre-release's C++ support bits from the FSF anoncvs repo
on 9-May-2002 15:57:15 EDT.
2002-05-28 16:16:03 +00:00
David E. O'Brien
49b7e6d25a This commit was generated by cvs2svn to compensate for changes in r97403,
which included commits to RCS files with non-trunk default branches.
2002-05-28 16:16:03 +00:00
Juli Mallett
2061e87111 Don't risk catching a signal while handling a signal for a dying child, as we
can then end up not properly clearing wtmp/utmp entries.

PR:		bin/37934
Submitted by:	Sandeep Kumar <skumar@juniper.net>
Reviewed by:	markm
MFC after:	2 weeks
2002-05-27 08:10:24 +00:00
David E. O'Brien
79a702e6f3 The special checks for %b and %D in rev 1.1 were done before skipping over
any characters between the % and the [bD], so only plain %b and %B worked.
This may un-1/2ass our -fformat-extensions support.

Submitted by:	bde
2002-05-26 16:04:37 +00:00
Dag-Erling Smørgrav
55e3fbc9f1 Vendor import of OpenPAM Cinquefoil. 2002-05-24 13:18:43 +00:00
Dag-Erling Smørgrav
acd268c093 This commit was generated by cvs2svn to compensate for changes in r97241,
which included commits to RCS files with non-trunk default branches.
2002-05-24 13:18:43 +00:00
David E. O'Brien
dcbd867c36 1/2assed reimplementation of c-common.c revs 1.2 (-fformat-extensions)
and 1.3 (printf0) for GCC 3.1.
2002-05-22 16:37:09 +00:00
Jacques Vidrine
170a094006 Repair a bug where type AAAA answer records were not displayed.
Reference ISC BIND issue:
``1279.   [bug]           nslookup: partial coversion to similar style outputs
                          for both -type=aaaa and -type=a.''

Reported by:	ume
2002-05-22 14:27:35 +00:00
Jacques Vidrine
9aee5e4673 Do not attempt to free static memory.
Reference ISC BIND issue:
``1278.   [bug]           free() of non-malloced memory in nslookup.''

Reported by:	phkmalloc, Mike Tancsa <mike@sentex.net>
2002-05-22 14:24:44 +00:00
Peter Wemm
3badd6bcab Removed in latest import 2002-05-21 06:52:47 +00:00
Peter Wemm
3e1a1dd23d This commit was generated by cvs2svn to compensate for changes in r97055,
which included commits to RCS files with non-trunk default branches.
2002-05-21 06:52:47 +00:00
Peter Wemm
a17d2cb23c Merge ncurses-5.2-20010512 -> ncurses-5.2-20020518 changes onto mainline. 2002-05-21 05:38:04 +00:00
Peter Wemm
39f2269fcb Import ncurses-5.2-20020518 onto the vendor branch.
Obtained from: ftp://dickey.his.com/ncurses/
2002-05-21 05:30:25 +00:00
Peter Wemm
7467abe828 This commit was generated by cvs2svn to compensate for changes in r97049,
which included commits to RCS files with non-trunk default branches.
2002-05-21 05:30:25 +00:00
Andrey A. Chernov
c4aa5b8efe Fix essential typo in usage
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2002-05-19 10:40:15 +00:00
cvs2svn
dd49f05638 This commit was manufactured by cvs2svn to create branch 'VENDOR-gcc'. 2002-05-17 19:47:49 +00:00
David E. O'Brien
424cbfd989 the processed hash file 2002-05-17 19:47:48 +00:00
Ruslan Ermilov
35abacef2a MD_EXEC_PREFIX doesn't work for the cross-arch compiler.
The change also makes the `cc -print-search-dirs' output
sane (the pre-3.1 way) in the non-cross case.

Draft reviewed by:	obrien
2002-05-16 15:22:58 +00:00
Mark Murray
e077a8bde9 Perl is no longer in base. Long live the port! 2002-05-16 10:09:28 +00:00
David E. O'Brien
4e3e26a2ed Merge c-common.c rev 1.10 into GCC 3.1
Clarify that the "yields only last 2 digits of year in some locales" warning
does not apply to BSD.

Submitted by:	ache
2002-05-14 01:53:53 +00:00
David E. O'Brien
8a75a69eaf If you want to not warn on K&R main(); this is how it should be implemented. 2002-05-14 01:44:02 +00:00
David E. O'Brien
a353d6a0f1 Merge choose-temp.c rev 1.2 (use /tmp 1st, and then /var/tmp) into GCC 3.1. 2002-05-14 00:33:44 +00:00
David E. O'Brien
2e0c661e02 Add framework for our kernel printf enhancements. 2002-05-14 00:30:25 +00:00
Jacques Vidrine
02a3169302 Resolve conflicts after import of ISC BIND 8.3.2-T1B documentation. 2002-05-13 19:35:44 +00:00
Jacques Vidrine
6e0927100d Import of ISC BIND 8.3.2-T1B documentation. 2002-05-13 19:33:58 +00:00
Jacques Vidrine
733fb0d8d3 This commit was generated by cvs2svn to compensate for changes in r96539,
which included commits to RCS files with non-trunk default branches.
2002-05-13 19:33:58 +00:00
Jacques Vidrine
8803a0eeb7 Resolve conflicts after import of ISC BIND 8.3.2-T1B. 2002-05-13 19:33:23 +00:00
Jacques Vidrine
c4dd49b64d Import of ISC BIND 8.3.2-T1B. 2002-05-13 19:31:58 +00:00
Jacques Vidrine
0f9cfbb030 This commit was generated by cvs2svn to compensate for changes in r96536,
which included commits to RCS files with non-trunk default branches.
2002-05-13 19:31:58 +00:00
David E. O'Brien
f4603a02f9 Remove files not part of GCC 3.1. 2002-05-12 21:50:48 +00:00
David E. O'Brien
f0ab1657e0 do-while ASM_OUTPUT_ALIGN to enable its use in more places. 2002-05-12 17:31:12 +00:00
David E. O'Brien
79c021244b Fixes for building a.out bits.
Submitted by:	bde
2002-05-12 12:01:12 +00:00
Giorgos Keramidas
96044fe8c3 CVS_RSH defaults to 'ssh' these days, and not 'rsh'.
PR:		docs/37429
Submitted by:	Martin v. Löwis <martin@v.loewis.de>
Reviewed by:	peter
2002-05-12 02:12:04 +00:00
Alfred Perlstein
cc7b0935ec unbreak build:
commands.c, sys_bsd.c: comment out/remove junk after #endif/#else
network.c, terminal.c, utlities.c: include stdlib.h for exit(3)
2002-05-11 03:19:44 +00:00
David E. O'Brien
8e4199296c Localize the version number at the request of the GCC developers. 2002-05-11 00:25:50 +00:00
Dag-Erling Smørgrav
e55149b3dc Add missing include (perforce change 11137) 2002-05-10 22:03:19 +00:00
Dag-Erling Smørgrav
c690a1aa91 This commit was generated by cvs2svn to compensate for changes in r96364,
which included commits to RCS files with non-trunk default branches.
2002-05-10 22:03:19 +00:00
David E. O'Brien
be42e63aec Add tweaks needed when using as the system compiler. 2002-05-10 19:05:07 +00:00
David E. O'Brien
3b2b7c3e7a Change symbol values to match freebsd.h to avoid warnings. 2002-05-10 09:02:14 +00:00
David E. O'Brien
f35f6d5d45 Remove files not part of GCC 3.1. 2002-05-10 05:26:57 +00:00
David E. O'Brien
c16b9cb4c2 Import data for 3.0.2. 2002-05-10 05:21:15 +00:00
David E. O'Brien
641c89aab9 Gcc 3.1.0 pre-release's Objective C support bits from the FSF anoncvs repo
on 9-May-2002 15:57:15 EDT.
2002-05-09 22:50:04 +00:00
David E. O'Brien
eed3fdf51c This commit was generated by cvs2svn to compensate for changes in r96297,
which included commits to RCS files with non-trunk default branches.
2002-05-09 22:50:04 +00:00
David E. O'Brien
e3f07fb2c3 Gcc 3.1.0 pre-release's libf2c bits from the FSF anoncvs repo on
9-May-2002 15:57:15 EDT.
2002-05-09 22:47:59 +00:00
David E. O'Brien
f8b4ea32c4 This commit was generated by cvs2svn to compensate for changes in r96295,
which included commits to RCS files with non-trunk default branches.
2002-05-09 22:47:59 +00:00
David E. O'Brien
df9426806f Use the stock (3.1 pre) file. 2002-05-09 22:44:32 +00:00
David E. O'Brien
2311abec95 Use the stock file for now (but leave a note behind about our OBE changes). 2002-05-09 22:42:39 +00:00
David E. O'Brien
f8263b4181 Merge rev 1.2 (printf format error fixes) in its 1.8 form into Gcc 3.1 pre. 2002-05-09 22:39:46 +00:00
David E. O'Brien
4a81869631 Use the stock (3.1) file. 2002-05-09 22:38:33 +00:00
David E. O'Brien
1c7d68f037 We use the stock (3.1) file. 2002-05-09 22:16:22 +00:00
David E. O'Brien
d89ca98b1b Merge rev 1.2 (-fformat-extensions) and rev 1.7 (optimization downgrade)
into the Gcc 3.1 prerelease.
2002-05-09 22:15:04 +00:00
David E. O'Brien
e913f56bba Use the stock (3.1 pre) file. 2002-05-09 22:08:26 +00:00
David E. O'Brien
e9d2a91a8b Use the stock (3.1) version. 2002-05-09 22:05:33 +00:00
David E. O'Brien
b2eb577abd Merge rev 1.2 [_exit() over exit()] into the Gcc 3.1 prerelease. 2002-05-09 22:04:44 +00:00
David E. O'Brien
aa12b755c1 Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.{5,13} (ELF, and objformat support);
1.{16,23,25} (better cross building control); 1.21 ("GCC_OPTIONS")
into the GCC 3.1 prerelease.
2002-05-09 22:02:01 +00:00
David E. O'Brien
6a38fe7c3a Merge rev 1.2 (a.out support) into the GCC 3.1 prerelease. 2002-05-09 21:44:15 +00:00