Home
last modified time | relevance | path

Searched refs:YASM_WRITE_32_L (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/
Delf-x86-x86.c82 YASM_WRITE_32_L(bufp, entry->name ? entry->name->index : 0); in elf_x86_x86_write_symtab_entry()
102 YASM_WRITE_32_L(bufp, shead->name ? shead->name->index : 0); in elf_x86_x86_write_secthead()
103 YASM_WRITE_32_L(bufp, shead->type); in elf_x86_x86_write_secthead()
104 YASM_WRITE_32_L(bufp, shead->flags); in elf_x86_x86_write_secthead()
105 YASM_WRITE_32_L(bufp, 0); /* vmem address */ in elf_x86_x86_write_secthead()
107 YASM_WRITE_32_L(bufp, shead->offset); in elf_x86_x86_write_secthead()
109 YASM_WRITE_32_L(bufp, shead->link); in elf_x86_x86_write_secthead()
110 YASM_WRITE_32_L(bufp, shead->info); in elf_x86_x86_write_secthead()
112 YASM_WRITE_32_L(bufp, shead->align); in elf_x86_x86_write_secthead()
113 YASM_WRITE_32_L(bufp, shead->entsize); in elf_x86_x86_write_secthead()
[all …]
Delf-x86-amd64.c77 YASM_WRITE_32_L(bufp, entry->name ? entry->name->index : 0); in elf_x86_amd64_write_symtab_entry()
96 YASM_WRITE_32_L(bufp, shead->name ? shead->name->index : 0); in elf_x86_amd64_write_secthead()
97 YASM_WRITE_32_L(bufp, shead->type); in elf_x86_amd64_write_secthead()
103 YASM_WRITE_32_L(bufp, shead->link); in elf_x86_amd64_write_secthead()
104 YASM_WRITE_32_L(bufp, shead->info); in elf_x86_amd64_write_secthead()
119 YASM_WRITE_32_L(bufp, shead->rel_name ? shead->rel_name->index : 0); in elf_x86_amd64_write_secthead_rel()
120 YASM_WRITE_32_L(bufp, SHT_RELA); in elf_x86_amd64_write_secthead_rel()
132 YASM_WRITE_32_L(bufp, symtab_idx); /* link: symtab index */ in elf_x86_amd64_write_secthead_rel()
133 YASM_WRITE_32_L(bufp, shead->index); /* info: relocated's index */ in elf_x86_amd64_write_secthead_rel()
203 YASM_WRITE_32_L(bufp, 0); in elf_x86_amd64_write_reloc()
[all …]
Delf-machine.h42 YASM_WRITE_32_L(p, lo); \
43 YASM_WRITE_32_L(p, hi); } while (0)
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/macho/
Dmacho-objfmt.c674 YASM_WRITE_32_L(localbuf, in macho_objfmt_output_relocs()
751 YASM_WRITE_32_L(localbuf, msd->vmoff); /* address in memory */ in macho_objfmt_output_secthead()
753 YASM_WRITE_32_L(localbuf, 0); /* 64-bit mode: upper 32 bits = 0 */ in macho_objfmt_output_secthead()
754 YASM_WRITE_32_L(localbuf, msd->size); /* size in memory */ in macho_objfmt_output_secthead()
756 YASM_WRITE_32_L(localbuf, 0); /* 64-bit mode: upper 32 bits = 0 */ in macho_objfmt_output_secthead()
760 YASM_WRITE_32_L(localbuf, msd->offset); in macho_objfmt_output_secthead()
761 YASM_WRITE_32_L(localbuf, exp2_to_bits(yasm_section_get_align(sect))); in macho_objfmt_output_secthead()
766 YASM_WRITE_32_L(localbuf, in macho_objfmt_output_secthead()
768 YASM_WRITE_32_L(localbuf, msd->nreloc); /* nreloc */ in macho_objfmt_output_secthead()
770 YASM_WRITE_32_L(localbuf, 0); in macho_objfmt_output_secthead()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/xdf/
Dxdf-objfmt.c349 YASM_WRITE_32_L(localbuf, xsymd->index); /* relocated symbol */ in xdf_objfmt_output_section()
355 YASM_WRITE_32_L(localbuf, xsymd->index); /* base symbol */ in xdf_objfmt_output_section()
360 YASM_WRITE_32_L(localbuf, 0); /* no base symbol */ in xdf_objfmt_output_section()
392 YASM_WRITE_32_L(localbuf, xsymd->index); /* section name symbol */ in xdf_objfmt_output_secthead()
397 YASM_WRITE_32_L(localbuf, 0); in xdf_objfmt_output_secthead()
398 YASM_WRITE_32_L(localbuf, 0); in xdf_objfmt_output_secthead()
407 YASM_WRITE_32_L(localbuf, 0); in xdf_objfmt_output_secthead()
408 YASM_WRITE_32_L(localbuf, 0); in xdf_objfmt_output_secthead()
412 YASM_WRITE_32_L(localbuf, xsd->scnptr); /* file ptr to data */ in xdf_objfmt_output_secthead()
413 YASM_WRITE_32_L(localbuf, xsd->size); /* section size */ in xdf_objfmt_output_secthead()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/
Dcoff-objfmt.c838 YASM_WRITE_32_L(localbuf, csd->nreloc+1); /* address of relocation */ in coff_objfmt_output_section()
839 YASM_WRITE_32_L(localbuf, 0); /* relocated symbol */ in coff_objfmt_output_section()
856 YASM_WRITE_32_L(localbuf, csymd->index); /* relocated symbol */ in coff_objfmt_output_section()
919 YASM_WRITE_32_L(localbuf, 0); /* physical address */ in coff_objfmt_output_secthead()
920 YASM_WRITE_32_L(localbuf, 0); /* virtual address */ in coff_objfmt_output_secthead()
922 YASM_WRITE_32_L(localbuf, csd->addr); /* physical address */ in coff_objfmt_output_secthead()
924 YASM_WRITE_32_L(localbuf, csd->addr);/* virtual address */ in coff_objfmt_output_secthead()
926 YASM_WRITE_32_L(localbuf, 0); /* virtual address */ in coff_objfmt_output_secthead()
928 YASM_WRITE_32_L(localbuf, csd->size); /* section size */ in coff_objfmt_output_secthead()
929 YASM_WRITE_32_L(localbuf, csd->scnptr); /* file ptr to data */ in coff_objfmt_output_secthead()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/
Drdf-objfmt.c449 YASM_WRITE_32_L(localbuf, rsd->size); /* length */ in rdf_objfmt_output_section_file()
576 YASM_WRITE_32_L(localbuf, value); /* offset */ in rdf_objfmt_output_sym()
602 YASM_WRITE_32_L(localbuf, value); in rdf_objfmt_output_sym()
743 YASM_WRITE_32_L(localbuf, info.bss_size); /* total BSS size */ in rdf_objfmt_output()
781 YASM_WRITE_32_L(localbuf, filelen-10); /* object size */ in rdf_objfmt_output()
782 YASM_WRITE_32_L(localbuf, headerlen-14); /* header size */ in rdf_objfmt_output()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/stabs/
Dstabs-dbgfmt.c419 YASM_WRITE_32_L(buf, stab->bcstr ? stab->bcstr->offset : 0); in stabs_bc_stab_tobytes()
431 YASM_WRITE_32_L(buf, stab->bcvalue->offset); in stabs_bc_stab_tobytes()
434 YASM_WRITE_32_L(buf, stab->value); in stabs_bc_stab_tobytes()
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dfile.h270 #define YASM_WRITE_32_L(ptr, val) \ macro