Home | History | Annotate | Download | only in nasm

Lines Matching defs:reloc

53     unsigned long offset;       /* start of reloc from start of bytecode */
54 size_t size; /* size of reloc in bytes */
102 /* Generate reloc if needed */
104 bcreloc *reloc = yasm_xmalloc(sizeof(bcreloc));
105 reloc->offset = offset;
106 reloc->size = destsize;
107 reloc->rel = value->curpos_rel;
108 STAILQ_INSERT_TAIL(&info->bcrelocs, reloc, link);
110 /* Get next reloc's info */
154 /*@null@*/ bcreloc *reloc = NULL;
222 /* output bytes with reloc information */
225 reloc = STAILQ_FIRST(&info.bcrelocs);
234 if (reloc && (unsigned long)(p-origp) ==
235 reloc->offset) {
236 fprintf(f, "%c", reloc->rel ? '(' : '[');
241 if (reloc && (unsigned long)(p-origp) ==
242 reloc->offset+reloc->size) {
243 fprintf(f, "%c", reloc->rel ? ')' : ']');
245 reloc = STAILQ_NEXT(reloc, link);
270 reloc = STAILQ_FIRST(&info.bcrelocs);
271 while (reloc) {
272 bcreloc *reloc2 = STAILQ_NEXT(reloc, link);
273 yasm_xfree(reloc);
274 reloc = reloc2;
277 /* save reloc context */
284 /* delete reloc history */