[PATCH] binutils: Fix warning on platforms that don't have asprintf()

Alan Modra amodra@gmail.com
Mon Mar 6 01:16:00 GMT 2017


On Fri, Mar 03, 2017 at 02:14:35PM +0000, Sam Thursfield wrote:
>     Fixes the following warning:
>     
>     	nm.c: In function 'get_elf_symbol_type':
>     	nm.c:364:9: error: implicit declaration of function 'asprintf' [-Werror=implicit-function-declaration]
>     	     n = asprintf (&bufp, _("<processor specific>: %d"), type);
>     		 ^~~~~~~~

Thanks, committed.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list