Lines Matching refs:hdrLength
286 bfd_size_type hdrLength;
300 hdrLength = get_word (abfd, (bfd_byte *) thdr.length);
302 if (hdrLength < NLM_TARGET_LONG_SIZE)
311 if (hdrLength < 2 * NLM_TARGET_LONG_SIZE)
320 if (hdrLength < 2 * NLM_TARGET_LONG_SIZE + 8)
330 if (hdrLength <= 2 * NLM_TARGET_LONG_SIZE + 8)
333 hdrLength = 0;
337 hdrLength -= 2 * NLM_TARGET_LONG_SIZE + 8;
338 hdr = bfd_alloc (abfd, hdrLength);
341 if (bfd_bread (hdr, hdrLength, abfd) != hdrLength)
354 BFD_ASSERT (hdrLength == 0 && hdr == NULL);
421 nlm_custom_header (abfd)->hdrLength = hdrLength;
796 bfd_size_type hdrLength;
801 hdrLength = (2 * NLM_TARGET_LONG_SIZE + (ds ? 8 : 0)
802 + nlm_custom_header (abfd)->hdrLength);
803 put_word (abfd, hdrLength, thdr.length);
810 BFD_ASSERT (nlm_custom_header (abfd)->hdrLength == 0);
822 amt = nlm_custom_header (abfd)->hdrLength;
1362 + nlm_custom_header (abfd)->hdrLength);