|
|
1.1 root 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:
1.1.1.2 ! root 20: extern int flag_half_pic; /* Global half-pic flag. */
! 21: extern int half_pic_number_ptrs; /* # distinct pointers found */
! 22: extern int half_pic_number_refs; /* # half-pic references */
1.1 root 23: extern void half_pic_encode (); /* encode whether half-pic */
1.1.1.2 ! root 24: extern void half_pic_declare (); /* declare object local */
1.1 root 25: extern void half_pic_init (); /* half_pic initialization */
1.1.1.2 ! root 26: extern void half_pic_finish (); /* half_pic termination */
! 27: extern int half_pic_address_p (); /* true if an address is half-pic */
! 28: extern struct rtx_def *half_pic_ptr (); /* return RTX for half-pic pointer */
1.1 root 29:
30: /* Macros to provide access to the half-pic stuff (so they can easily
31: be stubbed out. */
32:
33: #define HALF_PIC_P() (flag_half_pic)
1.1.1.2 ! root 34: #define HALF_PIC_NUMBER_PTRS (half_pic_number_ptrs)
! 35: #define HALF_PIC_NUMBER_REFS (half_pic_number_refs)
! 36:
1.1 root 37: #define HALF_PIC_ENCODE(DECL) half_pic_encode (DECL)
1.1.1.2 ! root 38: #define HALF_PIC_DECLARE(NAME) half_pic_declare (NAME)
1.1 root 39: #define HALF_PIC_INIT() half_pic_init ()
1.1.1.2 ! root 40: #define HALF_PIC_FINISH(STREAM) half_pic_finish (STREAM)
! 41: #define HALF_PIC_ADDRESS_P(X) half_pic_address_p (X)
! 42: #define HALF_PIC_PTR(X) half_pic_ptr (X)
! 43:
! 44: /* Prefix for half-pic names */
! 45: #ifndef HALF_PIC_PREFIX
! 46: #define HALF_PIC_PREFIX "__pic_"
! 47: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.