Lines Matching refs:section

145 section *text_section;
146 section *data_section;
147 section *readonly_data_section;
148 section *sdata_section;
149 section *ctors_section;
150 section *dtors_section;
151 section *bss_section;
152 section *sbss_section;
154 /* Various forms of common section. All are guaranteed to be nonnull. */
155 section *tls_comm_section;
156 section *comm_section;
157 section *lcomm_section;
159 /* A SECTION_NOSWITCH section used for declaring global BSS variables.
161 section *bss_noswitch_section;
163 /* The section that holds the main exception table, when known. The section
166 section *exception_section;
168 /* The section that holds the DWARF2 frame unwind information, when known.
169 The section is set either by the target's init_sections hook or by the
171 section *eh_frame_section;
173 /* asm_out_file's current section. This is NULL if no section has yet
174 been selected or if we lose track of what the current section is. */
175 section *in_section;
178 at the cold section. */
182 static GTY(()) section *unnamed_sections;
184 /* Return a nonzero value if DECL has a section attribute. */
192 static GTY((param_is (section))) htab_t section_htab;
194 /* A table of object_blocks, indexed by section. */
208 const section *old = p1;
217 const section *old = p;
221 /* Return a hash value for section SECT. */
224 hash_section (section *sect)
237 const section *new = p2;
249 /* Return a new unnamed section with the given fields. */
251 section *
255 section *sect;
267 /* Return a SECTION_NOSWITCH section with the given fields. */
269 static section *
272 section *sect;
281 /* Return the named section structure associated with NAME. Create
282 a new section with the given fields if no such structure exists. */
284 section *
287 section *sect, **slot;
289 slot = (section **)
311 error ("%+D causes a section type conflict", decl);
326 /* Return the object_block structure for section SECT. Create a new
331 get_block_for_section (section *sect)
407 /* Tell assembler to switch to unlikely-to-be-executed text section. */
409 section *
424 has been assigned a cold text section and if SECT is that section.
426 default cold section. */
429 unlikely_text_section_p (section *sect)
444 /* Return a section with a particular name and with whatever SECTION_*
445 flags section_type_flags deems appropriate. The name of the section
447 DECL_SECTION_NAME. DECL is the decl associated with the section
448 (see the section comment for details) and RELOC is as for
451 section *
536 /* Return the hot section for function DECL. Return text_section for
539 static section *
551 /* Return the section for function DECL.
553 If DECL is NULL_TREE, return the text section. We can be passed
556 section *
576 section *
596 /* Return the read-only data section associated with function DECL. */
598 section *
641 /* Return the read-only data section associated with function DECL
642 for targets where that section should be always the single
643 readonly data section. */
645 section *
651 /* Return the section to use for string merging. */
653 static section *
707 /* Return the section to use for constant merging. */
709 section *
824 /* Return true if DECL's initializer is suitable for a BSS section. */
880 /* Return the section into which the given VAR_DECL or CONST_DECL
882 section should be used wherever possible. */
884 static section *
889 /* If the decl has been given an explicit section name, then it
928 section *sect;
949 /* Find out which section should contain DECL. We cannot put it into
1121 /* As a register variable, it has no section. */
1139 /* Specifying a section attribute on a variable forces it into a
1140 non-.bss section, and thus it cannot be common. */
1211 const char *section = ".dtors";
1222 section = buf;
1225 switch_to_section (get_section (section, SECTION_WRITE, NULL));
1261 const char *section = ".ctors";
1272 section = buf;
1275 switch_to_section (get_section (section, SECTION_WRITE, NULL));
1388 the alignment when the section switch happens mid-function. */
1396 /* When the function starts with a cold section, we need to explicitly
1397 align the hot section and write out the hot section label.
1426 /* Switch to the correct text section for the start of the function. */
1491 /* We could have switched section in the middle of the function. */
1505 section *save_text_section;
1530 /* The `space' pseudo in the text section outputs nop insns rather than 0s,
1531 so we must output 0s explicitly in the text section. */
1658 /* Assemble DECL given that it belongs in SECTION_NOSWITCH section SECT.
1662 assemble_noswitch_variable (tree decl, const char *name, section *sect)
1734 section *sect;
2154 /* By default, put trampoline templates in read-only data section. */
2777 /* Return the section into which constant EXP should be placed. */
2779 static section *
2833 section *sect = get_constant_section (exp);
3269 section *sect = targetm.asm_out.select_rtx_section (mode, x, align);
5245 /* Select a set of attributes for section NAME based on the properties
5249 We make the section read-only and executable for a function decl,
5299 want to print a section type (@progbits or @nobits). If someone
5313 section in TARGET_ASM_SELECT_SECTION. */
5321 /* Output assembly to switch to section NAME with attribute FLAGS.
5340 /* If we have already declared this section, we can use an
5341 abbreviated form to switch back to it -- unless this section is
5347 fprintf (asm_out_file, "\t.section\t%s\n", name);
5369 fprintf (asm_out_file, "\t.section\t%s,\"%s\"", name, flagchars);
5412 fprintf (asm_out_file, "\t.section\t%s,\"%s\"\n", name, flagchars);
5432 /* The lame default section selector. */
5434 section *
5481 /* Here the reloc_rw_mask is not testing whether the section should
5518 no concept of a read-only thread-local-data section. */
5559 /* Select a section based on the above categorization. */
5561 section *
5622 /* Construct a unique section name based on the decl name and the
5739 section *
5750 section *
5813 anchor relative to ".", the current section position. */
5831 section *sect;
5848 /* Don't use section anchors for decls that might be defined by
5853 /* Don't use section anchors for decls that will be placed in a
5854 small data section. */
5857 sections that should be marked as small in the section directive. */
5988 which emits a special section directive used to indicate whether or
6013 /* Emit assembly code to switch to section NEW_SECTION. Do nothing if
6014 the current section is NEW_SECTION. */
6017 switch_to_section (section *new_section)
6200 /* Switch to the section and make sure that the first byte is
6205 /* Define the values of all anchors relative to the current section