Lines Matching refs:section_len
502 size_t section_len; in _bfd_elf_parse_attributes() local
505 section_len = bfd_get_32 (abfd, p); in _bfd_elf_parse_attributes()
507 if (section_len == 0) in _bfd_elf_parse_attributes()
509 if (section_len > len) in _bfd_elf_parse_attributes()
510 section_len = len; in _bfd_elf_parse_attributes()
511 if (section_len <= 4) in _bfd_elf_parse_attributes()
515 abfd, (long) section_len); in _bfd_elf_parse_attributes()
518 section_len -= 4; in _bfd_elf_parse_attributes()
519 namelen = strnlen ((char *) p, section_len) + 1; in _bfd_elf_parse_attributes()
520 if (namelen >= section_len) in _bfd_elf_parse_attributes()
529 p += section_len; in _bfd_elf_parse_attributes()
534 section_len -= namelen; in _bfd_elf_parse_attributes()
535 while (section_len > 0) in _bfd_elf_parse_attributes()
554 if (subsection_len > section_len) in _bfd_elf_parse_attributes()
555 subsection_len = section_len; in _bfd_elf_parse_attributes()
556 section_len -= subsection_len; in _bfd_elf_parse_attributes()