* [mach-o/committed]: Add comments and fix two typos
@ 2011-08-08 14:53 Tristan Gingold
0 siblings, 0 replies; only message in thread
From: Tristan Gingold @ 2011-08-08 14:53 UTC (permalink / raw)
To: binutils Development
Hi,
this patch fixes two typos I made in the previous ones.
Tristan.
bfd/
2011-08-08 Tristan Gingold <gingold@adacore.com>
* mach-o.c (struct mach_o_segment_name_xlat): Add comments.
(segsec_names_xlat): Reorder elements.
(bfd_mach_o_read_section_32): Fix typo.
(bfd_mach_o_read_section_64): Fix typo.
RCS file: /cvs/src/src/bfd/mach-o.c,v
retrieving revision 1.63
diff -c -r1.63 mach-o.c
*** mach-o.c 8 Aug 2011 10:56:31 -0000 1.63
--- mach-o.c 8 Aug 2011 14:48:16 -0000
***************
*** 140,148 ****
static const struct mach_o_segment_name_xlat segsec_names_xlat[] =
{
- { "__DWARF", dwarf_section_names_xlat },
{ "__TEXT", text_section_names_xlat },
{ "__DATA", data_section_names_xlat },
{ NULL, NULL }
};
--- 140,148 ----
static const struct mach_o_segment_name_xlat segsec_names_xlat[] =
{
{ "__TEXT", text_section_names_xlat },
{ "__DATA", data_section_names_xlat },
+ { "__DWARF", dwarf_section_names_xlat },
{ NULL, NULL }
};
***************
*** 1675,1681 ****
!= BFD_MACH_O_SECTION_SIZE))
return NULL;
! sec = bfd_mach_o_make_bfd_section (abfd, raw.sectname, raw.segname);
if (sec == NULL)
return NULL;
--- 1675,1681 ----
return NULL;
! sec = bfd_mach_o_make_bfd_section (abfd, raw.segname, raw.sectname);
if (sec == NULL)
return NULL;
***************
*** 1714,1720 ****
!= BFD_MACH_O_SECTION_64_SIZE))
return NULL;
! sec = bfd_mach_o_make_bfd_section (abfd, raw.sectname, raw.segname);
if (sec == NULL)
return NULL;
--- 1714,1720 ----
!= BFD_MACH_O_SECTION_64_SIZE))
return NULL;
! sec = bfd_mach_o_make_bfd_section (abfd, raw.segname, raw.sectname);
if (sec == NULL)
return NULL;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-08 14:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-08 14:53 [mach-o/committed]: Add comments and fix two typos Tristan Gingold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).