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]

[LD, ARM] Fix in STM32L4XX patch


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.

Attachment: binutils-stm32l4xx.chlog.txt
Description: Text document

Attachment: binutils-stm32l4xx.patch.txt
Description: Text document


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