Module Name: src
Committed By: mrg
Date: Tue Nov 14 08:52:20 UTC 2017
Modified Files:
src/external/gpl3/gcc.old/dist/libiberty: vprintf-support.c
src/external/gpl3/gcc.old/lib/liblto_plugin: Makefile
Log Message:
attempt to fix liblto_plugin build. on sparc it at least now
appears to have no missing symbols. add xasprintf.c, xvasprintf.c,
and vprintf-support.c.
fix vprintf-support.c to include vprintf-support.h.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl3/gcc.old/dist/libiberty/vprintf-support.c
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc.old/lib/liblto_plugin/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc.old/dist/libiberty/vprintf-support.c
diff -u src/external/gpl3/gcc.old/dist/libiberty/vprintf-support.c:1.1.1.1 src/external/gpl3/gcc.old/dist/libiberty/vprintf-support.c:1.2
--- src/external/gpl3/gcc.old/dist/libiberty/vprintf-support.c:1.1.1.1 Sun Jul 23 01:04:58 2017
+++ src/external/gpl3/gcc.old/dist/libiberty/vprintf-support.c Tue Nov 14 08:52:20 2017
@@ -36,6 +36,7 @@ Floor, Boston, MA 02110-1301, USA. */
extern unsigned long strtoul ();
#endif
#include "libiberty.h"
+#include "vprintf-support.h"
int
libiberty_vprintf_buffer_size (const char *format, va_list args)
Index: src/external/gpl3/gcc.old/lib/liblto_plugin/Makefile
diff -u src/external/gpl3/gcc.old/lib/liblto_plugin/Makefile:1.7 src/external/gpl3/gcc.old/lib/liblto_plugin/Makefile:1.8
--- src/external/gpl3/gcc.old/lib/liblto_plugin/Makefile:1.7 Sat Nov 11 07:49:43 2017
+++ src/external/gpl3/gcc.old/lib/liblto_plugin/Makefile Tue Nov 14 08:52:20 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2017/11/11 07:49:43 kamil Exp $
+# $NetBSD: Makefile,v 1.8 2017/11/14 08:52:20 mrg Exp $
.include <bsd.init.mk>
.include <bsd.shlib.mk>
@@ -11,8 +11,11 @@ GNUHOSTDIST= ${DIST}
SRCS= lto-plugin.c hashtab.c simple-object.c pex-unix.c \
pex-common.c argv.c make-temp-file.c concat.c \
simple-object-elf.c simple-object-mach-o.c \
- simple-object-coff.c simple-object-xcoff.c xstrerror.c \
- safe-ctype.c
+ simple-object-coff.c simple-object-xcoff.c \
+
+# libiberty
+SRCS+= xstrerror.c xasprintf.c xvasprintf.c safe-ctype.c \
+ vprintf-support.c
CPPFLAGS+= -I${DIST}/include -I.
CPPFLAGS+= -DHAVE_CONFIG_H