This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: readelf printf format strings on mingw
- From: Fiodar <fedor_qd at mail dot ru>
- To: Alan Modra <amodra at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 29 Mar 2016 19:12:30 +0300
- Subject: Re: readelf printf format strings on mingw
- Authentication-results: sourceware.org; auth=none
- References: <1459194845 dot 188501247 at f170 dot i dot mail dot ru> <20160329064829 dot GC15812 at bubble dot grove dot modra dot org>
- Reply-to: Fiodar <fedor_qd at mail dot ru>
> ÐÑÑÐÑÐÐ, 29 ÑÐÐÐÐÑÐÐ 2016, 9:48 +03:00 ÐÐ Alan Modra <amodra@gmail.com>:
>
> On Mon, Mar 28, 2016 at 10:54:05PM +0300, Fiodar wrote:
> > ../../binutils-2.26/binutils/readelf.c: In function 'get_data':
> > ../../binutils-2.26/binutils/readelf.c:350:9: error: unknown conversion type character 'l' in format [-Werror=format=]
> > ÂÂÂÂÂÂÂÂ (unsigned long long) nmemb, (unsigned long long) size, reason);
> > ÂÂÂÂÂÂÂÂ ^
>
> This should fix the readelf problem for you.
>
> * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
> (get_dynamic_data): Likewise.
>
> --
> Alan Modra
> Australia Development Lab, IBM
>
It works! Thanks!
Stryzhniou Fiodar
ÐÑÑÐÐÐÑÐ ÐÐÐÐÑ