Home | History | Annotate | Download | only in bfd

Lines Matching refs:segment

89 /* Tables to translate well known Mach-O segment/section names to bfd
93 /* __TEXT Segment. */
132 /* __DATA Segment. */
162 /* __DWARF Segment. */
207 /* __OBJC Segment. */
292 /* Fetch the translation from a Mach-O section designation (segment, section)
295 Allow the segment and section names to be unterminated 16 byte arrays. */
326 know the Mach-O data, return the segment name and the data for the
368 LC_SEGMENT. if the segment name does not begin with an underscore.
402 /* ... else we make up a bfd name from the segment concatenated with the
407 /* Put "LC_SEGMENT." prefix if the segment name is weird (ie doesn't start
424 /* Convert a bfd section name to a Mach-O segment + section name.
467 /* Try to split name into segment and section names. */
484 /* The segment and section names are both missing - don't make them
489 /* Just duplicate the name into both segment and section. */
1679 bfd_mach_o_segment_command *seg = &command->command.segment;
1713 bfd_mach_o_segment_command *seg = &command->command.segment;
2391 /* First pass: allocate the linkedit segment. */
2397 if (strcmp (cmd->command.segment.segname, "__LINKEDIT") == 0)
2398 linkedit = &cmd->command.segment;
2604 /* Append sections to the segment.
2716 /* Append sections to the segment. We assume they are properly ordered
2723 /* Consider only sections for this segment. */
2733 /* Set segment file offset: make it page aligned. */
2747 /* Adjust segment size. */
2793 /* Round segment size (and file size). */
2827 + BFD_MACH_O_SECTION_64_SIZE * cmd->command.segment.nsects;
2831 + BFD_MACH_O_SECTION_SIZE * cmd->command.segment.nsects;
2878 segment. */
2885 bfd_mach_o_segment_command *seg = &cmd->command.segment;
2888 /* Init segment command. */
2951 /* Segment commands. */
2954 /* Only one segment for all the sections. But the segment is
2962 /* One pagezero segment and one linkedit segment. */
2965 /* Create one segment for associated segment name in sections.
2966 Assume that sections with the same segment name are consecutive. */
3026 /* For object file, there is only one segment. */
3046 /* Count number of sections for this segment. */
3096 Now we can build the segment command and set the section file offsets. */
3101 (abfd, &commands[i].command.segment))
3111 bfd_mach_o_segment_command *seg = &commands[i].command.segment;
3121 commands[0].command.segment.vmsize =
3122 commands[1].command.segment.vmaddr;
3125 commands[nbr_segcmd - 1].command.segment.vmaddr = maxvma;
3126 commands[nbr_segcmd - 1].command.segment.fileoff = mdata->filelen;
3131 bfd_get_start_address (abfd) - commands[1].command.segment.vmaddr;
4435 bfd_mach_o_segment_command *seg = &command->command.segment;
4664 bfd_mach_o_segment_command *seg = &cmd->command.segment;
4682 bfd_mach_o_segment_command *seg = &cmd->command.segment;
5029 struct bfd_mach_o_segment_command *segcmd = &cmd->command.segment;
5423 seg = &cmd->command.segment;