192864Speter/* $FreeBSD: releng/10.2/usr.bin/xlint/arch/ia64/targparam.h 121927 2003-11-03 05:09:57Z marcel $ */ 292864Speter/* $NetBSD: targparam.h,v 1.1 2002/01/18 20:39:18 thorpej Exp $ */ 392864Speter 492864Speter/* 592864Speter * Copyright (c) 1994, 1995 Jochen Pohl 692864Speter * All Rights Reserved. 792864Speter * 892864Speter * Redistribution and use in source and binary forms, with or without 992864Speter * modification, are permitted provided that the following conditions 1092864Speter * are met: 1192864Speter * 1. Redistributions of source code must retain the above copyright 1292864Speter * notice, this list of conditions and the following disclaimer. 1392864Speter * 2. Redistributions in binary form must reproduce the above copyright 1492864Speter * notice, this list of conditions and the following disclaimer in the 1592864Speter * documentation and/or other materials provided with the distribution. 1692864Speter * 3. All advertising materials mentioning features or use of this software 1792864Speter * must display the following acknowledgement: 1892864Speter * This product includes software developed by Jochen Pohl for 1992864Speter * The NetBSD Project. 2092864Speter * 4. The name of the author may not be used to endorse or promote products 2192864Speter * derived from this software without specific prior written permission. 2292864Speter * 2392864Speter * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 2492864Speter * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 2592864Speter * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2692864Speter * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 2792864Speter * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2892864Speter * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2992864Speter * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3092864Speter * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3192864Speter * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 3292864Speter * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3392864Speter */ 3492864Speter 3592864Speter/* 3692864Speter * Machine-dependent target parameters for lint1. 3792864Speter */ 3892864Speter 3992864Speter#include "lp64.h" 4092864Speter 4192864Speter/* 4292864Speter * Should be set to 1 if the difference of two pointers is of type long 4392864Speter * or the value of sizeof is of type unsigned long. Note this MUST be 4492864Speter * kept in sync with the compiler! 4592864Speter */ 4692864Speter 4792864Speter#define PTRDIFF_IS_LONG 1 4892864Speter#define SIZEOF_IS_ULONG 1 4992864Speter 5092864Speter#define FLOAT_SIZE (4 * CHAR_BIT) 5192864Speter#define DOUBLE_SIZE (8 * CHAR_BIT) 52121927Smarcel#define LDOUBLE_SIZE (16 * CHAR_BIT) 5392864Speter 5492864Speter#define ENUM_SIZE (4 * CHAR_BIT) 55