2011-08-17 Tristan Gingold <gingold@adacore.com>

* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
This commit is contained in:
Tristan Gingold 2011-08-17 10:17:39 +00:00
parent c77ec72614
commit 72b5104c84
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-08-17 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
2011-08-17 Alan Modra <amodra@gmail.com>
PR ld/12762

View File

@ -957,7 +957,7 @@ bfd_mach_o_write_section_32 (bfd *abfd, bfd_mach_o_section *section)
struct mach_o_section_32_external raw;
memcpy (raw.sectname, section->sectname, 16);
memcpy (raw.segname + 16, section->segname, 16);
memcpy (raw.segname, section->segname, 16);
bfd_h_put_32 (abfd, section->addr, raw.addr);
bfd_h_put_32 (abfd, section->size, raw.size);
bfd_h_put_32 (abfd, section->offset, raw.offset);