This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [LD, ARM] Fix in STM32L4XX patch


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]