Home | History | Annotate | Download | only in xdf

Lines Matching refs:localbuf

339         unsigned char *localbuf = info->buf;
347 yasm_intnum_get_sized(reloc->reloc.addr, localbuf, 4, 32, 0, 0, 0);
348 localbuf += 4; /* address of relocation */
349 YASM_WRITE_32_L(localbuf, xsymd->index); /* relocated symbol */
355 YASM_WRITE_32_L(localbuf, xsymd->index); /* base symbol */
360 YASM_WRITE_32_L(localbuf, 0); /* no base symbol */
362 YASM_WRITE_8(localbuf, reloc->type); /* type of relocation */
363 YASM_WRITE_8(localbuf, reloc->size); /* size of relocation */
364 YASM_WRITE_8(localbuf, reloc->shift); /* relocation shift */
365 YASM_WRITE_8(localbuf, 0); /* flags */
381 unsigned char *localbuf;
388 localbuf = info->buf;
392 YASM_WRITE_32_L(localbuf, xsymd->index); /* section name symbol */
394 yasm_intnum_get_sized(xsd->addr, localbuf, 8, 64, 0, 0, 0);
395 localbuf += 8; /* physical address */
397 YASM_WRITE_32_L(localbuf, 0);
398 YASM_WRITE_32_L(localbuf, 0);
401 yasm_intnum_get_sized(xsd->vaddr, localbuf, 8, 64, 0, 0, 0);
402 localbuf += 8; /* virtual address */
404 yasm_intnum_get_sized(xsd->addr, localbuf, 8, 64, 0, 0, 0);
405 localbuf += 8; /* VA=PA */
407 YASM_WRITE_32_L(localbuf, 0);
408 YASM_WRITE_32_L(localbuf, 0);
410 YASM_WRITE_16_L(localbuf, yasm_section_get_align(sect)); /* alignment */
411 YASM_WRITE_16_L(localbuf, xsd->flags); /* flags */
412 YASM_WRITE_32_L(localbuf, xsd->scnptr); /* file ptr to data */
413 YASM_WRITE_32_L(localbuf, xsd->size); /* section size */
414 YASM_WRITE_32_L(localbuf, xsd->relptr); /* file ptr to relocs */
415 YASM_WRITE_32_L(localbuf, xsd->nreloc); /* num of relocation entries */
463 unsigned char *localbuf;
509 localbuf = info->buf;
510 YASM_WRITE_32_L(localbuf, scnum); /* section number */
511 YASM_WRITE_32_L(localbuf, value); /* value */
512 YASM_WRITE_32_L(localbuf, info->strtab_offset);
514 YASM_WRITE_32_L(localbuf, flags); /* flags */
544 unsigned char *localbuf;
587 localbuf = info.buf;
588 YASM_WRITE_32_L(localbuf, XDF_MAGIC); /* magic number */
589 YASM_WRITE_32_L(localbuf, objfmt_xdf->parse_scnum); /* number of sects */
590 YASM_WRITE_32_L(localbuf, symtab_count); /* number of symtabs */
592 YASM_WRITE_32_L(localbuf, info.strtab_offset-16);