lynx.h revision 18334
1/* Definitions for Intel 386 running LynxOS.
2   Copyright (C) 1993, 1995 Free Software Foundation, Inc.
3
4This file is part of GNU CC.
5
6GNU CC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11GNU CC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU CC; see the file COPYING.  If not, write to
18the Free Software Foundation, 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA.  */
20
21#include <i386/gstabs.h>
22#include <lynx.h>
23
24#undef CPP_PREDEFINES
25#define CPP_PREDEFINES "-Dunix -Di386 -DI386 -DLynx -DIBITS32 -Asystem(unix) -Asystem(lynx) -Acpu(i386) -Amachine(i386)"
26
27/* This is how to output a reference to a user-level label named NAME.  */
28
29/* Override the svr3 convention of adding a leading underscore. */
30
31#undef ASM_OUTPUT_LABELREF
32#define ASM_OUTPUT_LABELREF(FILE,NAME) fprintf (FILE, "%s", NAME)
33
34/* Apparently LynxOS clobbers ebx when you call into the OS.  */
35
36#undef CALL_USED_REGISTERS
37#define CALL_USED_REGISTERS \
38/*ax,dx,cx,bx,si,di,bp,sp,st,st1,st2,st3,st4,st5,st6,st7,arg*/ \
39{  1, 1, 1, 1, 0, 0, 0, 1, 1,  1,  1,  1,  1,  1,  1,  1,  1 }
40