* lcm.c (optimize_mode_switching): Revert previous change.
[official-gcc.git] / gcc / config / darwin-protos.h
blob5a93ca6515184f9dd1e7a317ba4a34e9dfdea089
1 /* Prototypes.
2 Copyright (C) 2001 Free Software Foundation, Inc.
4 This file is part of GNU CC.
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.
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.
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. */
21 extern int name_needs_quotes PARAMS ((const char *));
23 extern void machopic_validate_stub_or_non_lazy_ptr PARAMS ((const char *, int));
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*));
29 extern void machopic_add_gc_roots PARAMS ((void));
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));
36 extern void constructor_section PARAMS ((void));
37 extern void destructor_section PARAMS ((void));
38 extern void mod_init_section PARAMS ((void));
39 extern void mod_term_section PARAMS ((void));
41 #ifdef RTX_CODE
43 extern int machopic_operand_p PARAMS ((rtx));
44 extern enum machopic_addr_class machopic_classify_name PARAMS ((const char*));
46 extern rtx machopic_indirect_data_reference PARAMS ((rtx, rtx));
47 extern rtx machopic_indirect_call_target PARAMS ((rtx));
48 extern rtx machopic_legitimize_pic_address PARAMS ((rtx, enum machine_mode, rtx));
50 extern void machopic_asm_out_constructor PARAMS ((rtx, int));
51 extern void machopic_asm_out_destructor PARAMS ((rtx, int));
52 #endif /* RTX_CODE */
54 #ifdef TREE_CODE
56 extern enum machopic_addr_class machopic_classify_ident PARAMS ((tree));
57 extern void machopic_define_ident PARAMS ((tree));
58 extern void machopic_define_name PARAMS ((const char*));
59 extern int machopic_name_defined_p PARAMS ((const char*));
60 extern int machopic_ident_defined_p PARAMS ((tree));
61 extern void darwin_encode_section_info PARAMS ((tree, int));
63 #endif /* TREE_CODE */
65 extern void machopic_finish PARAMS ((FILE *));
67 extern void machopic_output_possible_stub_label PARAMS ((FILE *, const char*));
69 extern void darwin_exception_section PARAMS ((void));
70 extern void darwin_eh_frame_section PARAMS ((void));
72 #ifdef GCC_C_PRAGMA_H
73 extern void darwin_pragma_ignore PARAMS ((cpp_reader *));
74 extern void darwin_pragma_options PARAMS ((cpp_reader *));
75 extern void darwin_pragma_unused PARAMS ((cpp_reader *));
76 #endif