Current-Users archive

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

Re: libelf doesn't compile anymore on amd64



> with current source cvs updated ca. Dec 29 18:54 MET compiling libelf
> fails:
> 
> dependall ===> libelf
>      create  libelf/elf_begin.d
> In file included from 
> /u/NetBSD/arch/amd64/obj/tools/compat/nbtool_config.h:634,
>                  from 
> /u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/libelf.h:39,
>                  from 
> /u/NetBSD/src/tools/libelf/../../external/bsd/libelf/dist/elf_begin.c:39:
> /u/NetBSD/src/tools/libelf/../compat/compat_defs.h:66:2: error: #error 
> _NETBSD_SOURCE is *not* to be defined.

The attached patch fixes this problem for me; I've sent it to
Jason for comment.

Another method to work around the problem could be to comment out
the libelf build from tools/, since nothing in the build depends
on it yet.

Regards,

- Håvard
Index: elf_begin.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_begin.c,v
retrieving revision 1.4
diff -u -r1.4 elf_begin.c
--- elf_begin.c 29 Dec 2009 17:05:58 -0000      1.4
+++ elf_begin.c 29 Dec 2009 19:56:13 -0000
@@ -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 $"); */
 
Index: elf_cntl.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_cntl.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_cntl.c
--- elf_cntl.c  29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_cntl.c  29 Dec 2009 19:56:13 -0000
@@ -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_cntl.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_data.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_data.c,v
retrieving revision 1.3
diff -u -r1.3 elf_data.c
--- elf_data.c  29 Dec 2009 17:05:58 -0000      1.3
+++ elf_data.c  29 Dec 2009 19:56:13 -0000
@@ -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: elf_end.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_end.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_end.c
--- elf_end.c   29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_end.c   29 Dec 2009 19:56:13 -0000
@@ -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: elf_errmsg.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_errmsg.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_errmsg.c
--- elf_errmsg.c        29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_errmsg.c        29 Dec 2009 19:56:13 -0000
@@ -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_errmsg.c,v 1.2.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_errno.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_errno.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_errno.c
--- elf_errno.c 29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_errno.c 29 Dec 2009 19:56:13 -0000
@@ -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_errno.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_fill.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_fill.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_fill.c
--- elf_fill.c  29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_fill.c  29 Dec 2009 19:56:13 -0000
@@ -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_fill.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_flag.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_flag.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_flag.c
--- elf_flag.c  29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_flag.c  29 Dec 2009 19:56:13 -0000
@@ -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_flag.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_getarhdr.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_getarhdr.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_getarhdr.c
--- elf_getarhdr.c      29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_getarhdr.c      29 Dec 2009 19:56:13 -0000
@@ -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_getarhdr.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_getarsym.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_getarsym.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_getarsym.c
--- elf_getarsym.c      29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_getarsym.c      29 Dec 2009 19:56:13 -0000
@@ -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_getarsym.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_getbase.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_getbase.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_getbase.c
--- elf_getbase.c       29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_getbase.c       29 Dec 2009 19:56:13 -0000
@@ -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_getbase.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_getident.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_getident.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_getident.c
--- elf_getident.c      29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_getident.c      29 Dec 2009 19:56:13 -0000
@@ -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: elf_hash.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_hash.c,v
retrieving revision 1.3
diff -u -r1.3 elf_hash.c
--- elf_hash.c  29 Dec 2009 17:05:58 -0000      1.3
+++ elf_hash.c  29 Dec 2009 19:56:13 -0000
@@ -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_hash.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_kind.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_kind.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_kind.c
--- elf_kind.c  29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_kind.c  29 Dec 2009 19:56:13 -0000
@@ -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_kind.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_memory.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_memory.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_memory.c
--- elf_memory.c        29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_memory.c        29 Dec 2009 19:56:13 -0000
@@ -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_memory.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_next.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_next.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_next.c
--- elf_next.c  29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_next.c  29 Dec 2009 19:56:13 -0000
@@ -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: elf_phnum.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_phnum.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_phnum.c
--- elf_phnum.c 29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_phnum.c 29 Dec 2009 19:56:13 -0000
@@ -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_phnum.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_rand.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_rand.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_rand.c
--- elf_rand.c  29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_rand.c  29 Dec 2009 19:56:13 -0000
@@ -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_rand.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_rawfile.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_rawfile.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_rawfile.c
--- elf_rawfile.c       29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_rawfile.c       29 Dec 2009 19:56:13 -0000
@@ -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_rawfile.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_scn.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_scn.c,v
retrieving revision 1.5
diff -u -r1.5 elf_scn.c
--- elf_scn.c   29 Dec 2009 17:05:58 -0000      1.5
+++ elf_scn.c   29 Dec 2009 19:56:13 -0000
@@ -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: elf_shnum.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_shnum.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_shnum.c
--- elf_shnum.c 29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_shnum.c 29 Dec 2009 19:56:13 -0000
@@ -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_shnum.c,v 1.2.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_shstrndx.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_shstrndx.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_shstrndx.c
--- elf_shstrndx.c      29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_shstrndx.c      29 Dec 2009 19:56:13 -0000
@@ -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_shstrndx.c,v 1.2.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: elf_strptr.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_strptr.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_strptr.c
--- elf_strptr.c        29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_strptr.c        29 Dec 2009 19:56:13 -0000
@@ -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: elf_update.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_update.c,v
retrieving revision 1.3
diff -u -r1.3 elf_update.c
--- elf_update.c        29 Dec 2009 17:05:58 -0000      1.3
+++ elf_update.c        29 Dec 2009 19:56:13 -0000
@@ -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: elf_version.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/elf_version.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 elf_version.c
--- elf_version.c       29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ elf_version.c       29 Dec 2009 19:56:13 -0000
@@ -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_version.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: gelf_cap.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_cap.c,v
retrieving revision 1.4
diff -u -r1.4 gelf_cap.c
--- gelf_cap.c  29 Dec 2009 17:05:58 -0000      1.4
+++ gelf_cap.c  29 Dec 2009 19:56:13 -0000
@@ -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: gelf_checksum.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_checksum.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 gelf_checksum.c
--- gelf_checksum.c     29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ gelf_checksum.c     29 Dec 2009 19:56:13 -0000
@@ -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_checksum.c,v 1.1.10.1.2.1 
2009/10/25 01:10:29 kensmith Exp $"); */
 
