Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc.old attempt to fix liblto_plugin build. o...



details:   https://anonhg.NetBSD.org/src/rev/b73082b2c419
branches:  trunk
changeset: 827832:b73082b2c419
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Nov 14 08:52:20 2017 +0000

description:
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.

diffstat:

 external/gpl3/gcc.old/dist/libiberty/vprintf-support.c |  1 +
 external/gpl3/gcc.old/lib/liblto_plugin/Makefile       |  9 ++++++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 9b1fb03768a0 -r b73082b2c419 external/gpl3/gcc.old/dist/libiberty/vprintf-support.c
--- a/external/gpl3/gcc.old/dist/libiberty/vprintf-support.c    Tue Nov 14 07:06:34 2017 +0000
+++ b/external/gpl3/gcc.old/dist/libiberty/vprintf-support.c    Tue Nov 14 08:52:20 2017 +0000
@@ -36,6 +36,7 @@
 extern unsigned long strtoul ();
 #endif
 #include "libiberty.h"
+#include "vprintf-support.h"
 
 int
 libiberty_vprintf_buffer_size (const char *format, va_list args)
diff -r 9b1fb03768a0 -r b73082b2c419 external/gpl3/gcc.old/lib/liblto_plugin/Makefile
--- a/external/gpl3/gcc.old/lib/liblto_plugin/Makefile  Tue Nov 14 07:06:34 2017 +0000
+++ b/external/gpl3/gcc.old/lib/liblto_plugin/Makefile  Tue Nov 14 08:52:20 2017 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index