OSDN Git Service

* config/darwin.h (REGISTER_TARGET_PRAGMAS): Define.
[pf3gnuchains/gcc-fork.git] / gcc / config / darwin-protos.h
1 /* Prototypes.
2    Copyright (C) 2001 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, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 extern int name_needs_quotes PARAMS ((const char *));
22
23 extern void machopic_validate_stub_or_non_lazy_ptr PARAMS ((const char *, int));
24
25 extern char *machopic_function_base_name PARAMS ((void));
26 extern char *machopic_non_lazy_ptr_name PARAMS ((const char*));
27 extern char *machopic_stub_name PARAMS ((const char*));
28
29 extern void machopic_add_gc_roots PARAMS ((void));
30
31 extern void machopic_picsymbol_stub_section PARAMS ((void));
32 extern void machopic_symbol_stub_section PARAMS ((void));
33 extern void machopic_lazy_symbol_ptr_section PARAMS ((void));
34 extern void machopic_nl_symbol_ptr_section PARAMS ((void));
35
36 #ifdef RTX_CODE
37
38 extern int machopic_operand_p PARAMS ((rtx));
39 extern enum machopic_addr_class machopic_classify_name PARAMS ((const char*));
40
41 extern rtx machopic_indirect_data_reference PARAMS ((rtx, rtx));
42 extern rtx machopic_indirect_call_target PARAMS ((rtx));
43 extern rtx machopic_legitimize_pic_address PARAMS ((rtx, enum machine_mode, rtx));
44
45 #endif /* RTX_CODE */
46
47 #ifdef TREE_CODE
48
49 extern enum machopic_addr_class machopic_classify_ident PARAMS ((tree));
50 extern void machopic_define_ident PARAMS ((tree));
51 extern void machopic_define_name PARAMS ((const char*));
52 extern int machopic_name_defined_p PARAMS ((const char*));
53 extern int machopic_ident_defined_p PARAMS ((tree));
54 extern void darwin_encode_section_info PARAMS ((tree));
55
56 #endif /* TREE_CODE */
57
58 extern void machopic_finish PARAMS ((FILE *));
59
60 #ifdef GCC_C_PRAGMA_H
61 extern void darwin_init_pragma PARAMS ((int (*) (tree *)));
62 extern void darwin_pragma_ignore PARAMS ((cpp_reader *));
63 extern void darwin_pragma_options PARAMS ((cpp_reader *));
64 extern void darwin_pragma_unused PARAMS ((cpp_reader *));
65 #endif