2011-08-18 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_read_segment): Initialize list.
This commit is contained in:
parent
0a35427e67
commit
9d4b600942
|
@ -1,3 +1,7 @@
|
||||||
|
2011-08-18 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
|
* mach-o.c (bfd_mach_o_read_segment): Initialize list.
|
||||||
|
|
||||||
2011-08-17 Tristan Gingold <gingold@adacore.com>
|
2011-08-17 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
|
* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
|
||||||
|
|
|
@ -2593,6 +2593,8 @@ bfd_mach_o_read_segment (bfd *abfd,
|
||||||
seg->nsects = bfd_h_get_32 (abfd, raw.nsects);
|
seg->nsects = bfd_h_get_32 (abfd, raw.nsects);
|
||||||
seg->flags = bfd_h_get_32 (abfd, raw.flags);
|
seg->flags = bfd_h_get_32 (abfd, raw.flags);
|
||||||
}
|
}
|
||||||
|
seg->sect_head = NULL;
|
||||||
|
seg->sect_tail = NULL;
|
||||||
|
|
||||||
for (i = 0; i < seg->nsects; i++)
|
for (i = 0; i < seg->nsects; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue