History log of /freebsd-10.0-release/usr.bin/xlint/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


250227 04-May-2013 jkim

Improve compatibility with recent flex from flex.sourceforge.net.


240257 09-Sep-2012 joel

Remove clause 3 and 4 from the NetBSD Foundation copyright header, missed
in r203971.


239272 15-Aug-2012 gonzo

Merging of projects/armv6, part 3

r238211:
Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb

This adds a new TARGET_ARCH for building on ARM
processors that support the ARMv6K multiprocessor
extensions. In particular, these processors have
better support for TLS and mutex operations.

This mostly touches a lot of Makefiles to extend
existing patterns for inferring CPUARCH from ARCH.
It also configures:
* GCC to default to arm1176jz-s
* GCC to predefine __FreeBSD_ARCH_armv6__
* gas to default to ARM_ARCH_V6K
* uname -p to return 'armv6'
* make so that MACHINE_ARCH defaults to 'armv6'
It also changes a number of headers to use
the compiler __ARM_ARCH_XXX__ macros to configure
processor-specific support routines.

Submitted by: Tim Kientzle <kientzle@freebsd.org>


233644 29-Mar-2012 jmallett

Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.
This makes our naming scheme more closely match other systems and the
expectations of much third-party software. MIPS builds which are little-endian
should require and exhibit no changes. Big-endian TARGET_ARCHes must be
changed:
From: To:
mipseb mips
mipsn32eb mipsn32
mips64eb mips64

An entry has been added to UPDATING and some foot-shooting protection (complete
with warnings which should become errors in the near future) to the top-level
base system Makefile.


228992 30-Dec-2011 uqs

Spelling fixes for usr.bin/


227123 05-Nov-2011 jilles

lint: Fix lseek() argument order.

Because SEEK_SET is 0, this seems to have no effect on the generated code.

PR: bin/160806
Submitted by: Henning Petersen <henning dot petersen at t-online dot de>
Obtained from: NetBSD


224702 08-Aug-2011 kevlo

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)


223262 18-Jun-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


217123 07-Jan-2011 imp

Retire TARGET_ABI.

Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces
MACHINE_ARCH=mipse[lb] TARGET_ABI=n64.

MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires
WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated
this much, but implemented this to preserve as much of the TARGET_ABI
functionality that I could. Since its presence doesn't affect the
working cases, I've kept it in for now.

Added mips64e[lb] to make universe, so more kernels build.

And I think this (finally) closes the curtain on the tbemd tree.


212535 13-Sep-2010 imp

Doh! two last second refactoring typos crept in. Fix.


212534 13-Sep-2010 imp

Revert r212513 and reimplement the search order to be ARCH, CPUARCH


212513 13-Sep-2010 imp

merge powerpc and powerpc64 now that we use TARGET_CPUARCH


212512 13-Sep-2010 imp

Move to using TARGET_CPUARCH instead of TARGET_ARCH.


210088 15-Jul-2010 emaste

Remove more extraneous ;s.


209921 12-Jul-2010 nwhitehorn

Teach truss and xlint how to operate on 64-bit PowerPC systems.


206424 09-Apr-2010 rdivacky

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)


204872 08-Mar-2010 jh

Pass the correct size to memset().

PR: bin/128094
Submitted by: Henning Petersen
MFC after: 1 week


203971 16-Feb-2010 imp

The NetBSD Foundation has granted permission to remove clause 3 and 4
from their software.

Obtained from: NetBSD


201725 07-Jan-2010 dwmalone

This now passes a make universe with WARNS=6.


201610 05-Jan-2010 dwmalone

1) Make usage() as dead2 - it helps the compiler know that some vars
are not used uninitialised.
2) Fix some constness problems.
3) Avoid a signedness problem by casting to size_t. If bn != stuff,
than stuff-1-bn should be > 0.


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


177927 04-Apr-2008 imp

MFp4(mips2-jnpr):

Add mips support.


177626 26-Mar-2008 brueffer

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


165628 29-Dec-2006 yar

Fix a group of typos:
preceed -> precede,
preceeded -> preceded,
preceeding -> preceding.

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>


162493 21-Sep-2006 kan

Pass "-Wtraditional -Wno-system-headers" to compiler as two separate
arguments. GCC4 was unhappy with them combined, while GCC 3.4 did
not care.


161547 23-Aug-2006 ru

Remove alpha-specific stuff.


148723 05-Aug-2005 stefanf

Include <err.h> where needed. Add $FreeBSD$ where missing.


