Lines Matching refs:sec
188 sh64_get_contents_type (asection *sec, bfd_vma addr, sh64_elf_crange *rangep) in sh64_get_contents_type() argument
193 if (bfd_get_flavour (sec->owner) == bfd_target_elf_flavour in sh64_get_contents_type()
194 && elf_elfheader (sec->owner)->e_type == ET_EXEC) in sh64_get_contents_type()
196 rangep->cr_addr = bfd_get_section_vma (sec->owner, sec); in sh64_get_contents_type()
197 rangep->cr_size = sec->size; in sh64_get_contents_type()
205 if ((elf_section_data (sec)->this_hdr.sh_flags in sh64_get_contents_type()
209 = ((bfd_get_section_flags (sec->owner, sec) & SEC_CODE) != 0 in sh64_get_contents_type()
216 if ((elf_section_data (sec)->this_hdr.sh_flags in sh64_get_contents_type()
224 cranges = bfd_get_section_by_name (sec->owner, SH64_CRANGES_SECTION_NAME); in sh64_get_contents_type()
241 sh64_address_is_shmedia (asection *sec, bfd_vma addr) in sh64_address_is_shmedia() argument
244 return sh64_get_contents_type (sec, addr, &dummy) == CRT_SH5_ISA32; in sh64_address_is_shmedia()