[patch opcodes]: Fix boostrap for --enable-targets=all with gcc 4.8

Alan Modra amodra@gmail.com
Tue Oct 16 00:45:00 GMT 2012


On Mon, Oct 15, 2012 at 03:13:20PM +0100, Richard Earnshaw wrote:
> On 10/10/12 16:38, Kai Tietz wrote:
> >Hi,
> >
> >this patch fixes new warnings occuring by using gcc 4.8.
> >
> >ChangeLog
> >
> >2012-10-10  Kai Tietz
> >
> >	* aarch64-asm.c (aarch64_ins_ldst_reglist): Initialize
> >	value with a default.
> >	(do_special_encoding): Likewise.
> >	(aarch64_ins_ldst_elemlist): Pre-initialize QSsize, and opcodeh2
> >	variables with default.
> >	* arc-dis.c (write_comments_): Don't use strncat due
> >	size of state->commentBuffer pointer isn't predictable.
> >
> >Tested for x86_64-w64-mingw32, and x86_64-unknown-linux-gnu.  Ok for apply?
> >
> 
> The AArch64 bits are OK.

The arc-dis.c change is OK too.  The code there look half-baked and in
fact is dead.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list