targparam.h revision 1.7
11.7Srillig/* $NetBSD: targparam.h,v 1.7 2021/01/09 14:10:14 rillig Exp $ */ 21.1Sthorpej 31.1Sthorpej/* 41.1Sthorpej * Copyright (c) 1994, 1995 Jochen Pohl 51.1Sthorpej * All Rights Reserved. 61.6Srillig * 71.1Sthorpej * Redistribution and use in source and binary forms, with or without 81.1Sthorpej * modification, are permitted provided that the following conditions 91.1Sthorpej * are met: 101.1Sthorpej * 1. Redistributions of source code must retain the above copyright 111.1Sthorpej * notice, this list of conditions and the following disclaimer. 121.1Sthorpej * 2. Redistributions in binary form must reproduce the above copyright 131.1Sthorpej * notice, this list of conditions and the following disclaimer in the 141.1Sthorpej * documentation and/or other materials provided with the distribution. 151.1Sthorpej * 3. All advertising materials mentioning features or use of this software 161.1Sthorpej * must display the following acknowledgement: 171.1Sthorpej * This product includes software developed by Jochen Pohl for 181.1Sthorpej * The NetBSD Project. 191.1Sthorpej * 4. The name of the author may not be used to endorse or promote products 201.1Sthorpej * derived from this software without specific prior written permission. 211.1Sthorpej * 221.1Sthorpej * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 231.1Sthorpej * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 241.1Sthorpej * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 251.1Sthorpej * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 261.1Sthorpej * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 271.1Sthorpej * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 281.1Sthorpej * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 291.1Sthorpej * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 301.1Sthorpej * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 311.1Sthorpej * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 321.1Sthorpej */ 331.1Sthorpej 341.1Sthorpej/* 351.1Sthorpej * Machine-dependent target parameters for lint1. 361.1Sthorpej */ 371.5Schristos#include "schar.h" 381.1Sthorpej#include "ilp32.h" 391.1Sthorpej 401.6Srillig/* 411.1Sthorpej * Should be set to 1 if the difference of two pointers is of type long 421.1Sthorpej * or the value of sizeof is of type unsigned long. Note this MUST be 431.1Sthorpej * kept in sync with the compiler! 441.6Srillig */ 451.1Sthorpej 461.1Sthorpej#define PTRDIFF_IS_LONG 0 471.1Sthorpej#define SIZEOF_IS_ULONG 0 481.4She#define INTPTR_IS_LONG 0 491.2Sthorpej 501.7Srillig#define FLOAT_SIZE 32 511.7Srillig#define DOUBLE_SIZE 64 521.7Srillig#define LDOUBLE_SIZE 64 531.2Sthorpej 541.7Srillig#define ENUM_SIZE 32 55