141846 13-Feb-2005 ru

Expand *n't contractions.


139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


129223 14-May-2004 cognet

Define PTRDIFF_IS_LONG and SIZEOF_IS_ULONG for arm.


126178 23-Feb-2004 johan

style.Makefile(5):
Use WARNS?= instead of WARNS=.


125503 05-Feb-2004 ru

Fixed style of DPADD and LDADD assignments as per style.Makefile(5).


121927 03-Nov-2003 marcel

The size of a long double is 16 bytes, not 12 bytes.


121528 26-Oct-2003 peter

Move the -Wtraditional warning from the global cpp flags to when the -p
(portability warnings) switch is used. Add -Wno-system-headers after it so
that we dont get 500 screenfulls of warnings about #elif in /usr/include.
I'm not entirely happy with this. Maybe cdefs.h shouldn't use #elif and
instead nest #else clauses?


116402 15-Jun-2003 markm

If lint(1) is not "lint", don't try to lint the xlint compat-libs. A
third-party lint is probably being used.


115967 07-Jun-2003 obrien

Consistently use __inline for pure c89 compilers.

Submitted by: Tim Kientzle <kientzle@acm.org>


114831 08-May-2003 peter

Add amd64 settings.

Approved by: re (scottl)


114617 03-May-2003 obrien

No, forget about rev 1.24. My system wasn't virgin enough when I tested that.
Restore rev 1.23.


114597 03-May-2003 obrien

Forget about rev 1.23. -$ is now spelled -fno-dollars-in-identifiers.

Submitted by: kan


114596 03-May-2003 obrien

GCC 3.3's cpplib does not impliment -$ (forbid the use of $ in identifiers).


108532 01-Jan-2003 schweikh

Fix typos; add FreeBSD Id where missing.


108470 30-Dec-2002 schweikh

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


107749 11-Dec-2002 ru

mdoc(7) police: overhaul.

Approved by: re


107748 11-Dec-2002 ru

mdoc(7) police: Fixed the declaration of the -column list.

Approved by: re


107716 09-Dec-2002 benno

Teach lint about powerpc.

Approved by: re (rwatson)


107268 26-Nov-2002 ru

mdoc(7) police:

Restore (once again) my fixes from revision 1.20 that got lost in
revision 1.25 merge.

Approved by: re


105788 23-Oct-2002 ru

Need to run lint1 from ${WORLDTMP}/usr/libexec during buildworld.

Spotted by: fjoe


103436 17-Sep-2002 peter

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


102770 01-Sep-2002 iedowse

If the CC environment variable contains multiple words then split
it up into separate exec arguments.

Reviewed by: markm


100364 19-Jul-2002 markm

Merge conflicts.


100361 19-Jul-2002 markm

This commit was generated by cvs2svn to compensate for changes in r100360,
which included commits to RCS files with non-trunk default branches.


98549 21-Jun-2002 phk

#include <sys/time.h> before <sys/stat.h> to get timespec.


96147 07-May-2002 ru

Make sure the file in Attic is really "dead".

Problem found by: ken


95258 22-Apr-2002 des

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}/.


95124 20-Apr-2002 charnier

