Sun Jun 27 08:43:50 2021 UTC ()
lint: fix typo in comment for target platform definitions


(rillig)
diff -r1.4 -r1.5 src/usr.bin/xlint/arch/aarch64/targparam.h
diff -r1.7 -r1.8 src/usr.bin/xlint/arch/alpha/targparam.h
diff -r1.8 -r1.9 src/usr.bin/xlint/arch/arm/targparam.h
diff -r1.5 -r1.6 src/usr.bin/xlint/arch/coldfire/targparam.h
diff -r1.8 -r1.9 src/usr.bin/xlint/arch/hppa/targparam.h
diff -r1.7 -r1.8 src/usr.bin/xlint/arch/i386/targparam.h
diff -r1.5 -r1.6 src/usr.bin/xlint/arch/ia64/targparam.h
diff -r1.6 -r1.7 src/usr.bin/xlint/arch/m68000/targparam.h
diff -r1.7 -r1.8 src/usr.bin/xlint/arch/m68k/targparam.h
diff -r1.8 -r1.9 src/usr.bin/xlint/arch/mips/targparam.h
diff -r1.8 -r1.9 src/usr.bin/xlint/arch/mips64/targparam.h
diff -r1.1 -r1.2 src/usr.bin/xlint/arch/mipsn64/targparam.h
diff -r1.4 -r1.5 src/usr.bin/xlint/arch/or1k/targparam.h
diff -r1.8 -r1.9 src/usr.bin/xlint/arch/powerpc/targparam.h
diff -r1.5 -r1.6 src/usr.bin/xlint/arch/powerpc64/targparam.h
diff -r1.4 -r1.5 src/usr.bin/xlint/arch/riscv32/targparam.h
diff -r1.4 -r1.5 src/usr.bin/xlint/arch/riscv64/targparam.h
diff -r1.8 -r1.9 src/usr.bin/xlint/arch/sh3/targparam.h
diff -r1.7 -r1.8 src/usr.bin/xlint/arch/sparc/targparam.h
diff -r1.8 -r1.9 src/usr.bin/xlint/arch/sparc64/targparam.h
diff -r1.9 -r1.10 src/usr.bin/xlint/arch/vax/targparam.h
diff -r1.7 -r1.8 src/usr.bin/xlint/arch/x86_64/targparam.h

cvs diff -r1.4 -r1.5 src/usr.bin/xlint/arch/aarch64/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/aarch64/targparam.h 2021/01/24 14:47:40 1.4
+++ src/usr.bin/xlint/arch/aarch64/targparam.h 2021/06/27 08:43:46 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.4 2021/01/24 14:47:40 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.5 2021/06/27 08:43:46 rillig Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2014 The NetBSD Foundation, Inc. 4 * Copyright (c) 2014 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Matt Thomas of 3am Software Foundry. 8 * by Matt Thomas of 3am Software Foundry.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -26,27 +26,26 @@ @@ -26,27 +26,26 @@
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGE. 29 * POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32/* 32/*
33 * Machine-dependent target parameters for lint1. 33 * Machine-dependent target parameters for lint1.
34 */ 34 */
35#include "schar.h" 35#include "schar.h"
36#include "lp64.h" 36#include "lp64.h"
37 37
38/* 38/*
39 * Should be set to 1 if the difference of two pointers is of type long 39 * Should be set to LONG if the difference of two pointers is of type long
40 * or the value of sizeof is of type unsigned long. Note this MUST be 40 * or the value of sizeof is of type unsigned long. Note this MUST be
41 * kept in sync with the compiler! 41 * kept in sync with the compiler!
42 */ 42 */
43 
44#define PTRDIFF_TSPEC LONG 43#define PTRDIFF_TSPEC LONG
45#define SIZEOF_TSPEC ULONG 44#define SIZEOF_TSPEC ULONG
46#define INTPTR_TSPEC LONG 45#define INTPTR_TSPEC LONG
47 46
48#define FLOAT_SIZE 32 47#define FLOAT_SIZE 32
49#define DOUBLE_SIZE 64 48#define DOUBLE_SIZE 64
50#define LDOUBLE_SIZE 128 49#define LDOUBLE_SIZE 128
51 50
52#define ENUM_SIZE 32 51#define ENUM_SIZE 32

