Home | History | Annotate | Download | only in libasm

Lines Matching refs:asmscn

51 FCT(SIZE) (asmscn, num)
52 AsmScn_t *asmscn;
55 if (asmscn == NULL)
58 if (asmscn->type == SHT_NOBITS && unlikely (num != 0))
64 if (unlikely (asmscn->ctx->textp))
68 fprintf (asmscn->ctx->out.file, "\t.byte\t%" PRId8 "\n", (int8_t) num);
70 fprintf (asmscn->ctx->out.file, "\t.value\t%" PRId16 "\n",
73 fprintf (asmscn->ctx->out.file, "\t.long\t%" PRId32 "\n",
78 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA]
81 fprintf (asmscn->ctx->out.file,
92 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA]
98 if (__libasm_ensure_section_space (asmscn, SIZE / 8) != 0)
108 if (likely (asmscn->type == SHT_NOBITS))
109 memcpy (&asmscn->content->data[asmscn->content->len], &var, SIZE / 8);
112 asmscn->content->len += SIZE / 8;
115 asmscn->offset += SIZE / 8;