diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/mach-o.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5b62318..d00fd06 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2012-01-10 Tristan Gingold <gingold@adacore.com> + * mach-o.c (bfd_mach_o_build_commands): Avoid uninitialized false + warning. + +2012-01-10 Tristan Gingold <gingold@adacore.com> + * bfdio.c (bfd_tell): Handle nested archives. (bfd_seek): Ditto. * cache.c (bfd_cache_lookup_worker): Ditto. diff --git a/bfd/mach-o.c b/bfd/mach-o.c index 07ca65a..1234899 100644 --- a/bfd/mach-o.c +++ b/bfd/mach-o.c @@ -2154,7 +2154,7 @@ bfd_mach_o_build_commands (bfd *abfd) { bfd_mach_o_data_struct *mdata = bfd_mach_o_get_data (abfd); unsigned int wide = mach_o_wide_p (&mdata->header); - bfd_mach_o_segment_command *seg; + bfd_mach_o_segment_command *seg = NULL; bfd_mach_o_load_command *cmd; bfd_mach_o_load_command *symtab_cmd; unsigned symcind; |