OSDN Git Service

*** empty log message ***
[pf3gnuchains/gcc-fork.git] / gcc / halfpic.h
1 /* OSF/rose half-pic support definitions.
2    Copyright (C) 1992 Free Software Foundation, Inc.
3
4 This file is part of GNU CC.
5
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING.  If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
19
20 extern int  flag_half_pic;              /* Global half-pic flag.  */
21 extern void half_pic_encode ();         /* encode whether half-pic */
22 extern void half_pic_declare ();        /* declare object local */
23 extern void half_pic_init ();           /* half_pic initialization */
24 extern void half_pic_finish ();         /* half_pic termination */
25 extern int  half_pic_address_p ();      /* true if an address is half-pic */
26 extern struct rtx_def *half_pic_ptr (); /* return RTX for half-pic pointer */
27
28 /* Macros to provide access to the half-pic stuff (so they can easily
29    be stubbed out.  */
30
31 #define HALF_PIC_P()            (flag_half_pic)
32 #define HALF_PIC_ENCODE(DECL)   half_pic_encode (DECL)
33 #define HALF_PIC_DECLARE(NAME)  half_pic_declare (NAME)
34 #define HALF_PIC_INIT()         half_pic_init ()
35 #define HALF_PIC_FINISH(STREAM) half_pic_finish (STREAM)
36 #define HALF_PIC_ADDRESS_P(X)   half_pic_address_p (X)
37 #define HALF_PIC_PTR(X)         half_pic_ptr (X)
38
39 /* Prefix for half-pic names */
40 #ifndef HALF_PIC_PREFIX
41 #define HALF_PIC_PREFIX "__pic_"
42 #endif