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: readelf printf format strings on mingw




> ÐÑÑÐÑÐÐ, 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
ÐÑÑÐÐÐÑÐ ÐÐÐÐÑ

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