cvs diff -r1.7 -r1.8 src/usr.bin/xlint/arch/alpha/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/alpha/targparam.h 2021/01/24 14:47:40 1.7
+++ src/usr.bin/xlint/arch/alpha/targparam.h 2021/06/27 08:43:46 1.8
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.7 2021/01/24 14:47:40 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.8 2021/06/27 08:43:46 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "lp64.h" 38#include "lp64.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC LONG 45#define PTRDIFF_TSPEC LONG
47#define SIZEOF_TSPEC ULONG 46#define SIZEOF_TSPEC ULONG
48#define INTPTR_TSPEC LONG 47#define INTPTR_TSPEC LONG
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.8 -r1.9 src/usr.bin/xlint/arch/arm/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/arm/targparam.h 2021/01/24 14:47:41 1.8
+++ src/usr.bin/xlint/arch/arm/targparam.h 2021/06/27 08:43:46 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:41 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:46 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,28 +28,27 @@ @@ -28,28 +28,27 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "uchar.h" 37#include "uchar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC LONG 45#define PTRDIFF_TSPEC LONG
47#define SIZEOF_TSPEC ULONG 46#define SIZEOF_TSPEC ULONG
48#define INTPTR_TSPEC LONG 47#define INTPTR_TSPEC LONG
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54/* XXX ARM ELF ABI says packed enums -- variable size! */ 53/* XXX ARM ELF ABI says packed enums -- variable size! */
55#define ENUM_SIZE 32 54#define ENUM_SIZE 32

cvs diff -r1.5 -r1.6 src/usr.bin/xlint/arch/coldfire/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/coldfire/targparam.h 2021/01/24 14:47:41 1.5
+++ src/usr.bin/xlint/arch/coldfire/targparam.h 2021/06/27 08:43:47 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.5 2021/01/24 14:47:41 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.6 2021/06/27 08:43:47 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC INT 45#define PTRDIFF_TSPEC INT
47#define SIZEOF_TSPEC UINT 46#define SIZEOF_TSPEC UINT
48#define INTPTR_TSPEC INT 47#define INTPTR_TSPEC INT
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.8 -r1.9 src/usr.bin/xlint/arch/hppa/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/hppa/targparam.h 2021/01/24 14:47:41 1.8
+++ src/usr.bin/xlint/arch/hppa/targparam.h 2021/06/27 08:43:47 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:41 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:47 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC LONG 45#define PTRDIFF_TSPEC LONG
47#define SIZEOF_TSPEC ULONG 46#define SIZEOF_TSPEC ULONG
48#define INTPTR_TSPEC LONG 47#define INTPTR_TSPEC LONG
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.7 -r1.8 src/usr.bin/xlint/arch/i386/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/i386/targparam.h 2021/01/24 14:47:41 1.7
+++ src/usr.bin/xlint/arch/i386/targparam.h 2021/06/27 08:43:47 1.8
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.7 2021/01/24 14:47:41 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.8 2021/06/27 08:43:47 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC INT 45#define PTRDIFF_TSPEC INT
47#define SIZEOF_TSPEC UINT 46#define SIZEOF_TSPEC UINT
48#define INTPTR_TSPEC INT 47#define INTPTR_TSPEC INT
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 96 51#define LDOUBLE_SIZE 96
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.5 -r1.6 src/usr.bin/xlint/arch/ia64/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/ia64/targparam.h 2021/01/24 14:47:41 1.5
+++ src/usr.bin/xlint/arch/ia64/targparam.h 2021/06/27 08:43:47 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.5 2021/01/24 14:47:41 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.6 2021/06/27 08:43:47 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "lp64.h" 38#include "lp64.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC LONG 45#define PTRDIFF_TSPEC LONG
47#define SIZEOF_TSPEC ULONG 46#define SIZEOF_TSPEC ULONG
48#define INTPTR_TSPEC LONG 47#define INTPTR_TSPEC LONG
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 128 51#define LDOUBLE_SIZE 128
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.6 -r1.7 src/usr.bin/xlint/arch/m68000/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/m68000/targparam.h 2021/01/24 14:47:41 1.6
+++ src/usr.bin/xlint/arch/m68000/targparam.h 2021/06/27 08:43:47 1.7
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.6 2021/01/24 14:47:41 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.7 2021/06/27 08:43:47 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC INT 45#define PTRDIFF_TSPEC INT
47#define SIZEOF_TSPEC UINT 46#define SIZEOF_TSPEC UINT
48#define INTPTR_TSPEC INT 47#define INTPTR_TSPEC INT
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.7 -r1.8 src/usr.bin/xlint/arch/m68k/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/m68k/targparam.h 2021/01/24 14:47:41 1.7
+++ src/usr.bin/xlint/arch/m68k/targparam.h 2021/06/27 08:43:47 1.8
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.7 2021/01/24 14:47:41 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.8 2021/06/27 08:43:47 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC INT 45#define PTRDIFF_TSPEC INT
47#define SIZEOF_TSPEC UINT 46#define SIZEOF_TSPEC UINT
48#define INTPTR_TSPEC INT 47#define INTPTR_TSPEC INT
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 96 51#define LDOUBLE_SIZE 96
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.8 -r1.9 src/usr.bin/xlint/arch/mips/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/mips/targparam.h 2021/01/24 14:47:41 1.8
+++ src/usr.bin/xlint/arch/mips/targparam.h 2021/06/27 08:43:47 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:41 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:47 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,31 +28,30 @@ @@ -28,31 +28,30 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#ifdef _LP64_X 45#ifdef _LP64_X
47#define PTRDIFF_TSPEC LONG 46#define PTRDIFF_TSPEC LONG
48#define SIZEOF_TSPEC ULONG 47#define SIZEOF_TSPEC ULONG
49#define INTPTR_TSPEC LONG 48#define INTPTR_TSPEC LONG
50#else 49#else
51#define PTRDIFF_TSPEC INT 50#define PTRDIFF_TSPEC INT
52#define SIZEOF_TSPEC UINT 51#define SIZEOF_TSPEC UINT
53#define INTPTR_TSPEC INT 52#define INTPTR_TSPEC INT
54#endif 53#endif
55 54
56#define FLOAT_SIZE 32 55#define FLOAT_SIZE 32
57#define DOUBLE_SIZE 64 56#define DOUBLE_SIZE 64
58#define LDOUBLE_SIZE 64 57#define LDOUBLE_SIZE 64