Use `The .Nm utility'


94745 15-Apr-2002 ru

Don't unnecessarily include bsd.own.mk.
(This is apparently required in NetBSD).


94124 07-Apr-2002 ru

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


94034 07-Apr-2002 peter

Later versions of gcc object very strongly to the -C flag being passed
as -CC. It makes no difference to gcc in the tree, but this change is
necessary for gcc-3.1 to work.


92922 22-Mar-2002 imp

remove __P


92864 21-Mar-2002 peter

Add an ia64 targparam.h


92813 20-Mar-2002 ru

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).


92490 17-Mar-2002 markm

Build lint libraries.


92347 15-Mar-2002 ru

Argh, I constantly keep forgetting about these XXX's I put.


92345 15-Mar-2002 ru

mdoc(7) police:

Restore fixes from revision 1.20 that got lost in revision 1.21 merge.
Fixed some more.


92089 11-Mar-2002 markm

Try harder to lint without nonstandard stuff.


92088 11-Mar-2002 markm

Punt to attic file that moved in latest import.


92087 11-Mar-2002 markm

Fix a prototype to match our headers. I am not convinced that doing
this in this file is the correct way round. (Maybe our definition of
__assert is wrong?)

Anyway, perhaps we should revisit this later. For the time being,
building lint libraries here does not blow up.


92085 11-Mar-2002 markm

Fix silly one line error. (Half a .if statement left behind).


91977 10-Mar-2002 jake

Add sparc64 ifdefs.


91818 07-Mar-2002 markm

Completeley revert this to the vendor code. This is in preparation to
doing some fixing...

...asked for by: bde


91592 03-Mar-2002 markm

Merge conflicts, fix Makefiles and remove (re)moved file(s).


91587 03-Mar-2002 markm

This commit was generated by cvs2svn to compensate for changes in r91586,
which included commits to RCS files with non-trunk default branches.


87686 11-Dec-2001 markm

WARNS=2 fixes.


84734 09-Oct-2001 dfr

Make this build on ia64.


80284 24-Jul-2001 obrien

Expand x{malloc,calloc,realloc,strdup} in-place.
(even found some unchecked naked uses)


79307 05-Jul-2001 kris

Mark a function as __printflike() and fix a non-exploitable format string
warning.

MFC after: 1 week


76119 29-Apr-2001 peter

Disable llib. The previous commit does not go anywhere near far enough
to enable this.
1: it was running xlint out of the object directory, which is not
safe (ie: run a 5.x binary on a 4.x world - no libc.so.5, or run an
alpha binary on x86).
2: lint has /usr/libexec/lint1 and /usr/libexec/lint2 hard coded in.
This is the same as problem 1.
3: lint has got /usr/bin/cc hard coded in as well. Also, see problem 1.
There are probably more problems, but these are enough of a showstopper.


76065 27-Apr-2001 ru

mdoc(7) police: fix markup.
(Shows how powerful new -mdoc is.)


76020 26-Apr-2001 asmodai

Remove XXX_BROKEN_GCC from the Makefile.
This compiles just fine with recent gcc's.


75923 24-Apr-2001 asmodai

Wrap lint calling in a variable.

Set LINT to the obj path, since we need to use the new lint's features
to create .ln files. We do not want to use the installed version for that,
since that might create files according to the old lint.

This is still a work in progress to clean this all up, but it gets
through buildworld, which was the problem at hand.


75922 24-Apr-2001 asmodai

Add build-tools target to the description file, requisite of making
lint a build-tool.

Also re-enable llib.


75882 23-Apr-2001 asmodai

Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
remain so.

Submitted by: bde/obrien


75831 22-Apr-2001 asmodai

Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
remain so.

Submitted by: bde/obrien


75782 21-Apr-2001 asmodai

Aesthetics: fix placement of $NetBSD$ (use space instead of tab)


75731 20-Apr-2001 asmodai

Properly constify the rcsid[].


75730 20-Apr-2001 asmodai

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]


75710 19-Apr-2001 asmodai

Change uses of mktemp() to mkstemp().

Call cc -E, not cpp, this allows lint to be unaware of any
machine-dependent defines that cc(1) may normally define.

Change fork() to vfork() and exit() to _exit().

Reuse temporary file so that multiple files passed can be processed without
problems.


75707 19-Apr-2001 asmodai

Change SYNOPSIS to use mdoc keeps.

Obtained from: NetBSD


75706 19-Apr-2001 asmodai

Fix some mdoc usage.

Obtained from: NetBSD


75705 19-Apr-2001 asmodai

Fix english grammar: then does -> than.

Obtained from: NetBSD


75704 19-Apr-2001 asmodai

Add a comma after e.g.. This syncs us more with NetBSD and looks more
aesthetically correct.

Obtained from: NetBSD


75697 19-Apr-2001 asmodai

Fix spelling of comparison (was: comparision).

Add $FreeBSD$.

Obtained from: NetBSD/OpenBSD


75670 18-Apr-2001 ru

mdoc(7) police: normalize .Nd.


75085 02-Apr-2001 ru

Do not override `realinstall' target, use ${PROGNAME}.


74848 27-Mar-2001 ru

MAN[1-9] -> MAN.


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


71102 16-Jan-2001 ru

Prepare for mdoc(7)NG.


70197 19-Dec-2000 ru

Prepare for mdoc(7)NG.


69640 05-Dec-2000 obrien

Change the spelling of `.' to `.' from .OBJDIR since `.' really is where
generated files land. Also give precedence to generated files.


69453 01-Dec-2000 obrien

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.".


68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


57670 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


56097 16-Jan-2000 sheldonh

Cosmetic change: space instead of tab in front of $FreeBSD$.

Submitted by: bde


56035 15-Jan-2000 sheldonh

