Lines Matching refs:xlat
379 const mach_o_section_name_xlat *xlat; in bfd_mach_o_convert_section_name_to_bfd() local
389 xlat = bfd_mach_o_section_data_for_mach_sect (abfd, segname, secname); in bfd_mach_o_convert_section_name_to_bfd()
390 if (xlat) in bfd_mach_o_convert_section_name_to_bfd()
392 len = strlen (xlat->bfd_name); in bfd_mach_o_convert_section_name_to_bfd()
396 memcpy (res, xlat->bfd_name, len+1); in bfd_mach_o_convert_section_name_to_bfd()
398 *flags = xlat->bfd_flags; in bfd_mach_o_convert_section_name_to_bfd()
438 const mach_o_section_name_xlat *xlat; in bfd_mach_o_convert_section_name_to_mach_o() local
450 xlat = bfd_mach_o_section_data_for_bfd_name (abfd, name, &segname); in bfd_mach_o_convert_section_name_to_mach_o()
451 if (xlat) in bfd_mach_o_convert_section_name_to_mach_o()
454 strcpy (section->sectname, xlat->mach_o_name); in bfd_mach_o_convert_section_name_to_mach_o()
455 return xlat; in bfd_mach_o_convert_section_name_to_mach_o()
3266 static const mach_o_section_name_xlat * xlat; in bfd_mach_o_new_section_hook() local
3278 xlat = bfd_mach_o_convert_section_name_to_mach_o (abfd, sec, s); in bfd_mach_o_new_section_hook()
3279 if (xlat != NULL) in bfd_mach_o_new_section_hook()
3281 s->flags = xlat->macho_sectype | xlat->macho_secattr; in bfd_mach_o_new_section_hook()
3282 s->align = xlat->sectalign > bfdalign ? xlat->sectalign in bfd_mach_o_new_section_hook()
3287 bfd_set_section_flags (abfd, sec, xlat->bfd_flags); in bfd_mach_o_new_section_hook()