Home
last modified time | relevance | path

Searched refs:sh_addralign (Results 1 – 25 of 45) sorted by relevance

12

/titanic_41/usr/src/uts/intel/ia32/krtld/
H A Dkobj_isa.c107 if (shp->sh_addralign > pp->align) in get_progbits_size()
108 pp->align = shp->sh_addralign; in get_progbits_size()
109 pp->size = ALIGN(pp->size, shp->sh_addralign); in get_progbits_size()
/titanic_41/usr/src/uts/intel/amd64/krtld/
H A Dkobj_isa.c107 if (shp->sh_addralign > pp->align) in get_progbits_size()
108 pp->align = shp->sh_addralign; in get_progbits_size()
109 pp->size = ALIGN(pp->size, shp->sh_addralign); in get_progbits_size()
/titanic_41/usr/src/uts/sparc/krtld/
H A Dkobj_isa.c123 if (shp->sh_addralign > pp->align) in get_progbits_size()
124 pp->align = shp->sh_addralign; in get_progbits_size()
125 pp->size = ALIGN(pp->size, shp->sh_addralign); in get_progbits_size()
/titanic_41/usr/src/cmd/sgs/elfedit/modules/common/
H A Dshdr.c271 EC_XWORD(shdr->sh_addralign)); in print_shdr()
446 Xword sh_addralign; in cmd_body() local
448 sh_addralign = elfedit_atoui(argstate.argv[1], NULL); in cmd_body()
449 if (elfedit_bits_set(sh_addralign, in cmd_body()
450 sizeof (sh_addralign)) > 1) in cmd_body()
454 if (shdr->sh_addralign == sh_addralign) { in cmd_body()
459 EC_XWORD(shdr->sh_addralign)); in cmd_body()
465 EC_XWORD(shdr->sh_addralign), in cmd_body()
466 EC_XWORD(sh_addralign)); in cmd_body()
468 shdr->sh_addralign = sh_addralign; in cmd_body()
H A Dshdr.msg50 @ MSG_DEBUG_ADDRALIGN "ELF warning: sh_addralign value is expected to \
193 The shdr:sh_addralign command is used to display or alter the\n\
200 of sh_addralign. Currently, only 0 and positive integral\n\
204 If shdr:sh_addralign is called without arguments, the value\n\
205 of sh_addralign for every section in the section header array\n\
208 present, the sh_addralign field of the section at the specified\n\
386 @ MSG_CMD_SH_ADDRALIGN "sh_addralign"
/titanic_41/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c499 sp->sh_addralign = 1; in fake_elf64()
521 sp->sh_addralign = SH_ADDRALIGN; in fake_elf64()
548 sp->sh_addralign = SH_ADDRALIGN; in fake_elf64()
574 sp->sh_addralign = 1; in fake_elf64()
598 sp->sh_addralign = SH_ADDRALIGN; in fake_elf64()
694 sp->sh_addralign = SH_ADDRALIGN; in fake_elf64()
H A DPcore.c1390 b->shdr[1].sh_addralign = symtab->sh_addralign; in fake_up_symtab()
1406 b->shdr[2].sh_addralign = 1; in fake_up_symtab()
1456 b->shdr[1].sh_addralign = symtab->sh_addralign; in fake_up_symtab()
1471 b->shdr[2].sh_addralign = 1; in fake_up_symtab()
1540 dst->sh_addralign = (Elf64_Xword)src->sh_addralign; in core_shdr_to_gelf()
H A DPgcore.c678 shdr.sh_addralign = addralign; in write_shdr()
699 shdr.sh_addralign = addralign; in write_shdr()
733 index + 1, sym->sym_hdr_pri.sh_info, sym->sym_hdr_pri.sh_addralign, in dump_symtab()
1001 shdr.sh_addralign = 1; in write_shstrtab()
1018 shdr.sh_addralign = 1; in write_shstrtab()
/titanic_41/usr/src/uts/common/os/
H A Dksyms_snapshot.c174 shp->sh_addralign = sizeof (Addr); in ksyms_snapshot()
183 shp->sh_addralign = 1; in ksyms_snapshot()
190 shp->sh_addralign = 1; in ksyms_snapshot()
/titanic_41/usr/src/tools/ctf/cvt/
H A Doutput.c544 pad = new_offset % shdr.sh_addralign; in write_file()
547 new_offset += shdr.sh_addralign - pad; in write_file()
630 shdr.sh_addralign = 4; in write_file()
632 pad = new_offset % shdr.sh_addralign; in write_file()
635 new_offset += shdr.sh_addralign - pad; in write_file()
644 ddata->d_align = shdr.sh_addralign; in write_file()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_link.c508 shp->sh_addralign = sizeof (char); in dump_elf32()
517 shp->sh_addralign = 8; in dump_elf32()
526 shp->sh_addralign = sizeof (char); in dump_elf32()
538 shp->sh_addralign = 4; in dump_elf32()
564 shp->sh_addralign = 4; in dump_elf32()
645 shp->sh_addralign = sizeof (char); in dump_elf64()
654 shp->sh_addralign = 8; in dump_elf64()
663 shp->sh_addralign = sizeof (char); in dump_elf64()
675 shp->sh_addralign = 8; in dump_elf64()
697 shp->sh_addralign = 8; in dump_elf64()
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Di386_elf.h70 Elf32_Size sh_addralign; /* Alignment in bytes. */ member
/titanic_41/usr/src/uts/common/exec/elf/
H A Delf.c1577 v[i].sh_addralign = 4; in process_scns()
1579 v[i].sh_addralign); in process_scns()
1661 v[i].sh_addralign = in process_scns()
1662 symtab->sh_addralign; in process_scns()
1664 v[i].sh_addralign); in process_scns()
1682 v[i + 1].sh_addralign = in process_scns()
1683 strtab->sh_addralign; in process_scns()
1685 v[i + 1].sh_addralign); in process_scns()
1723 v[i].sh_addralign = 1; in process_scns()
1724 *doffsetp = roundup(*doffsetp, v[i].sh_addralign); in process_scns()
/titanic_41/usr/src/cmd/sgs/liblddbg/common/
H A Dshdr.c57 dbg_print(lml, MSG_ORIG(MSG_SHD_ALIGN), EC_XWORD(shdr->sh_addralign)); in Elf_shdr()
H A Dsections.c177 (isp->is_shdr->sh_addralign > 1)) { in Dbg_sec_unsup_strmerge()
182 EC_XWORD(isp->is_shdr->sh_addralign), in Dbg_sec_unsup_strmerge()
H A Delf.c119 dbg_print(lml, MSG_ORIG(MSG_SHD0_ALIGN), EC_XWORD(shdr0->sh_addralign)); in Elf_ehdr()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Doutfile.c258 offset = (off_t)S_ROUND(offset, shdr->sh_addralign); in pad_outfile()
627 isp->is_shdr->sh_addralign); in ld_create_outfile()
873 osp->os_shdr->sh_addralign); in ld_create_outfile()
H A Dsections.c652 shdr->sh_addralign = sec_info->align; in new_section()
705 data->d_align = tmpl_isp->is_shdr->sh_addralign; in new_section_from_template()
764 shdr->sh_addralign = align; in ld_make_bss()
921 shdr->sh_addralign = 1; in make_comment()
1393 data->d_align = shdr->sh_addralign = 1; in make_interp()
1937 shdr->sh_addralign = ld_targ.t_m.m_plt_align; in make_plt()
2629 shdr->sh_addralign = align; in ld_make_parexpn_data()
/titanic_41/usr/src/cmd/sgs/libelf/common/
H A Dupdate.c229 sh->sh_addralign = 1; in _elf_upd_lib()
243 if (j > sh->sh_addralign) in _elf_upd_lib()
244 sh->sh_addralign = (Xword)j; in _elf_upd_lib()
277 j = sh->sh_addralign; in _elf_upd_lib()
H A Dgelf.c351 dst->sh_addralign = (Elf64_Xword)s->sh_addralign; in gelf_getshdr()
400 dst->sh_addralign = (Elf32_Word)src->sh_addralign; in gelf_update_shdr()
/titanic_41/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c917 if (shp->sh_addralign > data_align) in init_xen_module()
918 data_align = shp->sh_addralign; in init_xen_module()
924 if (shp->sh_addralign > text_align) in init_xen_module()
925 text_align = shp->sh_addralign; in init_xen_module()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h113 Elf32_Word sh_addralign; /* Section alignment */ member
/titanic_41/usr/src/uts/common/sys/
H A Delf.h388 Elf32_Word sh_addralign; /* memory alignment */ member
402 Elf64_Xword sh_addralign; /* memory alignment */ member
/titanic_41/usr/src/lib/libctf/common/
H A Dctf_lib.c150 dst->sh_addralign = src->sh_addralign; in shdr_to_gelf()
/titanic_41/usr/src/cmd/sgs/elfdump/common/
H A Dfake_shdr.c154 Word sh_addralign; member
949 sec->shdr->sh_addralign = tinfo->sh_addralign; in get_data()
1005 sec->data->d_align = tinfo->sh_addralign; in get_data()

12