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