Lines Matching defs:section

71 /* symrec data is used only for the special symbols section<sectname>.start,
72 * section<sectname>.vstart, and section<sectname>.length
75 yasm_section *section; /* referenced section */
119 yasm_section *section;
123 * group's section.
128 /* Recursive function to find group containing named section. */
134 if (strcmp(yasm_section_get_name(group->section), name) == 0)
146 find_group_by_section(bin_groups *groups, yasm_section *section)
150 if (group->section == section)
153 found = find_group_by_section(&group->follow_groups, section);
168 yasm_section_get_name(group->section));
242 group->section = sect;
246 /* Determine section alignment as necessary. */
253 N_("section `%s' internal align of %lu is greater than `%s' of %lu; using `%s'"),
264 /* Calculate section integer start. */
277 /* Calculate section integer vstart. */
290 /* Calculate section integer length. */
309 group->section = sect;
420 /* Determine VMA section alignment as necessary.
426 unsigned long align = yasm_section_get_align(group->section);
430 N_("section `%s' internal align of %lu is greater than `%s' of %lu; using `%s'"),
431 yasm_section_get_name(group->section),
479 bsd = yasm_section_get_data(bsymd->section, &bin_section_data_cb);
539 yasm_section *section; /* NULL for EQUs */
604 fprintf(info->f, "%s\n", yasm_section_get_name(group->section));
620 s = yasm_section_get_name(group->section);
656 if (!info->section && yasm_symrec_get_equ(sym)) {
659 yasm_bc_get_section(precbc) == info->section) {
675 if (!info->section && (equ = yasm_symrec_get_equ(sym))) {
684 yasm_bc_get_section(precbc) == info->section) {
686 yasm_section_get_data(info->section, &bin_section_data_cb);
712 info->section = group->section;
716 const char *s = yasm_section_get_name(group->section);
820 /* We do two passes for EQU and each section; the first pass
827 mapinfo.section = NULL;
907 /* Binary objects we need to resolve against object, not against section. */
998 N_("uninitialized space declared in code/data section: zeroing"));
1044 N_("initialized space declared in nobits section: ignoring"));
1067 N_("section `%s' starts before origin (ORG)"),
1074 N_("section `%s' start value too large"),
1146 /* Create section groups */
1152 /* Determine section order according to LMA.
1160 /* Look at each group with follows specified, and find the section
1166 /* Need to find group containing section this section follows. */
1171 N_("section `%s' follows an invalid or unknown section `%s'"),
1172 yasm_section_get_name(lma_group->section),
1180 if (lma_group->section == found->section ||
1182 found->section)) {
1184 N_("follows loop between section `%s' and section `%s'"),
1185 yasm_section_get_name(lma_group->section),
1186 yasm_section_get_name(found->section));
1192 /* Remove this section from main lma groups list */
1194 /* Add it after the section it's supposed to follow. */
1201 * If no start address is specified for a section, don't change the order,
1240 /* Assign a LMA start address to every section.
1274 * Determine section order according to VMA
1277 /* Create section groups */
1284 /* Look at each group with vfollows specified, and find the section
1290 /* Need to find group containing section this section follows. */
1295 N_("section `%s' vfollows an invalid or unknown section `%s'"),
1296 yasm_section_get_name(vma_group->section),
1305 if (vma_group->section == found->section ||
1307 found->section)) {
1309 N_("vfollows loop between section `%s' and section `%s'"),
1310 yasm_section_get_name(vma_group->section),
1311 yasm_section_get_name(found->section));
1317 /* Remove this section from main lma groups list */
1319 /* Add it after the section it's supposed to follow. */
1378 strcpy(symname, "section.");
1382 bsymd->section = sect;
1528 N_("cannot combine `start' and `follows' section attributes"));
1534 N_("cannot combine `vstart' and `vfollows' section attributes"));
1573 /* Update section flags */
1765 yasm_section_get_name(bsymd->section));