Home | History | Annotate | Download | only in rdf

Lines Matching full:reloc

69     yasm_reloc reloc;
228 rdf_reloc *reloc;
232 reloc = yasm_xmalloc(sizeof(rdf_reloc));
233 reloc->reloc.addr = yasm_intnum_create_uint(bc->offset + offset);
234 reloc->reloc.sym = value->rel;
235 reloc->size = valsize/8;
238 reloc->type = RDF_RELOC_SEG;
240 reloc->type = RDF_RELOC_REL;
246 reloc->type = RDF_RELOC_NORM;
259 reloc->refseg = csectd->scnum;
263 rsymd = yasm_symrec_get_data(reloc->reloc.sym,
268 reloc->refseg = rsymd->segment;
271 yasm_section_add_reloc(info->sect, (yasm_reloc *)reloc, yasm_xfree);
385 rdf_reloc *reloc;
400 reloc = (rdf_reloc *)yasm_section_relocs_first(sect);
401 while (reloc) {
404 if (reloc->type == RDF_RELOC_SEG)
409 /* Section number, +0x40 if relative reloc */
411 (reloc->type == RDF_RELOC_REL ? 0x40 : 0));
412 yasm_intnum_get_sized(reloc->reloc.addr, localbuf, 4, 32, 0, 0, 0);
414 YASM_WRITE_8(localbuf, reloc->size); /* size of relocation */
415 YASM_WRITE_16_L(localbuf, reloc->refseg); /* relocated symbol */
418 reloc = (rdf_reloc *)yasm_section_reloc_next((yasm_reloc *)reloc);
578 /* Save symbol segment in symrec data (for later reloc gen) */