Index: gelf_dyn.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_dyn.c,v
retrieving revision 1.3
diff -u -r1.3 gelf_dyn.c
--- gelf_dyn.c  29 Dec 2009 17:05:58 -0000      1.3
+++ gelf_dyn.c  29 Dec 2009 19:56:13 -0000
@@ -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: gelf_ehdr.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_ehdr.c,v
retrieving revision 1.3
diff -u -r1.3 gelf_ehdr.c
--- gelf_ehdr.c 29 Dec 2009 17:05:58 -0000      1.3
+++ gelf_ehdr.c 29 Dec 2009 19:56:13 -0000
@@ -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: gelf_fsize.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_fsize.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 gelf_fsize.c
--- gelf_fsize.c        29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ gelf_fsize.c        29 Dec 2009 19:56:13 -0000
@@ -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_fsize.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: gelf_getclass.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_getclass.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 gelf_getclass.c
--- gelf_getclass.c     29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ gelf_getclass.c     29 Dec 2009 19:56:13 -0000
@@ -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_getclass.c,v 1.1.10.1.2.1 
2009/10/25 01:10:29 kensmith Exp $"); */
 
Index: gelf_move.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_move.c,v
retrieving revision 1.4
diff -u -r1.4 gelf_move.c
--- gelf_move.c 29 Dec 2009 17:05:58 -0000      1.4
+++ gelf_move.c 29 Dec 2009 19:56:13 -0000
@@ -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: gelf_phdr.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_phdr.c,v
retrieving revision 1.3
diff -u -r1.3 gelf_phdr.c
--- gelf_phdr.c 29 Dec 2009 17:05:58 -0000      1.3
+++ gelf_phdr.c 29 Dec 2009 19:56:13 -0000
@@ -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_phdr.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: gelf_rel.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_rel.c,v
retrieving revision 1.3
diff -u -r1.3 gelf_rel.c
--- gelf_rel.c  29 Dec 2009 17:05:58 -0000      1.3
+++ gelf_rel.c  29 Dec 2009 19:56:13 -0000
@@ -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: gelf_rela.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_rela.c,v
retrieving revision 1.3
diff -u -r1.3 gelf_rela.c
--- gelf_rela.c 29 Dec 2009 17:05:58 -0000      1.3
+++ gelf_rela.c 29 Dec 2009 19:56:13 -0000
@@ -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: gelf_shdr.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_shdr.c,v
retrieving revision 1.3
diff -u -r1.3 gelf_shdr.c
--- gelf_shdr.c 29 Dec 2009 17:05:58 -0000      1.3
+++ gelf_shdr.c 29 Dec 2009 19:56:13 -0000
@@ -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: gelf_sym.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_sym.c,v
retrieving revision 1.3
diff -u -r1.3 gelf_sym.c
--- gelf_sym.c  29 Dec 2009 17:05:58 -0000      1.3
+++ gelf_sym.c  29 Dec 2009 19:56:13 -0000
@@ -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: gelf_syminfo.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_syminfo.c,v
retrieving revision 1.4
diff -u -r1.4 gelf_syminfo.c
--- gelf_syminfo.c      29 Dec 2009 17:05:58 -0000      1.4
+++ gelf_syminfo.c      29 Dec 2009 19:56:13 -0000
@@ -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: gelf_symshndx.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_symshndx.c,v
retrieving revision 1.3
diff -u -r1.3 gelf_symshndx.c
--- gelf_symshndx.c     29 Dec 2009 17:05:58 -0000      1.3
+++ gelf_symshndx.c     29 Dec 2009 19:56:13 -0000
@@ -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: gelf_xlate.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/gelf_xlate.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 gelf_xlate.c
--- gelf_xlate.c        29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ gelf_xlate.c        29 Dec 2009 19:56:13 -0000
@@ -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_xlate.c,v 1.1.10.1.2.1 2009/10/25 
01:10:29 kensmith Exp $"); */
 
