bfd/
2012-02-02 Tristan Gingold <gingold@adacore.com> * mach-o.c (bfd_mach_o_read_header): Silent uninitialized variable warning. gas/ 2012-02-02 Tristan Gingold <gingold@adacore.com> * config/obj-macho.c (obj_mach_o_zerofill): Silent uninitialized variable warning.
This commit is contained in:
parent
cd99171ce1
commit
facf03f2c3
4 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-02-02 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* mach-o.c (bfd_mach_o_read_header): Silent uninitialized
|
||||
variable warning.
|
||||
|
||||
2012-02-02 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* archive.c (bfd_slurp_armap): Fix thinko in cast.
|
||||
|
|
|
@ -2522,6 +2522,8 @@ bfd_mach_o_read_header (bfd *abfd, bfd_mach_o_header *header)
|
|||
|
||||
if (mach_o_wide_p (header))
|
||||
header->reserved = (*get32) (raw.reserved);
|
||||
else
|
||||
header->reserved = 0;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2012-02-02 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* config/obj-macho.c (obj_mach_o_zerofill): Silent
|
||||
uninitialized variable warning.
|
||||
|
||||
2012-02-02 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR gas/13224
|
||||
|
|
|
@ -434,7 +434,7 @@ obj_mach_o_zerofill (int ignore ATTRIBUTE_UNUSED)
|
|||
symbolS *sym = NULL;
|
||||
unsigned int align = 0;
|
||||
unsigned int specified_mask = 0;
|
||||
offsetT size;
|
||||
offsetT size = 0;
|
||||
|
||||
#ifdef md_flush_pending_output
|
||||
md_flush_pending_output ();
|
||||
|
|
Loading…
Reference in a new issue