cvs diff -r1.8 -r1.9 src/usr.bin/xlint/arch/mips64/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/mips64/targparam.h 2021/01/24 14:47:41 1.8
+++ src/usr.bin/xlint/arch/mips64/targparam.h 2021/06/27 08:43:48 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:41 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:48 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -29,27 +29,26 @@ @@ -29,27 +29,26 @@
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38// This is for __mips_n32 38// This is for __mips_n32
39#include "ilp32.h" 39#include "ilp32.h"
40 40
41/* 41/*
42 * Should be set to 1 if the difference of two pointers is of type long 42 * Should be set to LONG if the difference of two pointers is of type long
43 * or the value of sizeof is of type unsigned long. Note this MUST be 43 * or the value of sizeof is of type unsigned long. Note this MUST be
44 * kept in sync with the compiler! 44 * kept in sync with the compiler!
45 */ 45 */
46 
47#define PTRDIFF_TSPEC LONG 46#define PTRDIFF_TSPEC LONG
48#define SIZEOF_TSPEC ULONG 47#define SIZEOF_TSPEC ULONG
49#define INTPTR_TSPEC LONG 48#define INTPTR_TSPEC LONG
50 49
51#define FLOAT_SIZE 32 50#define FLOAT_SIZE 32
52#define DOUBLE_SIZE 64 51#define DOUBLE_SIZE 64
53#define LDOUBLE_SIZE 128 52#define LDOUBLE_SIZE 128
54 53
55#define ENUM_SIZE 32 54#define ENUM_SIZE 32

cvs diff -r1.1 -r1.2 src/usr.bin/xlint/arch/mipsn64/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/mipsn64/targparam.h 2021/04/30 21:51:48 1.1
+++ src/usr.bin/xlint/arch/mipsn64/targparam.h 2021/06/27 08:43:48 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.1 2021/04/30 21:51:48 christos Exp $ */ 1/* $NetBSD: targparam.h,v 1.2 2021/06/27 08:43:48 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -29,27 +29,26 @@ @@ -29,27 +29,26 @@
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38// This is for __mips_n64 38// This is for __mips_n64
39#include "lp64.h" 39#include "lp64.h"
40 40
41/* 41/*
42 * Should be set to 1 if the difference of two pointers is of type long 42 * Should be set to LONG if the difference of two pointers is of type long
43 * or the value of sizeof is of type unsigned long. Note this MUST be 43 * or the value of sizeof is of type unsigned long. Note this MUST be
44 * kept in sync with the compiler! 44 * kept in sync with the compiler!
45 */ 45 */
46 
47#define PTRDIFF_TSPEC LONG 46#define PTRDIFF_TSPEC LONG
48#define SIZEOF_TSPEC ULONG 47#define SIZEOF_TSPEC ULONG
49#define INTPTR_TSPEC LONG 48#define INTPTR_TSPEC LONG
50 49
51#define FLOAT_SIZE 32 50#define FLOAT_SIZE 32
52#define DOUBLE_SIZE 64 51#define DOUBLE_SIZE 64
53#define LDOUBLE_SIZE 128 52#define LDOUBLE_SIZE 128
54 53
55#define ENUM_SIZE 32 54#define ENUM_SIZE 32

cvs diff -r1.4 -r1.5 src/usr.bin/xlint/arch/or1k/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/or1k/targparam.h 2021/01/24 14:47:42 1.4
+++ src/usr.bin/xlint/arch/or1k/targparam.h 2021/06/27 08:43:48 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.4 2021/01/24 14:47:42 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.5 2021/06/27 08:43:48 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC INT 45#define PTRDIFF_TSPEC INT
47#define SIZEOF_TSPEC UINT 46#define SIZEOF_TSPEC UINT
48#define INTPTR_TSPEC INT 47#define INTPTR_TSPEC INT
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.8 -r1.9 src/usr.bin/xlint/arch/powerpc/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/powerpc/targparam.h 2021/01/24 14:47:42 1.8
+++ src/usr.bin/xlint/arch/powerpc/targparam.h 2021/06/27 08:43:48 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:42 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:48 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "uchar.h" 37#include "uchar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC INT 45#define PTRDIFF_TSPEC INT
47#define SIZEOF_TSPEC UINT 46#define SIZEOF_TSPEC UINT
48#define INTPTR_TSPEC INT 47#define INTPTR_TSPEC INT
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.5 -r1.6 src/usr.bin/xlint/arch/powerpc64/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/powerpc64/targparam.h 2021/01/24 14:47:42 1.5
+++ src/usr.bin/xlint/arch/powerpc64/targparam.h 2021/06/27 08:43:49 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.5 2021/01/24 14:47:42 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.6 2021/06/27 08:43:49 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "uchar.h" 37#include "uchar.h"
38#include "lp64.h" 38#include "lp64.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC LONG 45#define PTRDIFF_TSPEC LONG
47#define SIZEOF_TSPEC ULONG 46#define SIZEOF_TSPEC ULONG
48#define INTPTR_TSPEC LONG 47#define INTPTR_TSPEC LONG
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.4 -r1.5 src/usr.bin/xlint/arch/riscv32/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/riscv32/targparam.h 2021/01/24 14:47:42 1.4
+++ src/usr.bin/xlint/arch/riscv32/targparam.h 2021/06/27 08:43:49 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.4 2021/01/24 14:47:42 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.5 2021/06/27 08:43:49 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC INT 45#define PTRDIFF_TSPEC INT
47#define SIZEOF_TSPEC UINT 46#define SIZEOF_TSPEC UINT
48#define INTPTR_TSPEC INT 47#define INTPTR_TSPEC INT
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.4 -r1.5 src/usr.bin/xlint/arch/riscv64/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/riscv64/targparam.h 2021/01/24 14:47:42 1.4
+++ src/usr.bin/xlint/arch/riscv64/targparam.h 2021/06/27 08:43:49 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.4 2021/01/24 14:47:42 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.5 2021/06/27 08:43:49 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "lp64.h" 38#include "lp64.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC LONG 45#define PTRDIFF_TSPEC LONG
47#define SIZEOF_TSPEC ULONG 46#define SIZEOF_TSPEC ULONG
48#define INTPTR_TSPEC LONG 47#define INTPTR_TSPEC LONG
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.8 -r1.9 src/usr.bin/xlint/arch/sh3/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/sh3/targparam.h 2021/01/24 14:47:42 1.8
+++ src/usr.bin/xlint/arch/sh3/targparam.h 2021/06/27 08:43:49 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:42 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:49 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC INT 45#define PTRDIFF_TSPEC INT
47#define SIZEOF_TSPEC UINT 46#define SIZEOF_TSPEC UINT
48#define INTPTR_TSPEC INT 47#define INTPTR_TSPEC INT
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.7 -r1.8 src/usr.bin/xlint/arch/sparc/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/sparc/targparam.h 2021/01/24 14:47:42 1.7
+++ src/usr.bin/xlint/arch/sparc/targparam.h 2021/06/27 08:43:49 1.8
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.7 2021/01/24 14:47:42 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.8 2021/06/27 08:43:49 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC LONG 45#define PTRDIFF_TSPEC LONG
47#define SIZEOF_TSPEC ULONG 46#define SIZEOF_TSPEC ULONG
48#define INTPTR_TSPEC LONG 47#define INTPTR_TSPEC LONG
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.8 -r1.9 src/usr.bin/xlint/arch/sparc64/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/sparc64/targparam.h 2021/01/24 14:47:42 1.8
+++ src/usr.bin/xlint/arch/sparc64/targparam.h 2021/06/27 08:43:49 1.9
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.8 2021/01/24 14:47:42 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.9 2021/06/27 08:43:49 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "lp64.h" 38#include "lp64.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC LONG 45#define PTRDIFF_TSPEC LONG
47#define SIZEOF_TSPEC ULONG 46#define SIZEOF_TSPEC ULONG
48#define INTPTR_TSPEC LONG 47#define INTPTR_TSPEC LONG
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 128 51#define LDOUBLE_SIZE 128
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.9 -r1.10 src/usr.bin/xlint/arch/vax/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/vax/targparam.h 2021/01/24 14:47:42 1.9
+++ src/usr.bin/xlint/arch/vax/targparam.h 2021/06/27 08:43:49 1.10
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.9 2021/01/24 14:47:42 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.10 2021/06/27 08:43:49 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,26 +28,26 @@ @@ -28,26 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "ilp32.h" 38#include "ilp32.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45#define PTRDIFF_TSPEC LONG 45#define PTRDIFF_TSPEC LONG
46#define SIZEOF_TSPEC ULONG 46#define SIZEOF_TSPEC ULONG
47#define INTPTR_TSPEC LONG 47#define INTPTR_TSPEC LONG
48 48
49#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
50#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
51#define LDOUBLE_SIZE 64 51#define LDOUBLE_SIZE 64
52 52
53#define ENUM_SIZE 32 53#define ENUM_SIZE 32

