Home
last modified time | relevance | path

Searched refs:seglen (Results 1 – 2 of 2) sorted by relevance

/toolchain/binutils/binutils-2.25/gas/config/
Dobj-macho.c209 size_t seglen = strlen (segname); in obj_mach_o_make_or_get_sect() local
213 n = xmalloc (seglen + 1 + sectlen + 1); in obj_mach_o_make_or_get_sect()
214 memcpy (n, segname, seglen); in obj_mach_o_make_or_get_sect()
215 n[seglen] = '.'; in obj_mach_o_make_or_get_sect()
216 memcpy (n + seglen + 1, sectname, sectlen); in obj_mach_o_make_or_get_sect()
217 n[seglen + 1 + sectlen] = 0; in obj_mach_o_make_or_get_sect()
/toolchain/binutils/binutils-2.25/bfd/
Dmach-o.c443 unsigned int seglen; in bfd_mach_o_convert_section_name_to_mach_o() local
470 seglen = dot - name; in bfd_mach_o_convert_section_name_to_mach_o()
473 if (seglen <= BFD_MACH_O_SEGNAME_SIZE in bfd_mach_o_convert_section_name_to_mach_o()
476 memcpy (section->segname, name, seglen); in bfd_mach_o_convert_section_name_to_mach_o()
477 section->segname[seglen] = 0; in bfd_mach_o_convert_section_name_to_mach_o()