Hi anirkko,
/build/binutils-2.17/bfd/coffcode.h: In function 'coff_rtype_to_howto':
/build/binutils-2.17/bfd/coffcode.h:4928: warning: 'genrel.howto' may be used
uninitialized in this function
The attached patch should take care of this problem. Please could you
try it out.
Cheers
Nick
Index: bfd/coffcode.h
===================================================================
RCS file: /cvs/src/src/bfd/coffcode.h,v
retrieving revision 1.136
diff -c -3 -p -r1.136 coffcode.h
*** bfd/coffcode.h 26 Mar 2007 12:22:59 -0000 1.136
--- bfd/coffcode.h 18 Apr 2007 15:14:23 -0000
*************** coff_rtype_to_howto (bfd *abfd ATTRIBUTE
*** 4950,4955 ****
--- 4950,4956 ----
{
arelent genrel;
+ genrel.howto = NULL;
RTYPE2HOWTO (&genrel, rel);
return genrel.howto;
}
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils