[LD, ARM] Fix in STM32L4XX patch

Christophe Lyon christophe.lyon@linaro.org
Sun Nov 15 16:26:00 GMT 2015


ping?

On 6 November 2015 at 16:51, Christophe Lyon <christophe.lyon@linaro.org> wrote:
> Hi,
>
> While running the linker tests on a 32-bits i686 host with
> enable-64-bit-bfd=yes, I noticed that a test of the STM32L4XX patch
> was failing.
>
> This is because it expects a message containing an out-of-range
> offset, and does not print the right value: the print format contains
> %d while the value is of type long long.
>
> The attached small patch fixes that by forcing %ld and casting the
> value to (long), as it seems to be standard practice elsewhere in the
> binutils, although not very clean.
>
> Nick, don't you see this error?
>
> OK?
>
> Christophe.



More information about the Binutils mailing list