2011-08-17 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
This commit is contained in:
parent
c77ec72614
commit
72b5104c84
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue