Re: Assumption about size of bfd_vma in opcodes/arm-dis.c

2013-07-19 Thread Andreas Schwab
Mathias Svensson writes: > In multiple places in opcodes/arm-dis.c there is an implcit assumption > that bfd_vma has the same size as an int. See for example lines > 2014-2033 in HEAD. You are looking at some one year old sources, this has already been fixed in 2012-07, in response to PR binutil

Re: Assumption about size of bfd_vma in opcodes/arm-dis.c

2013-07-19 Thread nick clifton
Hi Mathias, In multiple places in opcodes/arm-dis.c there is an implcit assumption that bfd_vma has the same size as an int. See for example lines 2014-2033 in HEAD. This can cause a segfault e.g. if binutils is compiled on i386 with --enable-64-bit-bfd --target=arm-linux. I am confused - how

Assumption about size of bfd_vma in opcodes/arm-dis.c

2013-06-26 Thread Mathias Svensson
Hello, In multiple places in opcodes/arm-dis.c there is an implcit assumption that bfd_vma has the same size as an int. See for example lines 2014-2033 in HEAD. This can cause a segfault e.g. if binutils is compiled on i386 with --enable-64-bit-bfd --target=arm-linux. I have attached a patch, th