Home
last modified time | relevance | path

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

/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dmach-o.c3182 unsigned int nbr_commands; in bfd_mach_o_build_commands() local
3244 nbr_commands = nbr_segcmd; in bfd_mach_o_build_commands()
3248 symtab_idx = nbr_commands++; in bfd_mach_o_build_commands()
3257 dysymtab_idx = nbr_commands++; in bfd_mach_o_build_commands()
3263 main_idx = nbr_commands++; in bfd_mach_o_build_commands()
3270 if (nbr_commands == 0) in bfd_mach_o_build_commands()
3277 commands = bfd_zalloc (abfd, nbr_commands * sizeof (bfd_mach_o_load_command)); in bfd_mach_o_build_commands()
3280 for (i = 0; i < nbr_commands - 1; i++) in bfd_mach_o_build_commands()
3282 commands[nbr_commands - 1].next = mdata->first_command; in bfd_mach_o_build_commands()
3284 mdata->last_command = &commands[nbr_commands - 1]; in bfd_mach_o_build_commands()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dmach-o.c3165 unsigned int nbr_commands; in bfd_mach_o_build_commands() local
3227 nbr_commands = nbr_segcmd; in bfd_mach_o_build_commands()
3231 symtab_idx = nbr_commands++; in bfd_mach_o_build_commands()
3240 dysymtab_idx = nbr_commands++; in bfd_mach_o_build_commands()
3246 main_idx = nbr_commands++; in bfd_mach_o_build_commands()
3253 if (nbr_commands == 0) in bfd_mach_o_build_commands()
3260 commands = bfd_zalloc (abfd, nbr_commands * sizeof (bfd_mach_o_load_command)); in bfd_mach_o_build_commands()
3263 for (i = 0; i < nbr_commands - 1; i++) in bfd_mach_o_build_commands()
3265 commands[nbr_commands - 1].next = mdata->first_command; in bfd_mach_o_build_commands()
3267 mdata->last_command = &commands[nbr_commands - 1]; in bfd_mach_o_build_commands()