Lines Matching refs:section_len
528 size_t section_len; in _bfd_elf_parse_attributes() local
531 section_len = bfd_get_32 (abfd, p); in _bfd_elf_parse_attributes()
533 if (section_len == 0) in _bfd_elf_parse_attributes()
535 if (section_len > len) in _bfd_elf_parse_attributes()
536 section_len = len; in _bfd_elf_parse_attributes()
537 if (section_len <= 4) in _bfd_elf_parse_attributes()
541 abfd, (long) section_len); in _bfd_elf_parse_attributes()
544 section_len -= 4; in _bfd_elf_parse_attributes()
545 namelen = strnlen ((char *) p, section_len) + 1; in _bfd_elf_parse_attributes()
546 if (namelen >= section_len) in _bfd_elf_parse_attributes()
555 p += section_len; in _bfd_elf_parse_attributes()
560 section_len -= namelen; in _bfd_elf_parse_attributes()
561 while (section_len > 0) in _bfd_elf_parse_attributes()
580 if (subsection_len > section_len) in _bfd_elf_parse_attributes()
581 subsection_len = section_len; in _bfd_elf_parse_attributes()
582 section_len -= subsection_len; in _bfd_elf_parse_attributes()