Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint more cross lint friendlyness
details: https://anonhg.NetBSD.org/src/rev/30e79540f30a
branches: trunk
changeset: 778461:30e79540f30a
user: christos <christos%NetBSD.org@localhost>
date: Tue Mar 27 19:24:01 2012 +0000
description:
more cross lint friendlyness
XXX: needs more constants converted double/float
diffstat:
usr.bin/xlint/arch/alpha/targparam.h | 4 ++--
usr.bin/xlint/arch/arm/targparam.h | 4 ++--
usr.bin/xlint/arch/hppa/targparam.h | 4 ++--
usr.bin/xlint/arch/i386/targparam.h | 4 ++--
usr.bin/xlint/arch/ia64/targparam.h | 4 ++--
usr.bin/xlint/arch/m68000/targparam.h | 4 ++--
usr.bin/xlint/arch/m68k/targparam.h | 4 ++--
usr.bin/xlint/arch/mips/targparam.h | 4 ++--
usr.bin/xlint/arch/mips64/targparam.h | 4 ++--
usr.bin/xlint/arch/powerpc/targparam.h | 4 ++--
usr.bin/xlint/arch/powerpc64/targparam.h | 4 ++--
usr.bin/xlint/arch/sh3/targparam.h | 4 ++--
usr.bin/xlint/arch/sparc/targparam.h | 4 ++--
usr.bin/xlint/arch/sparc64/targparam.h | 4 ++--
usr.bin/xlint/arch/vax/targparam.h | 4 ++--
usr.bin/xlint/arch/x86_64/targparam.h | 4 ++--
usr.bin/xlint/common/ilp32.h | 10 +++++++++-
usr.bin/xlint/common/lp64.h | 10 +++++++++-
usr.bin/xlint/common/schar.h | 2 ++
usr.bin/xlint/common/uchar.h | 2 ++
usr.bin/xlint/lint1/cgram.y | 10 +++++-----
usr.bin/xlint/lint1/decl.c | 8 ++++----
usr.bin/xlint/lint1/main1.c | 6 +++---
usr.bin/xlint/lint1/scan.l | 6 +++---
usr.bin/xlint/lint1/tree.c | 22 +++++++++++-----------
25 files changed, 80 insertions(+), 60 deletions(-)
diffs (truncated from 527 to 300 lines):
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/alpha/targparam.h
--- a/usr.bin/xlint/arch/alpha/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/alpha/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.3 2003/05/29 18:12:13 christos Exp $ */
+/* $NetBSD: targparam.h,v 1.4 2012/03/27 19:24:01 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "lp64.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/arm/targparam.h
--- a/usr.bin/xlint/arch/arm/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/arm/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.4 2010/07/11 12:07:31 mrg Exp $ */
+/* $NetBSD: targparam.h,v 1.5 2012/03/27 19:24:01 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "uchar.h"
#include "ilp32.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/hppa/targparam.h
--- a/usr.bin/xlint/arch/hppa/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/hppa/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.4 2012/02/16 16:27:15 skrll Exp $ */
+/* $NetBSD: targparam.h,v 1.5 2012/03/27 19:24:01 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "ilp32.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/i386/targparam.h
--- a/usr.bin/xlint/arch/i386/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/i386/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.3 2003/05/29 18:12:14 christos Exp $ */
+/* $NetBSD: targparam.h,v 1.4 2012/03/27 19:24:02 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "ilp32.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/ia64/targparam.h
--- a/usr.bin/xlint/arch/ia64/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/ia64/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.1 2006/04/01 09:39:47 cherry Exp $ */
+/* $NetBSD: targparam.h,v 1.2 2012/03/27 19:24:02 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "lp64.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/m68000/targparam.h
--- a/usr.bin/xlint/arch/m68000/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/m68000/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.2 2003/05/29 18:12:14 christos Exp $ */
+/* $NetBSD: targparam.h,v 1.3 2012/03/27 19:24:02 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "ilp32.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/m68k/targparam.h
--- a/usr.bin/xlint/arch/m68k/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/m68k/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.3 2003/05/29 18:12:15 christos Exp $ */
+/* $NetBSD: targparam.h,v 1.4 2012/03/27 19:24:02 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "ilp32.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/mips/targparam.h
--- a/usr.bin/xlint/arch/mips/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/mips/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.4 2005/06/12 16:56:59 matt Exp $ */
+/* $NetBSD: targparam.h,v 1.5 2012/03/27 19:24:02 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "ilp32.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/mips64/targparam.h
--- a/usr.bin/xlint/arch/mips64/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/mips64/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.2 2011/01/18 08:30:10 matt Exp $ */
+/* $NetBSD: targparam.h,v 1.3 2012/03/27 19:24:02 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "lp64.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/powerpc/targparam.h
--- a/usr.bin/xlint/arch/powerpc/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/powerpc/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.4 2005/02/19 17:15:56 matt Exp $ */
+/* $NetBSD: targparam.h,v 1.5 2012/03/27 19:24:02 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "uchar.h"
#include "ilp32.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/powerpc64/targparam.h
--- a/usr.bin/xlint/arch/powerpc64/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/powerpc64/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.1 2006/06/29 23:41:28 mrg Exp $ */
+/* $NetBSD: targparam.h,v 1.2 2012/03/27 19:24:02 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "uchar.h"
#include "lp64.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/sh3/targparam.h
--- a/usr.bin/xlint/arch/sh3/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/sh3/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.4 2006/10/20 12:51:12 he Exp $ */
+/* $NetBSD: targparam.h,v 1.5 2012/03/27 19:24:02 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "ilp32.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/sparc/targparam.h
--- a/usr.bin/xlint/arch/sparc/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/sparc/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.3 2003/05/29 18:12:16 christos Exp $ */
+/* $NetBSD: targparam.h,v 1.4 2012/03/27 19:24:03 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "ilp32.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/sparc64/targparam.h
--- a/usr.bin/xlint/arch/sparc64/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/sparc64/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.4 2003/05/29 18:12:16 christos Exp $ */
+/* $NetBSD: targparam.h,v 1.5 2012/03/27 19:24:03 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "lp64.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/vax/targparam.h
--- a/usr.bin/xlint/arch/vax/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/vax/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.5 2010/07/11 12:07:31 mrg Exp $ */
+/* $NetBSD: targparam.h,v 1.6 2012/03/27 19:24:03 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "ilp32.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/arch/x86_64/targparam.h
--- a/usr.bin/xlint/arch/x86_64/targparam.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/arch/x86_64/targparam.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: targparam.h,v 1.3 2003/05/29 18:12:17 christos Exp $ */
+/* $NetBSD: targparam.h,v 1.4 2012/03/27 19:24:03 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -34,7 +34,7 @@
/*
* Machine-dependent target parameters for lint1.
*/
-
+#include "schar.h"
#include "lp64.h"
/*
diff -r 0bce561807ce -r 30e79540f30a usr.bin/xlint/common/ilp32.h
--- a/usr.bin/xlint/common/ilp32.h Tue Mar 27 18:37:57 2012 +0000
+++ b/usr.bin/xlint/common/ilp32.h Tue Mar 27 19:24:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ilp32.h,v 1.2 2002/02/20 16:10:34 thorpej Exp $ */
+/* $NetBSD: ilp32.h,v 1.3 2012/03/27 19:24:03 christos Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -46,6 +46,14 @@
#define QUAD_SIZE (8 * CHAR_BIT)
#define PTR_SIZE (4 * CHAR_BIT)
Home |
Main Index |
Thread Index |
Old Index