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 does this assumption cause a seg-fault ?
In the places where your patch changes bfd_vma to int, the value is
being passed to print_addres_func(), which expects a bfd_vma parameter.
so I fail to see why there is a problem.
Cheers
Nick
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils