Lines Matching refs:AsmScn
42 typedef struct AsmScn AsmScn_t;
96 extern AsmScn_t *asm_newsubscn (AsmScn_t *asmscn, unsigned int nr);
108 /* Add zero terminated string STR of size LEN to (sub)section ASMSCN. */
109 extern int asm_addstrz (AsmScn_t *asmscn, const char *str, size_t len);
111 /* Add 8-bit signed integer NUM to (sub)section ASMSCN. */
112 extern int asm_addint8 (AsmScn_t *asmscn, int8_t num);
114 /* Add 8-bit unsigned integer NUM to (sub)section ASMSCN. */
115 extern int asm_adduint8 (AsmScn_t *asmscn, uint8_t num);
117 /* Add 16-bit signed integer NUM to (sub)section ASMSCN. */
118 extern int asm_addint16 (AsmScn_t *asmscn, int16_t num);
120 /* Add 16-bit unsigned integer NUM to (sub)section ASMSCN. */
121 extern int asm_adduint16 (AsmScn_t *asmscn, uint16_t num);
123 /* Add 32-bit signed integer NUM to (sub)section ASMSCN. */
124 extern int asm_addint32 (AsmScn_t *asmscn, int32_t num);
126 /* Add 32-bit unsigned integer NUM to (sub)section ASMSCN. */
127 extern int asm_adduint32 (AsmScn_t *asmscn, uint32_t num);
129 /* Add 64-bit signed integer NUM to (sub)section ASMSCN. */
130 extern int asm_addint64 (AsmScn_t *asmscn, int64_t num);
132 /* Add 64-bit unsigned integer NUM to (sub)section ASMSCN. */
133 extern int asm_adduint64 (AsmScn_t *asmscn, uint64_t num);
136 /* Add signed little endian base 128 integer NUM to (sub)section ASMSCN. */
137 extern int asm_addsleb128 (AsmScn_t *asmscn, int32_t num);
139 /* Add unsigned little endian base 128 integer NUM to (sub)section ASMSCN. */
140 extern int asm_adduleb128 (AsmScn_t *asmscn, uint32_t num);
143 /* Define new symbol NAME for current position in given section ASMSCN. */
144 extern AsmSym_t *asm_newsym (AsmScn_t *asmscn, const char *name,
159 extern int asm_align (AsmScn_t *asmscn, GElf_Word value);
162 extern int asm_fill (AsmScn_t *asmscn, void *bytes, size_t len);