Lines Matching refs:label
40 void (*beginnode)(void *, struct label *labels);
41 void (*endnode)(void *, struct label *labels);
42 void (*property)(void *, struct label *labels);
77 static void bin_emit_beginnode(void *e, struct label *labels) in bin_emit_beginnode()
82 static void bin_emit_endnode(void *e, struct label *labels) in bin_emit_endnode()
87 static void bin_emit_property(void *e, struct label *labels) in bin_emit_property()
102 static void emit_label(FILE *f, const char *prefix, const char *label) in emit_label() argument
104 fprintf(f, "\t.globl\t%s_%s\n", prefix, label); in emit_label()
105 fprintf(f, "%s_%s:\n", prefix, label); in emit_label()
106 fprintf(f, "_%s_%s:\n", prefix, label); in emit_label()
109 static void emit_offset_label(FILE *f, const char *label, int offset) in emit_offset_label() argument
111 fprintf(f, "\t.globl\t%s\n", label); in emit_offset_label()
112 fprintf(f, "%s\t= . + %d\n", label, offset); in emit_offset_label()
172 static void asm_emit_beginnode(void *e, struct label *labels) in asm_emit_beginnode()
175 struct label *l; in asm_emit_beginnode()
178 fprintf(f, "\t.globl\t%s\n", l->label); in asm_emit_beginnode()
179 fprintf(f, "%s:\n", l->label); in asm_emit_beginnode()
185 static void asm_emit_endnode(void *e, struct label *labels) in asm_emit_endnode()
188 struct label *l; in asm_emit_endnode()
193 fprintf(f, "\t.globl\t%s_end\n", l->label); in asm_emit_endnode()
194 fprintf(f, "%s_end:\n", l->label); in asm_emit_endnode()
198 static void asm_emit_property(void *e, struct label *labels) in asm_emit_property()
201 struct label *l; in asm_emit_property()
204 fprintf(f, "\t.globl\t%s\n", l->label); in asm_emit_property()
205 fprintf(f, "%s:\n", l->label); in asm_emit_property()
518 struct label *l; in dt_to_asm()
521 fprintf(f, "\t.globl\t%s\n", l->label); in dt_to_asm()
522 fprintf(f, "%s:\n", l->label); in dt_to_asm()