Commit Graph

62 Commits

Author SHA1 Message Date
Baptiste Daroussin
3e11bd9e2a Convert to usr.bin/ to LIBADD
Reduce overlinking
2014-11-25 14:29:10 +00:00
Marcel Moolenaar
e7d939bda2 Remove ia64.
This includes:
o   All directories named *ia64*
o   All files named *ia64*
o   All ia64-specific code guarded by __ia64__
o   All ia64-specific makefile logic
o   Mention of ia64 in comments and documentation

This excludes:
o   Everything under contrib/
o   Everything under crypto/
o   sys/xen/interface
o   sys/sys/elf_common.h

Discussed at: BSDcan
2014-07-07 00:27:09 +00:00
Jung-uk Kim
a7880d59c9 Improve compatibility with recent flex from flex.sourceforge.net. 2013-05-03 23:51:32 +00:00
Joel Dahl
52f72e1b03 Remove clause 3 and 4 from the NetBSD Foundation copyright header, missed
in r203971.
2012-09-09 07:23:15 +00:00
Ulrich Spörlein
487ac9ac21 Spelling fixes for usr.bin/ 2011-12-30 11:02:40 +00:00
Kevin Lo
8945a9a003 catstrg() does not set the resulting string length.
PR:	bin/152549
Submitted by:	Henning Petersen <henning dot petersen at t-online dot de>
Approved by:	re (hrs)
2011-08-08 05:22:09 +00:00
Ben Laurie
5f301949ef Fix clang warnings.
Approved by:	philip (mentor)
2011-06-18 13:56:33 +00:00
Ed Maste
5eb2aa4543 Remove more extraneous ;s. 2010-07-15 00:04:14 +00:00
Roman Divacky
7f18fc27cd Rename the ALIGN macro to LINT_ALIGN so it does not clash with machine/param.h
Bump the alignment to 16bytes because lint1 memory allocator is used for
objects that require 16bytes alignment on amd64 (ie. val_t). This makes
lint1 work when compiled with compiler(s) that use SSE for memcpy on amd64.
(e.g. clang).

Approved by:	ed (mentor)
2010-04-09 15:21:11 +00:00
Jaakko Heinonen
91029ccefe Pass the correct size to memset().
PR:		bin/128094
Submitted by:	Henning Petersen
MFC after:	1 week
2010-03-08 16:23:32 +00:00
Warner Losh
89f84ab0a5 The NetBSD Foundation has granted permission to remove clause 3 and 4
from their software.

Obtained from:	NetBSD
2010-02-16 21:43:57 +00:00
Warner Losh
5859ace94f MFp4(mips2-jnpr):
Add mips support.
2008-04-04 21:35:13 +00:00
Christian Brueffer
662cac9f23 Fix some "in in" typos in comments.
PR:		121490
Submitted by:	Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by:	rwatson (mentor), jkoshy
MFC after:	3 days
2008-03-26 07:32:08 +00:00
Yaroslav Tykhiy
9b3d1b0253 Fix a group of typos:
preceed -> precede,
preceeded -> preceded,
preceeding -> preceding.

Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2006-12-29 13:08:46 +00:00
Stefan Farfeleder
4ac45ec4cc Include <err.h> where needed. Add $FreeBSD$ where missing. 2005-08-05 09:07:42 +00:00
Olivier Houchard
bc67fdeab2 Define PTRDIFF_IS_LONG and SIZEOF_IS_ULONG for arm. 2004-05-14 13:44:36 +00:00
Ruslan Ermilov
47d7e8a96f Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
David E. O'Brien
d104f0300a Consistently use __inline for pure c89 compilers.
Submitted by:	Tim Kientzle <kientzle@acm.org>
2003-06-07 18:12:30 +00:00
Peter Wemm
203fc38a60 Add amd64 settings.
Approved by:  re (scottl)
2003-05-08 06:33:49 +00:00
Jens Schweikhardt
3724136741 Fix typos; add FreeBSD Id where missing. 2003-01-01 18:13:45 +00:00
Jens Schweikhardt
d64ada501a Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
Ruslan Ermilov
749757ed33 mdoc(7) police: overhaul.
Approved by:	re
2002-12-11 17:13:09 +00:00
Ruslan Ermilov
86c8719212 mdoc(7) police: Fixed the declaration of the -column list.
Approved by:	re
2002-12-11 16:59:01 +00:00
Benno Rice
894dbc508a Teach lint about powerpc.
Approved by:	re (rwatson)
2002-12-09 23:27:47 +00:00
Ruslan Ermilov
642b1db169 Need to run lint1 from ${WORLDTMP}/usr/libexec during buildworld.
Spotted by:	fjoe
2002-10-23 12:05:27 +00:00
Peter Wemm
66422f5b7a Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
Mark Murray
095dcf9966 Merge conflicts. 2002-07-19 16:38:21 +00:00
Ruslan Ermilov
b7a6ce1b2f Make sure the file in Attic is really "dead".
Problem found by:	ken
2002-05-07 06:57:04 +00:00
Dag-Erling Smørgrav
d397408818 Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
Ruslan Ermilov
ff9ed61c93 FreeBSD prior to 4.4-RELEASE and older versions of 5.0-CURRENT do
not have setprogname(3) and getprogname(3), and we need to build
lint(1) as a cross-tool to bootstrap.  Versions from lib/libc/gen
can't be compiled either.