Revert previous change, which is reported to have broken world. I
did test this through a ``make world'', but of course I already
had a working lint binary (one that does not call cpp -undef)
installed.

Reported by: "Pierre Y. Dampure" <Pierre.Dampure@barclayscapital.com>


55961 14-Jan-2000 sheldonh

Populate /usr/libdata/lint again. David Malone <dwmalone@maths.tcd.ie>
is responsible for getting me to look at the NetBSD makefiles. :-)

Obtained from: NetBSD


55959 14-Jan-2000 sheldonh

Fix lint for the new cpp. Lint is still broken in other ways, but
this at least allows the use of lint -i on single files again.

Fiddled rcsid to satisfy commitprep.pl; the original NetBSD tag
is still in the comments.


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


50351 25-Aug-1999 dt

Declaration of strtouq() is not missing from stdlib.h, so don't redeclare
it.


48792 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


43191 25-Jan-1999 eivind

Use __XSTRING() from cdefs.h instead of rolling my own.


43104 23-Jan-1999 eivind

I may have forgotten to upgrade this value, but that will never happen
again. (Fully clone the value of __FreeBSD__ from the compiler.)


43097 23-Jan-1999 jhay

__FreeBSD__ is also used here.

Forgotten by: Lots of people.
Pointed out by: make world.


35744 05-May-1998 bde

Put y.tab.h back in SRCS. This used to be the best way to get
dependencies on y.tab.h generated. It will soon be used to tell
bsd.dep.mk that y.tab.h itself needs to be generated.


35708 04-May-1998 bde

Fixed races in `make -jN' using new yacc rules.


34801 23-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.


34127 06-Mar-1998 bde

Fixed `make -jN' for large N. Just put the generated file y.tab.h in
SRCS and add a dummy rule to create it. This and cleaning of yacc
output files should all be handled by bsd.prog.mk.


26582 12-Jun-1997 tegge

Work around a gcc bug (causing false warnings about integral constant being too large, even when the integral constant was e.g. 1).


23711 11-Mar-1997 peter

Cope with the possibility of __FreeBSD__ = 3


21786 16-Jan-1997 alex

Sweep through the tree fixing mmap() usage:

- Use MAP_FAILED instead of the constant -1 to indicate
failure (required by POSIX).
- Removed flag arguments of '0' (required by POSIX).
- Fixed code which expected an error return of 0.
- Fixed code which thought any address with the high bit set
was an error.
- Check for failure where no checks were present.

Discussed with: bde


18549 28-Sep-1996 wosch

.Os NetBSD -> .Os FreeBSD.
The pages are not NetBSD specific and FreeBSD is not a child of NetBSD.


17142 12-Jul-1996 jkh

General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>


16306 11-Jun-1996 alex

Fix a couple of minor typos. Closes PR 1309.

Reviewed by: alex
Submitted by: jraynard


16073 02-Jun-1996 phk

Backout yacc changes.


16053 01-Jun-1996 bde

Finished yacc rules changes.


16022 30-May-1996 phk

yacc rules change.


15158 09-Apr-1996 mpp

Do not include math.h because it isn't used and it causes
"make world" to fail if you use the msun math library and
blow away /usr/include and then do "make world". This is because
the msun math.h isn't installed with the other include files before
xlint is built. It finally gets installed when the msun library
is built.

Perhaps "make world" should install the msun math.h file if
it doesn't install the CSRG math.h, to prevent problems
like this in the future.


15082 07-Apr-1996 mpp

Correct some man page cross references and file location references.


14963 31-Mar-1996 paul

Don't build the special case lint libraries.


14799 24-Mar-1996 paul

Move llib-lstdc to llib-lc since that's what lint expects.


14798 24-Mar-1996 paul

Re-enable building of lint libraries.


14797 24-Mar-1996 paul

Build and install llib-lstdc.ln. Disable Posix version.
Change install mode from NONBINMODE to LIBMODE


14788 24-Mar-1996 paul

Don't build lint libraries for the moment.


13948 06-Feb-1996 wosch

replace 'install' with ${INSTALL}


12134 06-Nov-1995 joerg

Well, Jochen adopted most of my submissions. So only the different
style of error reporting (i prefer gcc style to be consistent with the
compiler) is left, plus a minor nit he's most likely been overlooking.

There are still problems with bootstrapping, and you should expect
troubles when linting libc...


12100 05-Nov-1995 joerg

This commit was generated by cvs2svn to compensate for changes in r12099,
which included commits to RCS files with non-trunk default branches.