Index: libelf.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf.c,v
retrieving revision 1.6
diff -u -r1.6 libelf.c
--- libelf.c    29 Dec 2009 17:05:58 -0000      1.6
+++ libelf.c    29 Dec 2009 19:56:13 -0000
@@ -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: libelf_align.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_align.c,v
retrieving revision 1.4
diff -u -r1.4 libelf_align.c
--- libelf_align.c      29 Dec 2009 17:05:58 -0000      1.4
+++ libelf_align.c      29 Dec 2009 19:56:13 -0000
@@ -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: libelf_allocate.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_allocate.c,v
retrieving revision 1.4
diff -u -r1.4 libelf_allocate.c
--- libelf_allocate.c   29 Dec 2009 17:05:58 -0000      1.4
+++ libelf_allocate.c   29 Dec 2009 19:56:13 -0000
@@ -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: libelf_ar.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_ar.c,v
retrieving revision 1.4
diff -u -r1.4 libelf_ar.c
--- libelf_ar.c 29 Dec 2009 17:05:58 -0000      1.4
+++ libelf_ar.c 29 Dec 2009 19:56:13 -0000
@@ -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: libelf_checksum.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_checksum.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 libelf_checksum.c
--- libelf_checksum.c   29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ libelf_checksum.c   29 Dec 2009 19:56:13 -0000
@@ -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: libelf_convert.m4
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_convert.m4,v
retrieving revision 1.8
diff -u -r1.8 libelf_convert.m4
--- libelf_convert.m4   29 Dec 2009 17:05:58 -0000      1.8
+++ libelf_convert.m4   29 Dec 2009 19:56:13 -0000
@@ -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 $"); */
 
Index: libelf_data.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_data.c,v
retrieving revision 1.3
diff -u -r1.3 libelf_data.c
--- libelf_data.c       29 Dec 2009 17:05:58 -0000      1.3
+++ libelf_data.c       29 Dec 2009 19:56:13 -0000
@@ -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: libelf_ehdr.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_ehdr.c,v
retrieving revision 1.5
diff -u -r1.5 libelf_ehdr.c
--- libelf_ehdr.c       29 Dec 2009 17:05:58 -0000      1.5
+++ libelf_ehdr.c       29 Dec 2009 19:56:13 -0000
@@ -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: libelf_extended.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_extended.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 libelf_extended.c
--- libelf_extended.c   29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ libelf_extended.c   29 Dec 2009 19:56:13 -0000
@@ -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: libelf_fsize.m4
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_fsize.m4,v
retrieving revision 1.3
diff -u -r1.3 libelf_fsize.m4
--- libelf_fsize.m4     19 Dec 2009 07:31:44 -0000      1.3
+++ libelf_fsize.m4     29 Dec 2009 19:56:13 -0000
@@ -28,6 +28,10 @@
  * $FreeBSD: src/lib/libelf/libelf_fsize.m4,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 <libelf.h>
 
 #include "_libelf.h"
Index: libelf_msize.m4
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_msize.m4,v
retrieving revision 1.5
diff -u -r1.5 libelf_msize.m4
--- libelf_msize.m4     29 Dec 2009 17:05:58 -0000      1.5
+++ libelf_msize.m4     29 Dec 2009 19:56:13 -0000
@@ -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: libelf_phdr.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_phdr.c,v
retrieving revision 1.3
diff -u -r1.3 libelf_phdr.c
--- libelf_phdr.c       29 Dec 2009 17:05:58 -0000      1.3
+++ libelf_phdr.c       29 Dec 2009 19:56:13 -0000
@@ -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: libelf_shdr.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_shdr.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 libelf_shdr.c
--- libelf_shdr.c       29 Dec 2009 16:58:08 -0000      1.1.1.2
+++ libelf_shdr.c       29 Dec 2009 19:56:13 -0000
@@ -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: libelf_xlate.c
===================================================================
RCS file: /cvsroot/src/external/bsd/libelf/dist/libelf_xlate.c,v
retrieving revision 1.3
diff -u -r1.3 libelf_xlate.c
--- libelf_xlate.c      29 Dec 2009 17:05:58 -0000      1.3
+++ libelf_xlate.c      29 Dec 2009 19:56:13 -0000
@@ -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 $"); */
 


Home | Main Index | Thread Index | Old Index