Lines Matching defs:sect

224 hash_section (section *sect)
226 if (sect->common.flags & SECTION_NAMED)
227 return htab_hash_string (sect->named.name);
228 return sect->common.flags;
239 return old->sect == new;
246 return hash_section (old->sect);
255 section *sect;
257 sect = ggc_alloc (sizeof (struct unnamed_section));
258 sect->unnamed.common.flags = flags | SECTION_UNNAMED;
259 sect->unnamed.callback = callback;
260 sect->unnamed.data = data;
261 sect->unnamed.next = unnamed_sections;
263 unnamed_sections = sect;
264 return sect;
272 section *sect;
274 sect = ggc_alloc (sizeof (struct unnamed_section));
275 sect->noswitch.common.flags = flags | SECTION_NOSWITCH;
276 sect->noswitch.callback = callback;
278 return sect;
287 section *sect, **slot;
295 sect = ggc_alloc (sizeof (struct named_section));
296 sect->named.common.flags = flags;
297 sect->named.name = ggc_strdup (name);
298 sect->named.decl = decl;
299 *slot = sect;
303 sect = *slot;
304 if ((sect->common.flags & ~SECTION_DECLARED) != flags
305 && ((sect->common.flags | flags) & SECTION_OVERRIDE) == 0)
309 decl = sect->named.decl;
314 return sect;
331 get_block_for_section (section *sect)
336 if (sect == NULL)
339 slot = htab_find_slot_with_hash (object_block_htab, sect,
340 hash_section (sect), INSERT);
346 block->sect = sect;
429 unlikely_text_section_p (section *sect)
439 && sect
440 && SECTION_STYLE (sect) == SECTION_NAMED
441 && strcmp (name, sect->named.name) == 0);
928 section *sect;
953 sect = get_variable_section (decl, true);
954 if (SECTION_STYLE (sect) == SECTION_NOSWITCH)
957 return get_block_for_section (sect);
1662 assemble_noswitch_variable (tree decl, const char *name, section *sect)
1680 if (!sect->noswitch.callback (decl, name, size, rounded)
1734 section *sect;
1823 sect = get_variable_section (decl, false);
1826 && (sect->common.flags & SECTION_COMMON) == 0)
1834 if (sect && (sect->common.flags & SECTION_CODE) != 0)
1845 else if (SECTION_STYLE (sect) == SECTION_NOSWITCH)
1846 assemble_noswitch_variable (decl, name, sect);
1849 switch_to_section (sect);
2833 section *sect = get_constant_section (exp);
2835 get_block_for_section (sect), -1);
3269 section *sect = targetm.asm_out.select_rtx_section (mode, x, align);
3271 get_block_for_section (sect), -1);
5833 section *sect;
5838 sect = SYMBOL_REF_BLOCK (symbol)->sect;
5839 if (sect->common.flags & SECTION_MERGE)
5844 if (sect->common.flags & SECTION_SMALL)
6204 switch_to_section (block->sect);