1 |
282 |
jeremybenn |
/* Copyright (C) 2005, 2006 Free Software Foundation, Inc.
|
2 |
|
|
|
3 |
|
|
This file is part of GCC.
|
4 |
|
|
|
5 |
|
|
GCC is free software; you can redistribute it and/or modify it under
|
6 |
|
|
the terms of the GNU General Public License as published by the Free
|
7 |
|
|
Software Foundation; either version 3, or (at your option) any later
|
8 |
|
|
version.
|
9 |
|
|
|
10 |
|
|
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
|
11 |
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
12 |
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
13 |
|
|
for more details.
|
14 |
|
|
|
15 |
|
|
You should have received a copy of the GNU General Public License
|
16 |
|
|
along with GCC; see the file COPYING3. If not see
|
17 |
|
|
. */
|
18 |
|
|
|
19 |
|
|
DEF_SECTION (text_coal_section, SECTION_CODE,
|
20 |
|
|
".section __TEXT,__textcoal_nt,coalesced,pure_instructions", 0)
|
21 |
|
|
DEF_SECTION (text_unlikely_coal_section, SECTION_CODE,
|
22 |
|
|
".section __TEXT,__text_unlikely_coal,"
|
23 |
|
|
"coalesced,pure_instructions", 0)
|
24 |
|
|
DEF_SECTION (const_section, 0, ".const", 0)
|
25 |
|
|
DEF_SECTION (const_coal_section, 0,
|
26 |
|
|
".section __TEXT,__const_coal,coalesced", 0)
|
27 |
|
|
DEF_SECTION (const_data_section, 0, ".const_data", 0)
|
28 |
|
|
DEF_SECTION (const_data_coal_section, 0,
|
29 |
|
|
".section __DATA,__const_coal,coalesced", 0)
|
30 |
|
|
DEF_SECTION (data_coal_section, SECTION_WRITE,
|
31 |
|
|
".section __DATA,__datacoal_nt,coalesced", 0)
|
32 |
|
|
DEF_SECTION (cstring_section, SECTION_MERGE | SECTION_STRINGS, ".cstring", 0)
|
33 |
|
|
DEF_SECTION (literal4_section, SECTION_MERGE, ".literal4", 0)
|
34 |
|
|
DEF_SECTION (literal8_section, SECTION_MERGE, ".literal8", 0)
|
35 |
|
|
DEF_SECTION (literal16_section, SECTION_MERGE, ".literal16", 0)
|
36 |
|
|
DEF_SECTION (constructor_section, 0, ".constructor", 0)
|
37 |
|
|
DEF_SECTION (mod_init_section, 0, ".mod_init_func", 0)
|
38 |
|
|
DEF_SECTION (mod_term_section, 0, ".mod_term_func", 0)
|
39 |
|
|
DEF_SECTION (destructor_section, 0, ".destructor", 0)
|
40 |
|
|
DEF_SECTION (objc_class_section, 0, ".objc_class", 1)
|
41 |
|
|
DEF_SECTION (objc_meta_class_section, 0, ".objc_meta_class", 1)
|
42 |
|
|
DEF_SECTION (objc_category_section, 0, ".objc_category", 1)
|
43 |
|
|
DEF_SECTION (objc_class_vars_section, 0, ".objc_class_vars", 1)
|
44 |
|
|
DEF_SECTION (objc_instance_vars_section, 0, ".objc_instance_vars", 1)
|
45 |
|
|
DEF_SECTION (objc_cls_meth_section, 0, ".objc_cls_meth", 1)
|
46 |
|
|
DEF_SECTION (objc_inst_meth_section, 0, ".objc_inst_meth", 1)
|
47 |
|
|
DEF_SECTION (objc_cat_cls_meth_section, 0, ".objc_cat_cls_meth", 1)
|
48 |
|
|
DEF_SECTION (objc_cat_inst_meth_section, 0, ".objc_cat_inst_meth", 1)
|
49 |
|
|
DEF_SECTION (objc_selector_refs_section, SECTION_MERGE, ".objc_message_refs", 1)
|
50 |
|
|
DEF_SECTION (objc_selector_fixup_section, 0,
|
51 |
|
|
".section __OBJC, __sel_fixup, regular, no_dead_strip", 1)
|
52 |
|
|
DEF_SECTION (objc_symbols_section, 0, ".objc_symbols", 1)
|
53 |
|
|
DEF_SECTION (objc_module_info_section, 0, ".objc_module_info", 1)
|
54 |
|
|
DEF_SECTION (objc_protocol_section, 0, ".objc_protocol", 1)
|
55 |
|
|
DEF_SECTION (objc_string_object_section, 0, ".objc_string_object", 1)
|
56 |
|
|
DEF_SECTION (objc_constant_string_object_section, 0,
|
57 |
|
|
".section __OBJC, __cstring_object, regular, no_dead_strip", 1)
|
58 |
|
|
|
59 |
|
|
/* Fix-and-Continue image marker. */
|
60 |
|
|
DEF_SECTION (objc_image_info_section, 0,
|
61 |
|
|
".section __OBJC, __image_info, regular, no_dead_strip", 1)
|
62 |
|
|
DEF_SECTION (objc_class_names_section, 0, ".objc_class_names", 1)
|
63 |
|
|
DEF_SECTION (objc_meth_var_names_section, 0, ".objc_meth_var_names", 1)
|
64 |
|
|
DEF_SECTION (objc_meth_var_types_section, 0, ".objc_meth_var_types", 1)
|
65 |
|
|
DEF_SECTION (objc_cls_refs_section, SECTION_MERGE, ".objc_cls_refs", 1)
|
66 |
|
|
|
67 |
|
|
DEF_SECTION (machopic_lazy_symbol_ptr_section, 0, ".lazy_symbol_pointer", 0)
|
68 |
|
|
DEF_SECTION (machopic_nl_symbol_ptr_section, 0, ".non_lazy_symbol_pointer", 0)
|
69 |
|
|
DEF_SECTION (machopic_symbol_stub_section, 0, ".symbol_stub", 0)
|
70 |
|
|
DEF_SECTION (machopic_symbol_stub1_section, 0,
|
71 |
|
|
".section __TEXT,__symbol_stub1,symbol_stubs,"
|
72 |
|
|
"pure_instructions,16", 0)
|
73 |
|
|
DEF_SECTION (machopic_picsymbol_stub_section, 0, ".picsymbol_stub", 0)
|
74 |
|
|
DEF_SECTION (machopic_picsymbol_stub1_section, 0,
|
75 |
|
|
".section __TEXT,__picsymbolstub1,symbol_stubs,"
|
76 |
|
|
"pure_instructions,32", 0)
|
77 |
|
|
DEF_SECTION (darwin_exception_section, 0,
|
78 |
|
|
".section __DATA,__gcc_except_tab", 0)
|
79 |
|
|
DEF_SECTION (darwin_eh_frame_section, 0,
|
80 |
|
|
".section " EH_FRAME_SECTION_NAME ",__eh_frame"
|
81 |
|
|
EH_FRAME_SECTION_ATTR, 0)
|