1226586Sdim/* $NetBSD: targparam.h,v 1.1 2002/01/18 20:39:21 thorpej Exp $ */ 2226586Sdim 3226586Sdim/* 4226586Sdim * Copyright (c) 1994, 1995 Jochen Pohl 5226586Sdim * All Rights Reserved. 6226586Sdim * 7226586Sdim * Redistribution and use in source and binary forms, with or without 8226586Sdim * modification, are permitted provided that the following conditions 9226586Sdim * are met: 10226586Sdim * 1. Redistributions of source code must retain the above copyright 11226586Sdim * notice, this list of conditions and the following disclaimer. 12226586Sdim * 2. Redistributions in binary form must reproduce the above copyright 13226586Sdim * notice, this list of conditions and the following disclaimer in the 14226586Sdim * documentation and/or other materials provided with the distribution. 15226586Sdim * 3. All advertising materials mentioning features or use of this software 16226586Sdim * must display the following acknowledgement: 17226586Sdim * This product includes software developed by Jochen Pohl for 18226586Sdim * The NetBSD Project. 19226586Sdim * 4. The name of the author may not be used to endorse or promote products 20226586Sdim * derived from this software without specific prior written permission. 21226586Sdim * 22226586Sdim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 23226586Sdim * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 24226586Sdim * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 25226586Sdim * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 26226586Sdim * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 27226586Sdim * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28226586Sdim * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29226586Sdim * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30226586Sdim * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 31226586Sdim * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32226586Sdim */ 33226586Sdim 34226586Sdim/* 35226586Sdim * Machine-dependent target parameters for lint1. 36226586Sdim */ 37226586Sdim 38226586Sdim#include "ilp32.h" 39226586Sdim 40226586Sdim/* 41226586Sdim * Should be set to 1 if the difference of two pointers is of type long 42226586Sdim * or the value of sizeof is of type unsigned long. Note this MUST be 43226586Sdim * kept in sync with the compiler! 44226586Sdim */ 45226586Sdim 46226586Sdim#define PTRDIFF_IS_LONG 1 47226586Sdim#define SIZEOF_IS_ULONG 1 48226586Sdim 49226586Sdim#define FLOAT_SIZE (4 * CHAR_BIT) 50226586Sdim#define DOUBLE_SIZE (8 * CHAR_BIT) 51226586Sdim#define LDOUBLE_SIZE (8 * CHAR_BIT) 52226586Sdim 53226586Sdim#define ENUM_SIZE (4 * CHAR_BIT) 54226586Sdim