PR:		bin/36747
2002-04-07 16:53:47 +00:00
Warner Losh
3f330d7d1a remove __P 2002-03-22 01:42:45 +00:00
Ruslan Ermilov
bd42830f0f Make lint(1) a cross-tool.
(See commit log for usr.bin/xlint/Makefile,v 1.11 for what was wrong
with enabling build of lint libraries in rev. 1.12.)

This fixes cross-arch compiles (running binaries for a different arch
when generating lint.7 and lint libraries) and cross-branch compiles
(4.x -> 5.0 buildworld should be working again).
2002-03-20 18:25:50 +00:00
Mark Murray
724badfb6e Punt to attic file that moved in latest import. 2002-03-11 11:28:56 +00:00
Jake Burkholder
c57dee1fd1 Add sparc64 ifdefs. 2002-03-10 01:34:22 +00:00
Mark Murray
f84f50e683 Merge conflicts, fix Makefiles and remove (re)moved file(s). 2002-03-03 15:12:50 +00:00
Mark Murray
675d3eb019 This commit was generated by cvs2svn to compensate for changes in r91586,
which included commits to RCS files with non-trunk default branches.
2002-03-03 13:17:00 +00:00
Mark Murray
fdd1668006 Import of NetBSD's (x)lint, snapshotted at 2002-3-3. 2002-03-03 13:17:00 +00:00
Doug Rabson
8503f9516f Make this build on ia64. 2001-10-09 20:04:02 +00:00
David E. O'Brien
3c5bf66cec Expand x{malloc,calloc,realloc,strdup} in-place.
(even found some unchecked naked uses)
2001-07-24 14:02:07 +00:00
Kris Kennaway
013fab318c Mark a function as __printflike() and fix a non-exploitable format string
warning.

MFC after:	1 week
2001-07-05 10:08:25 +00:00
Jeroen Ruigrok van der Werven
c27ec88714 Remove XXX_BROKEN_GCC from the Makefile.
This compiles just fine with recent gcc's.
2001-04-26 09:44:41 +00:00
Jeroen Ruigrok van der Werven
370795830b Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
remain so.

Submitted by:	bde/obrien
2001-04-22 17:06:12 +00:00
Jeroen Ruigrok van der Werven
16a10d334e Aesthetics: fix placement of $NetBSD$ (use space instead of tab) 2001-04-21 11:17:44 +00:00
Jeroen Ruigrok van der Werven
1b1990f6e2 Properly constify the rcsid[]. 2001-04-20 09:43:30 +00:00
Jeroen Ruigrok van der Werven
30fb1fac8d Add $FreeBSD$ to the files which didn't have it yet.
Fix the .c files, so that the $FreeBSD$ is contained within the rcsid. [bde]
2001-04-20 09:33:57 +00:00
Jeroen Ruigrok van der Werven
9d083950b7 Fix spelling of comparison (was: comparision).
Add $FreeBSD$.

Obtained from:	NetBSD/OpenBSD
2001-04-19 11:10:51 +00:00
David E. O'Brien
a8e642f574 Change the spelling of .' to .' from .OBJDIR since `.' really is where
generated files land.  Also give precedence to generated files.
2000-12-05 22:10:43 +00:00
David E. O'Brien
2c5569d6ff The GCC 2.96 snapshots have slightly different rules for finding include
files.  Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive.  Some were
misspellings of "-I${.CURDIR}" as "-I.".
2000-12-01 09:39:28 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Dmitrij Tejblum
27ff174015 Declaration of strtouq() is not missing from stdlib.h, so don't redeclare
it.
1999-08-25 14:22:20 +00:00