Lines Matching refs:asmscn
54 FCT(SIZE) (AsmScn_t *asmscn, TYPE(SIZE) num) in FCT()
56 if (asmscn == NULL) in FCT()
59 if (asmscn->type == SHT_NOBITS && unlikely (num != 0)) in FCT()
65 if (unlikely (asmscn->ctx->textp)) in FCT()
69 fprintf (asmscn->ctx->out.file, "\t.byte\t%" PRId8 "\n", (int8_t) num); in FCT()
71 fprintf (asmscn->ctx->out.file, "\t.value\t%" PRId16 "\n", in FCT()
74 fprintf (asmscn->ctx->out.file, "\t.long\t%" PRId32 "\n", in FCT()
79 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA] in FCT()
82 fprintf (asmscn->ctx->out.file, in FCT()
93 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA] in FCT()
99 if (__libasm_ensure_section_space (asmscn, SIZE / 8) != 0) in FCT()
109 if (likely (asmscn->type == SHT_NOBITS)) in FCT()
110 memcpy (&asmscn->content->data[asmscn->content->len], &var, SIZE / 8); in FCT()
113 asmscn->content->len += SIZE / 8; in FCT()
116 asmscn->offset += SIZE / 8; in FCT()