Lines Matching refs:asmscn
52 FCT(SIZE) (AsmScn_t *asmscn, TYPE(SIZE) num)
54 if (asmscn == NULL)
57 if (asmscn->type == SHT_NOBITS && unlikely (num != 0))
63 if (unlikely (asmscn->ctx->textp))
67 fprintf (asmscn->ctx->out.file, "\t.byte\t%" PRId8 "\n", (int8_t) num);
69 fprintf (asmscn->ctx->out.file, "\t.value\t%" PRId16 "\n",
72 fprintf (asmscn->ctx->out.file, "\t.long\t%" PRId32 "\n",
77 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA]
80 fprintf (asmscn->ctx->out.file,
91 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA]
97 if (__libasm_ensure_section_space (asmscn, SIZE / 8) != 0)
107 if (likely (asmscn->type == SHT_NOBITS))
108 memcpy (&asmscn->content->data[asmscn->content->len], &var, SIZE / 8);
111 asmscn->content->len += SIZE / 8;
114 asmscn->offset += SIZE / 8;