Lines Matching defs:commands

618   /* Copy commands.  */
1982 " implemented for dysymtab commands."));
2469 /* Make the commands, if not already present. */
2580 /* Second pass: write commands. */
2896 /* Layout the commands: set commands size and offset, set ncmds and sizeofcmds
3006 /* Build Mach-O load commands (currently assuming an MH_OBJECT file).
3007 TODO: Other file formats, rebuilding symtab/dysymtab commands for strip
3016 bfd_mach_o_load_command *commands;
3050 /* Segment commands. */
3107 /* Layout commands (well none...) and set headers command fields. */
3111 /* Create commands for segments (and symtabs), prepend them. */
3112 commands = bfd_zalloc (abfd, nbr_commands * sizeof (bfd_mach_o_load_command));
3113 if (commands == NULL)
3116 commands[i].next = &commands[i + 1];
3117 commands[nbr_commands - 1].next = mdata->first_command;
3119 mdata->last_command = &commands[nbr_commands - 1];
3120 mdata->first_command = &commands[0];
3125 bfd_mach_o_init_segment (mdata, &commands[0], "", mdata->nsects);
3134 cmd = &commands[0];
3162 bfd_mach_o_load_command *cmd = &commands[symtab_idx];
3172 bfd_mach_o_load_command *cmd = &commands[dysymtab_idx];
3181 bfd_mach_o_load_command *cmd = &commands[main_idx];
3190 /* Layout commands. */
3194 /* So, now we have sized the commands and the filelen set to that.
3200 (abfd, &commands[i].command.segment))
3210 bfd_mach_o_segment_command *seg = &commands[i].command.segment;
3220 commands[0].command.segment.vmsize =
3221 commands[1].command.segment.vmaddr;
3224 commands[nbr_segcmd - 1].command.segment.vmaddr = maxvma;
3225 commands[nbr_segcmd - 1].command.segment.fileoff = mdata->filelen;
3229 commands[main_idx].command.main.entryoff =
3230 bfd_get_start_address (abfd) - commands[1].command.segment.vmaddr;
3248 the load commands if they are not already present. */