darwin-protos.h revision 90075
1/* Prototypes. 2 Copyright (C) 2001 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 21extern int name_needs_quotes PARAMS ((const char *)); 22 23extern void machopic_validate_stub_or_non_lazy_ptr PARAMS ((const char *, int)); 24 25extern char *machopic_function_base_name PARAMS ((void)); 26extern char *machopic_non_lazy_ptr_name PARAMS ((const char*)); 27extern char *machopic_stub_name PARAMS ((const char*)); 28 29extern void machopic_add_gc_roots PARAMS ((void)); 30 31extern void machopic_picsymbol_stub_section PARAMS ((void)); 32extern void machopic_symbol_stub_section PARAMS ((void)); 33extern void machopic_lazy_symbol_ptr_section PARAMS ((void)); 34extern void machopic_nl_symbol_ptr_section PARAMS ((void)); 35 36extern void constructor_section PARAMS ((void)); 37extern void destructor_section PARAMS ((void)); 38extern void mod_init_section PARAMS ((void)); 39extern void mod_term_section PARAMS ((void)); 40 41#ifdef RTX_CODE 42 43extern int machopic_operand_p PARAMS ((rtx)); 44extern enum machopic_addr_class machopic_classify_name PARAMS ((const char*)); 45 46extern rtx machopic_indirect_data_reference PARAMS ((rtx, rtx)); 47extern rtx machopic_indirect_call_target PARAMS ((rtx)); 48extern rtx machopic_legitimize_pic_address PARAMS ((rtx, enum machine_mode, rtx)); 49 50extern void machopic_asm_out_constructor PARAMS ((rtx, int)); 51extern void machopic_asm_out_destructor PARAMS ((rtx, int)); 52#endif /* RTX_CODE */ 53 54#ifdef TREE_CODE 55 56extern enum machopic_addr_class machopic_classify_ident PARAMS ((tree)); 57extern void machopic_define_ident PARAMS ((tree)); 58extern void machopic_define_name PARAMS ((const char*)); 59extern int machopic_name_defined_p PARAMS ((const char*)); 60extern int machopic_ident_defined_p PARAMS ((tree)); 61extern void darwin_encode_section_info PARAMS ((tree)); 62 63#endif /* TREE_CODE */ 64 65extern void machopic_finish PARAMS ((FILE *)); 66 67extern void machopic_output_possible_stub_label PARAMS ((FILE *, const char*)); 68 69extern void darwin_exception_section PARAMS ((void)); 70extern void darwin_eh_frame_section PARAMS ((void)); 71 72#ifdef GCC_C_PRAGMA_H 73extern void darwin_pragma_ignore PARAMS ((cpp_reader *)); 74extern void darwin_pragma_options PARAMS ((cpp_reader *)); 75extern void darwin_pragma_unused PARAMS ((cpp_reader *)); 76#endif 77