[PATCH] Fix build on Solaris 2.5.1
Eric Botcazou
ebotcazou@libertysurf.fr
Mon Jan 30 10:26:00 GMT 2006
Hi,
I need the attached patch to let mainline build on SPARC/Solaris 2.5.1.
Tested on SPARC/Solaris 2.5.1-2.10 and x86-64/Linux. OK for mainline?
2006-01-30 Eric Botcazou <ebotcazou@libertysurf.fr>
binutils/
* configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
* configure: Regenerate.
* objdump.c (fprintf): Remove declaration.
* bucomm.h (fprintf): Declare if not already declared.
(snprintf): Likewise.
(vsnprintf): Likewise.
gas/
* configure.in (CHECK_DECLS): Add vsnprintf.
* configure: Regenerate.
* messages.c (errno.h, stdarg.h, varargs.h, va_list):
Do not include/declare here, but...
* as.h: Move code detecting VARARGS idiom to the top.
(errno.h, stdarg.h, varargs.h, va_list): ...here.
(vsnprintf): Declare if not already declared.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils_sol25.diff
Type: text/x-diff
Size: 5586 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060130/58e303e2/attachment.bin>
More information about the Binutils
mailing list