Lines Matching refs:relsize
2163 long relsize; in merge_gnu_build_notes() local
2165 relsize = bfd_get_reloc_upper_bound (abfd, sec); in merge_gnu_build_notes()
2166 if (relsize > 0) in merge_gnu_build_notes()
2173 relpp = (arelent **) xmalloc (relsize); in merge_gnu_build_notes()
4290 long relsize; in copy_relocations_in_section() local
4304 relsize = 0; in copy_relocations_in_section()
4307 relsize = bfd_get_reloc_upper_bound (ibfd, isection); in copy_relocations_in_section()
4309 if (relsize < 0) in copy_relocations_in_section()
4312 if (relsize == -1 && bfd_get_error () == bfd_error_invalid_operation) in copy_relocations_in_section()
4313 relsize = 0; in copy_relocations_in_section()
4323 if (relsize == 0) in copy_relocations_in_section()
4339 relpp = bfd_xalloc (obfd, relsize); in copy_relocations_in_section()
4569 long relsize; in mark_symbols_used_in_relocations() local
4577 relsize = bfd_get_reloc_upper_bound (ibfd, isection); in mark_symbols_used_in_relocations()
4578 if (relsize < 0) in mark_symbols_used_in_relocations()
4581 if (relsize == -1 && bfd_get_error () == bfd_error_invalid_operation) in mark_symbols_used_in_relocations()
4586 if (relsize == 0) in mark_symbols_used_in_relocations()
4589 relpp = (arelent **) xmalloc (relsize); in mark_symbols_used_in_relocations()