cvs diff -r1.7 -r1.8 src/usr.bin/xlint/arch/x86_64/targparam.h (expand / switch to unified diff)

--- src/usr.bin/xlint/arch/x86_64/targparam.h 2021/01/24 14:47:43 1.7
+++ src/usr.bin/xlint/arch/x86_64/targparam.h 2021/06/27 08:43:49 1.8
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: targparam.h,v 1.7 2021/01/24 14:47:43 rillig Exp $ */ 1/* $NetBSD: targparam.h,v 1.8 2021/06/27 08:43:49 rillig Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl 4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved. 5 * All Rights Reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -28,27 +28,26 @@ @@ -28,27 +28,26 @@
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */ 32 */
33 33
34/* 34/*
35 * Machine-dependent target parameters for lint1. 35 * Machine-dependent target parameters for lint1.
36 */ 36 */
37#include "schar.h" 37#include "schar.h"
38#include "lp64.h" 38#include "lp64.h"
39 39
40/* 40/*
41 * Should be set to 1 if the difference of two pointers is of type long 41 * Should be set to LONG if the difference of two pointers is of type long
42 * or the value of sizeof is of type unsigned long. Note this MUST be 42 * or the value of sizeof is of type unsigned long. Note this MUST be
43 * kept in sync with the compiler! 43 * kept in sync with the compiler!
44 */ 44 */
45 
46#define PTRDIFF_TSPEC LONG 45#define PTRDIFF_TSPEC LONG
47#define SIZEOF_TSPEC ULONG 46#define SIZEOF_TSPEC ULONG
48#define INTPTR_TSPEC LONG 47#define INTPTR_TSPEC LONG
49 48
50#define FLOAT_SIZE 32 49#define FLOAT_SIZE 32
51#define DOUBLE_SIZE 64 50#define DOUBLE_SIZE 64
52#define LDOUBLE_SIZE 128 51#define LDOUBLE_SIZE 128
53 52
54#define ENUM_SIZE 32 53#define ENUM_SIZE 32