Module Name: src Committed By: darran Date: Mon Feb 22 10:48:33 UTC 2010
Modified Files: src/external/bsd/libelf/dist: elf_begin.c elf_data.c elf_end.c elf_getident.c elf_next.c elf_scn.c elf_strptr.c elf_update.c gelf_cap.c gelf_dyn.c gelf_ehdr.c gelf_move.c gelf_rel.c gelf_rela.c gelf_shdr.c gelf_sym.c gelf_syminfo.c gelf_symshndx.c libelf.c libelf.h libelf_align.c libelf_allocate.c libelf_ar.c libelf_checksum.c libelf_convert.m4 libelf_data.c libelf_ehdr.c libelf_extended.c libelf_msize.m4 libelf_phdr.c libelf_shdr.c libelf_xlate.c Log Message: Get libelf building in the toolchain again. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/libelf/dist/elf_begin.c \ src/external/bsd/libelf/dist/elf_data.c \ src/external/bsd/libelf/dist/gelf_cap.c \ src/external/bsd/libelf/dist/gelf_move.c \ src/external/bsd/libelf/dist/gelf_syminfo.c \ src/external/bsd/libelf/dist/libelf_align.c \ src/external/bsd/libelf/dist/libelf_allocate.c \ src/external/bsd/libelf/dist/libelf_ar.c cvs rdiff -u -r1.1.1.2 -r1.2 src/external/bsd/libelf/dist/elf_end.c \ src/external/bsd/libelf/dist/elf_getident.c \ src/external/bsd/libelf/dist/elf_next.c \ src/external/bsd/libelf/dist/elf_strptr.c \ src/external/bsd/libelf/dist/libelf_checksum.c \ src/external/bsd/libelf/dist/libelf_extended.c \ src/external/bsd/libelf/dist/libelf_shdr.c cvs rdiff -u -r1.5 -r1.6 src/external/bsd/libelf/dist/elf_scn.c \ src/external/bsd/libelf/dist/libelf_ehdr.c \ src/external/bsd/libelf/dist/libelf_msize.m4 cvs rdiff -u -r1.3 -r1.4 src/external/bsd/libelf/dist/elf_update.c \ src/external/bsd/libelf/dist/gelf_dyn.c \ src/external/bsd/libelf/dist/gelf_ehdr.c \ src/external/bsd/libelf/dist/gelf_rel.c \ src/external/bsd/libelf/dist/gelf_rela.c \ src/external/bsd/libelf/dist/gelf_shdr.c \ src/external/bsd/libelf/dist/gelf_sym.c \ src/external/bsd/libelf/dist/gelf_symshndx.c \ src/external/bsd/libelf/dist/libelf_data.c \ src/external/bsd/libelf/dist/libelf_phdr.c \ src/external/bsd/libelf/dist/libelf_xlate.c cvs rdiff -u -r1.6 -r1.7 src/external/bsd/libelf/dist/libelf.c \ src/external/bsd/libelf/dist/libelf.h cvs rdiff -u -r1.8 -r1.9 src/external/bsd/libelf/dist/libelf_convert.m4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/libelf/dist/elf_begin.c diff -u src/external/bsd/libelf/dist/elf_begin.c:1.4 src/external/bsd/libelf/dist/elf_begin.c:1.5 --- src/external/bsd/libelf/dist/elf_begin.c:1.4 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/elf_begin.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: elf_begin.c,v 1.4 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: elf_begin.c,v 1.5 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +#include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/elf_begin.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ @@ -35,6 +39,9 @@ #include <ar.h> #include <ctype.h> +#include <db.h> +#include <err.h> +#include <err.h> #include <errno.h> #include <libelf.h> Index: src/external/bsd/libelf/dist/elf_data.c diff -u src/external/bsd/libelf/dist/elf_data.c:1.4 src/external/bsd/libelf/dist/elf_data.c:1.5 --- src/external/bsd/libelf/dist/elf_data.c:1.4 Thu Jan 28 21:38:29 2010 +++ src/external/bsd/libelf/dist/elf_data.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: elf_data.c,v 1.4 2010/01/28 21:38:29 darran Exp $ */ +/* $NetBSD: elf_data.c,v 1.5 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/elf_data.c,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/gelf_cap.c diff -u src/external/bsd/libelf/dist/gelf_cap.c:1.4 src/external/bsd/libelf/dist/gelf_cap.c:1.5 --- src/external/bsd/libelf/dist/gelf_cap.c:1.4 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/gelf_cap.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: gelf_cap.c,v 1.4 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: gelf_cap.c,v 1.5 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/gelf_cap.c,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/gelf_move.c diff -u src/external/bsd/libelf/dist/gelf_move.c:1.4 src/external/bsd/libelf/dist/gelf_move.c:1.5 --- src/external/bsd/libelf/dist/gelf_move.c:1.4 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/gelf_move.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: gelf_move.c,v 1.4 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: gelf_move.c,v 1.5 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/gelf_move.c,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/gelf_syminfo.c diff -u src/external/bsd/libelf/dist/gelf_syminfo.c:1.4 src/external/bsd/libelf/dist/gelf_syminfo.c:1.5 --- src/external/bsd/libelf/dist/gelf_syminfo.c:1.4 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/gelf_syminfo.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: gelf_syminfo.c,v 1.4 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: gelf_syminfo.c,v 1.5 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/gelf_syminfo.c,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf_align.c diff -u src/external/bsd/libelf/dist/libelf_align.c:1.4 src/external/bsd/libelf/dist/libelf_align.c:1.5 --- src/external/bsd/libelf/dist/libelf_align.c:1.4 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/libelf_align.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_align.c,v 1.4 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: libelf_align.c,v 1.5 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_align.c,v 1.3.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf_allocate.c diff -u src/external/bsd/libelf/dist/libelf_allocate.c:1.4 src/external/bsd/libelf/dist/libelf_allocate.c:1.5 --- src/external/bsd/libelf/dist/libelf_allocate.c:1.4 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/libelf_allocate.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_allocate.c,v 1.4 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: libelf_allocate.c,v 1.5 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -30,6 +30,10 @@ * Internal APIs */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_allocate.c,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf_ar.c diff -u src/external/bsd/libelf/dist/libelf_ar.c:1.4 src/external/bsd/libelf/dist/libelf_ar.c:1.5 --- src/external/bsd/libelf/dist/libelf_ar.c:1.4 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/libelf_ar.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_ar.c,v 1.4 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: libelf_ar.c,v 1.5 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_ar.c,v 1.3.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/elf_end.c diff -u src/external/bsd/libelf/dist/elf_end.c:1.1.1.2 src/external/bsd/libelf/dist/elf_end.c:1.2 --- src/external/bsd/libelf/dist/elf_end.c:1.1.1.2 Tue Dec 29 16:58:08 2009 +++ src/external/bsd/libelf/dist/elf_end.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: elf_end.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */ +/* $NetBSD: elf_end.c,v 1.2 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/elf_end.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/elf_getident.c diff -u src/external/bsd/libelf/dist/elf_getident.c:1.1.1.2 src/external/bsd/libelf/dist/elf_getident.c:1.2 --- src/external/bsd/libelf/dist/elf_getident.c:1.1.1.2 Tue Dec 29 16:58:08 2009 +++ src/external/bsd/libelf/dist/elf_getident.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: elf_getident.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */ +/* $NetBSD: elf_getident.c,v 1.2 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/elf_getident.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/elf_next.c diff -u src/external/bsd/libelf/dist/elf_next.c:1.1.1.2 src/external/bsd/libelf/dist/elf_next.c:1.2 --- src/external/bsd/libelf/dist/elf_next.c:1.1.1.2 Tue Dec 29 16:58:08 2009 +++ src/external/bsd/libelf/dist/elf_next.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: elf_next.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */ +/* $NetBSD: elf_next.c,v 1.2 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/elf_next.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/elf_strptr.c diff -u src/external/bsd/libelf/dist/elf_strptr.c:1.1.1.2 src/external/bsd/libelf/dist/elf_strptr.c:1.2 --- src/external/bsd/libelf/dist/elf_strptr.c:1.1.1.2 Tue Dec 29 16:58:08 2009 +++ src/external/bsd/libelf/dist/elf_strptr.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: elf_strptr.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */ +/* $NetBSD: elf_strptr.c,v 1.2 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/elf_strptr.c,v 1.2.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf_checksum.c diff -u src/external/bsd/libelf/dist/libelf_checksum.c:1.1.1.2 src/external/bsd/libelf/dist/libelf_checksum.c:1.2 --- src/external/bsd/libelf/dist/libelf_checksum.c:1.1.1.2 Tue Dec 29 16:58:08 2009 +++ src/external/bsd/libelf/dist/libelf_checksum.c Mon Feb 22 10:48:33 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_checksum.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */ +/* $NetBSD: libelf_checksum.c,v 1.2 2010/02/22 10:48:33 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_checksum.c,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf_extended.c diff -u src/external/bsd/libelf/dist/libelf_extended.c:1.1.1.2 src/external/bsd/libelf/dist/libelf_extended.c:1.2 --- src/external/bsd/libelf/dist/libelf_extended.c:1.1.1.2 Tue Dec 29 16:58:08 2009 +++ src/external/bsd/libelf/dist/libelf_extended.c Mon Feb 22 10:48:33 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_extended.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */ +/* $NetBSD: libelf_extended.c,v 1.2 2010/02/22 10:48:33 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_extended.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf_shdr.c diff -u src/external/bsd/libelf/dist/libelf_shdr.c:1.1.1.2 src/external/bsd/libelf/dist/libelf_shdr.c:1.2 --- src/external/bsd/libelf/dist/libelf_shdr.c:1.1.1.2 Tue Dec 29 16:58:08 2009 +++ src/external/bsd/libelf/dist/libelf_shdr.c Mon Feb 22 10:48:33 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_shdr.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */ +/* $NetBSD: libelf_shdr.c,v 1.2 2010/02/22 10:48:33 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_shdr.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/elf_scn.c diff -u src/external/bsd/libelf/dist/elf_scn.c:1.5 src/external/bsd/libelf/dist/elf_scn.c:1.6 --- src/external/bsd/libelf/dist/elf_scn.c:1.5 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/elf_scn.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: elf_scn.c,v 1.5 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: elf_scn.c,v 1.6 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/elf_scn.c,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf_ehdr.c diff -u src/external/bsd/libelf/dist/libelf_ehdr.c:1.5 src/external/bsd/libelf/dist/libelf_ehdr.c:1.6 --- src/external/bsd/libelf/dist/libelf_ehdr.c:1.5 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/libelf_ehdr.c Mon Feb 22 10:48:33 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_ehdr.c,v 1.5 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: libelf_ehdr.c,v 1.6 2010/02/22 10:48:33 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -28,6 +28,10 @@ * $FreeBSD: src/lib/libelf/libelf_ehdr.c,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $ */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_ehdr.c,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf_msize.m4 diff -u src/external/bsd/libelf/dist/libelf_msize.m4:1.5 src/external/bsd/libelf/dist/libelf_msize.m4:1.6 --- src/external/bsd/libelf/dist/libelf_msize.m4:1.5 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/libelf_msize.m4 Mon Feb 22 10:48:33 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_msize.m4,v 1.5 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: libelf_msize.m4,v 1.6 2010/02/22 10:48:33 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_msize.m4,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/elf_update.c diff -u src/external/bsd/libelf/dist/elf_update.c:1.3 src/external/bsd/libelf/dist/elf_update.c:1.4 --- src/external/bsd/libelf/dist/elf_update.c:1.3 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/elf_update.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: elf_update.c,v 1.3 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: elf_update.c,v 1.4 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006-2008 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/elf_update.c,v 1.5.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/gelf_dyn.c diff -u src/external/bsd/libelf/dist/gelf_dyn.c:1.3 src/external/bsd/libelf/dist/gelf_dyn.c:1.4 --- src/external/bsd/libelf/dist/gelf_dyn.c:1.3 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/gelf_dyn.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: gelf_dyn.c,v 1.3 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: gelf_dyn.c,v 1.4 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/gelf_dyn.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/gelf_ehdr.c diff -u src/external/bsd/libelf/dist/gelf_ehdr.c:1.3 src/external/bsd/libelf/dist/gelf_ehdr.c:1.4 --- src/external/bsd/libelf/dist/gelf_ehdr.c:1.3 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/gelf_ehdr.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: gelf_ehdr.c,v 1.3 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: gelf_ehdr.c,v 1.4 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/gelf_ehdr.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/gelf_rel.c diff -u src/external/bsd/libelf/dist/gelf_rel.c:1.3 src/external/bsd/libelf/dist/gelf_rel.c:1.4 --- src/external/bsd/libelf/dist/gelf_rel.c:1.3 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/gelf_rel.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: gelf_rel.c,v 1.3 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: gelf_rel.c,v 1.4 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/gelf_rel.c,v 1.2.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/gelf_rela.c diff -u src/external/bsd/libelf/dist/gelf_rela.c:1.3 src/external/bsd/libelf/dist/gelf_rela.c:1.4 --- src/external/bsd/libelf/dist/gelf_rela.c:1.3 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/gelf_rela.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: gelf_rela.c,v 1.3 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: gelf_rela.c,v 1.4 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/gelf_rela.c,v 1.2.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/gelf_shdr.c diff -u src/external/bsd/libelf/dist/gelf_shdr.c:1.3 src/external/bsd/libelf/dist/gelf_shdr.c:1.4 --- src/external/bsd/libelf/dist/gelf_shdr.c:1.3 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/gelf_shdr.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: gelf_shdr.c,v 1.3 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: gelf_shdr.c,v 1.4 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/gelf_shdr.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/gelf_sym.c diff -u src/external/bsd/libelf/dist/gelf_sym.c:1.3 src/external/bsd/libelf/dist/gelf_sym.c:1.4 --- src/external/bsd/libelf/dist/gelf_sym.c:1.3 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/gelf_sym.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: gelf_sym.c,v 1.3 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: gelf_sym.c,v 1.4 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/gelf_sym.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/gelf_symshndx.c diff -u src/external/bsd/libelf/dist/gelf_symshndx.c:1.3 src/external/bsd/libelf/dist/gelf_symshndx.c:1.4 --- src/external/bsd/libelf/dist/gelf_symshndx.c:1.3 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/gelf_symshndx.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: gelf_symshndx.c,v 1.3 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: gelf_symshndx.c,v 1.4 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/gelf_symshndx.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf_data.c diff -u src/external/bsd/libelf/dist/libelf_data.c:1.3 src/external/bsd/libelf/dist/libelf_data.c:1.4 --- src/external/bsd/libelf/dist/libelf_data.c:1.3 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/libelf_data.c Mon Feb 22 10:48:33 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_data.c,v 1.3 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: libelf_data.c,v 1.4 2010/02/22 10:48:33 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_data.c,v 1.4.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf_phdr.c diff -u src/external/bsd/libelf/dist/libelf_phdr.c:1.3 src/external/bsd/libelf/dist/libelf_phdr.c:1.4 --- src/external/bsd/libelf/dist/libelf_phdr.c:1.3 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/libelf_phdr.c Mon Feb 22 10:48:33 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_phdr.c,v 1.3 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: libelf_phdr.c,v 1.4 2010/02/22 10:48:33 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -28,6 +28,10 @@ * $FreeBSD: src/lib/libelf/libelf_phdr.c,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $ */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_phdr.c,v 1.2.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf_xlate.c diff -u src/external/bsd/libelf/dist/libelf_xlate.c:1.3 src/external/bsd/libelf/dist/libelf_xlate.c:1.4 --- src/external/bsd/libelf/dist/libelf_xlate.c:1.3 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/libelf_xlate.c Mon Feb 22 10:48:33 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_xlate.c,v 1.3 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: libelf_xlate.c,v 1.4 2010/02/22 10:48:33 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_xlate.c,v 1.3.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf.c diff -u src/external/bsd/libelf/dist/libelf.c:1.6 src/external/bsd/libelf/dist/libelf.c:1.7 --- src/external/bsd/libelf/dist/libelf.c:1.6 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/libelf.c Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf.c,v 1.6 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: libelf.c,v 1.7 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */ Index: src/external/bsd/libelf/dist/libelf.h diff -u src/external/bsd/libelf/dist/libelf.h:1.6 src/external/bsd/libelf/dist/libelf.h:1.7 --- src/external/bsd/libelf/dist/libelf.h:1.6 Tue Dec 29 17:32:18 2009 +++ src/external/bsd/libelf/dist/libelf.h Mon Feb 22 10:48:32 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf.h,v 1.6 2009/12/29 17:32:18 thorpej Exp $ */ +/* $NetBSD: libelf.h,v 1.7 2010/02/22 10:48:32 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -31,6 +31,10 @@ #ifndef _LIBELF_H_ #define _LIBELF_H_ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/types.h> #include <sys/queue.h> #include <inttypes.h> Index: src/external/bsd/libelf/dist/libelf_convert.m4 diff -u src/external/bsd/libelf/dist/libelf_convert.m4:1.8 src/external/bsd/libelf/dist/libelf_convert.m4:1.9 --- src/external/bsd/libelf/dist/libelf_convert.m4:1.8 Tue Dec 29 17:05:58 2009 +++ src/external/bsd/libelf/dist/libelf_convert.m4 Mon Feb 22 10:48:33 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: libelf_convert.m4,v 1.8 2009/12/29 17:05:58 thorpej Exp $ */ +/* $NetBSD: libelf_convert.m4,v 1.9 2010/02/22 10:48:33 darran Exp $ */ /*- * Copyright (c) 2006,2007 Joseph Koshy @@ -26,6 +26,10 @@ * SUCH DAMAGE. */ +#if HAVE_NBTOOL_CONFIG_H +# include "nbtool_config.h" +#endif + #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libelf/libelf_convert.m4,v 1.4.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */