Home | History | Annotate | Download | only in elf

Lines Matching refs:sect

298     entry->sect = NULL;
377 entry->sect = NULL;
516 yasm_section *sect;
519 (sect = yasm_bc_get_section(precbc)) &&
520 (shead = yasm_section_get_data(sect, &elf_section_data)) &&
541 yasm_section *sect,
550 if (sect) entry->sect = sect;
644 elf_secthead *sect = data;
646 sect->name ? sect->name->str : "<undef>");
648 yasm_symrec_print(sect->sym, f, indent_level+1);
649 fprintf(f, "%*sindex=0x%x\n", indent_level, "", sect->index);
651 if (sect->flags & SHF_WRITE)
653 if (sect->flags & SHF_ALLOC)
655 if (sect->flags & SHF_EXECINSTR)
657 /*if (sect->flags & SHF_MASKPROC)
659 fprintf(f, "%*soffset=0x%lx\n", indent_level, "", sect->offset);
661 yasm_intnum_get_uint(sect->size));
662 fprintf(f, "%*slink=0x%x\n", indent_level, "", sect->link);
663 fprintf(f, "%*salign=%lu\n", indent_level, "", sect->align);
664 fprintf(f, "%*snreloc=%ld\n", indent_level, "", sect->nreloc);
687 elf_secthead_append_reloc(yasm_section *sect, elf_secthead *shead,
690 if (sect == NULL)
691 yasm_internal_error("sect is null");
698 yasm_section_add_reloc(sect, (yasm_reloc *)reloc, elf_reloc_entry_destroy);
731 yasm_section *sect, elf_secthead *shead,
739 if (!yasm_section_relocs_first(sect))
754 elf_secthead_write_relocs_to_file(FILE *f, yasm_section *sect,
765 reloc = (elf_reloc_entry *)yasm_section_relocs_first(sect);
919 /*, align, sect->name->str);*/