Lines Matching defs:sym
107 /*@dependent@*/ yasm_symrec *sym; /* symbol created for this section */
153 /* no data needed for section symbol auxent, all info avail from sym */
256 coff_objfmt_sym_set_data(yasm_symrec *sym, coff_symrec_sclass sclass,
270 yasm_symrec_add_data(sym, &coff_symrec_data_cb, sym_data);
401 yasm_symrec *sym;
425 sym = yasm_symtab_define_label(object->symtab, sectname,
427 yasm_symrec_declare(sym, YASM_SYM_GLOBAL, line);
428 coff_objfmt_sym_set_data(sym, COFF_SCL_STAT, 1, COFF_SYMTAB_AUX_SECT);
429 data->sym = sym;
494 /*@dependent@*/ /*@null@*/ yasm_symrec *sym = value->rel;
501 * This is done through (sym being referenced) WRT (sym used for
509 if (!yasm_symrec_get_label(sym, &rel_precbc)
521 sym = value->wrt;
531 csymd = yasm_symrec_get_data(sym, &coff_symrec_data_cb);
533 csize_expr = yasm_symrec_get_common_size(sym);
554 if (yasm_symrec_get_label(sym, &sym_precbc)) {
560 sym = sym_csd->sym;
595 reloc->reloc.sym = sym;
849 csymd = yasm_symrec_get_data(reloc->reloc.sym, &coff_symrec_data_cb);
953 coff_objfmt_count_sym(yasm_symrec *sym, /*@null@*/ void *d)
956 yasm_sym_vis vis = yasm_symrec_get_visibility(sym);
961 sym_data = yasm_symrec_get_data(sym, &coff_symrec_data_cb);
963 if (info->all_syms || vis != YASM_SYM_LOCAL || yasm_symrec_is_abs(sym) ||
967 sym_data = coff_objfmt_sym_set_data(sym, COFF_SCL_NULL, 0,
985 coff_objfmt_output_sym(yasm_symrec *sym, /*@null@*/ void *d)
988 yasm_sym_vis vis = yasm_symrec_get_visibility(sym);
989 int is_abs = yasm_symrec_is_abs(sym);
991 csymd = yasm_symrec_get_data(sym, &coff_symrec_data_cb);
1015 name = yasm_symrec_get_global_name(sym, info->object);
1020 yasm_internal_error(N_("coff: expected sym data to be present"));
1023 if (yasm_symrec_get_label(sym, &precbc)) {
1045 } else if ((equ_val = yasm_symrec_get_equ(sym))) {
1062 csize_expr = yasm_symrec_get_common_size(sym);
1126 coff_objfmt_output_str(yasm_symrec *sym, /*@null@*/ void *d)
1129 yasm_sym_vis vis = yasm_symrec_get_visibility(sym);
1131 csymd = yasm_symrec_get_data(sym, &coff_symrec_data_cb);
1138 /*@only@*/ char *name = yasm_symrec_get_global_name(sym, info->object);
1143 yasm_internal_error(N_("coff: expected sym data to be present"));
1632 yasm_symrec_print(csd->sym, f, indent_level+1);
1719 yasm_symrec *sym;
1730 sym = yasm_symtab_use(object->symtab, symname, line);
1731 sym_data = yasm_symrec_get_data(sym, &coff_symrec_data_cb);
1733 sym_data = coff_objfmt_sym_set_data(sym, COFF_SCL_NULL, 0,
1760 sym, line));
1789 yasm_symrec *sym = (yasm_symrec *)bc->contents;
1793 csymd = yasm_symrec_get_data(sym, &coff_symrec_data_cb);
1906 yasm_symrec *sym;
1923 sym = yasm_symtab_use(object->symtab, symname, line);
1924 sym_data = yasm_symrec_get_data(sym, &coff_symrec_data_cb);
1926 sym_data = coff_objfmt_sym_set_data(sym, COFF_SCL_NULL, 0,
2299 xdata_sym = csd->sym;