Lines Matching refs:section_len
461 bfd_vma section_len; in _bfd_elf_parse_attributes() local
464 section_len = bfd_get_32 (abfd, p); in _bfd_elf_parse_attributes()
466 if (section_len == 0) in _bfd_elf_parse_attributes()
468 if (section_len > len) in _bfd_elf_parse_attributes()
469 section_len = len; in _bfd_elf_parse_attributes()
470 len -= section_len; in _bfd_elf_parse_attributes()
471 section_len -= 4; in _bfd_elf_parse_attributes()
472 namelen = strnlen ((char *) p, section_len) + 1; in _bfd_elf_parse_attributes()
473 if (namelen == 0 || namelen >= section_len) in _bfd_elf_parse_attributes()
475 section_len -= namelen; in _bfd_elf_parse_attributes()
483 p += namelen + section_len; in _bfd_elf_parse_attributes()
488 while (section_len > 0 && p < p_end) in _bfd_elf_parse_attributes()
505 if (subsection_len > section_len) in _bfd_elf_parse_attributes()
506 subsection_len = section_len; in _bfd_elf_parse_attributes()
507 section_len -= subsection_len; in _bfd_elf_parse_attributes()