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, that I believe will fix this instance of the problem without introducing new ones. -- Mathias Svensson
bfd_vma.patch
Description: Binary data
_______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils