CVS commit: src/external/bsd/libelf/dist
Module Name:src Committed By: darran Date: Mon Feb 22 10:59:08 UTC 2010 Modified Files: src/external/bsd/libelf/dist: elf_begin.c Log Message: Get rid of extra include files added while debugging the toolchain build problem. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/libelf/dist/elf_begin.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/libelf/dist
Module Name:src Committed By: darran Date: Mon Feb 22 10:59:08 UTC 2010 Modified Files: src/external/bsd/libelf/dist: elf_begin.c Log Message: Get rid of extra include files added while debugging the toolchain build problem. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/libelf/dist/elf_begin.c 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.5 src/external/bsd/libelf/dist/elf_begin.c:1.6 --- src/external/bsd/libelf/dist/elf_begin.c:1.5 Mon Feb 22 10:48:32 2010 +++ src/external/bsd/libelf/dist/elf_begin.c Mon Feb 22 10:59:08 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: elf_begin.c,v 1.5 2010/02/22 10:48:32 darran Exp $ */ +/* $NetBSD: elf_begin.c,v 1.6 2010/02/22 10:59:08 darran Exp $ */ /*- * Copyright (c) 2006 Joseph Koshy @@ -38,9 +38,6 @@ #include #include -#include -#include -#include #include #include #include
CVS commit: src/external/bsd/libelf/dist
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 /* __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 #include +#include +#include +#include #include #include 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 /* __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 /* __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/
CVS commit: src/external/bsd/libelf/dist
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.
CVS commit: src/external/bsd/libelf/dist
Module Name:src Committed By: wiz Date: Fri Jan 29 10:49:07 UTC 2010 Modified Files: src/external/bsd/libelf/dist: elf_getdata.3 Log Message: Mark up NULL. Join two sections describing same error. Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libelf/dist/elf_getdata.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/libelf/dist
Module Name:src Committed By: darran Date: Thu Jan 28 21:38:29 UTC 2010 Modified Files: src/external/bsd/libelf/dist: elf_data.c elf_getdata.3 Log Message: Fix a problem with the handling of NOBITS sections (i.e. bss), where the elf_getdata() function would return an invalid section error if the size of the section was bigger than the raw size of the elf binary. This is basically a sync with changeset 10 of the sourceforge repository for this library (elftoolchain). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/libelf/dist/elf_data.c cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/libelf/dist/elf_getdata.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/external/bsd/libelf/dist
Hi Jason ! Could this build.sh release breakage (during toolbuild) be related or do I need to fix my copy of the tree ? compile libelf/elf_begin.lo In file included from /fs/raid1a/src/NetBSD/tc-merge/src/obj.i386/tools/compat/nbtool_config.h:634, from /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../../external/bsd/libelf/dist/libelf.h:39, from /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../../external/bsd/libelf/dist/elf_begin.c:39: /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../compat/compat_defs.h:66:2: error: #error _NETBSD_SOURCE is *not* to be defined. In file included from /fs/raid1a/src/NetBSD/tc-merge/src/obj.i386/tools/compat/nbtool_config.h:634, from /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../../external/bsd/libelf/dist/libelf.h:39, from /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../../external/bsd/libelf/dist/elf_begin.c:39: /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../compat/compat_defs.h:214: error: redefinition of 'struct _dirdesc' /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../compat/compat_defs.h:225:1: warning: "dirfd" redefined In file included from /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../compat/compat_defs.h:131, from /fs/raid1a/src/NetBSD/tc-merge/src/obj.i386/tools/compat/nbtool_config.h:634, from /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../../external/bsd/libelf/dist/libelf.h:39, from /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../../external/bsd/libelf/dist/elf_begin.c:39: /usr/include/dirent.h:70:1: warning: this is the location of the previous definition *** Failed target: elf_begin.lo *** Failed command: cc -O -I/fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../compat -I/fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../../external/bsd/libelf/dist -I/usr/btools/include/nbinclude -DLIBELF_TEST_HOOKS -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/fs/raid1a/src/NetBSD/tc-merge/src/obj.i386/tools/compat -I/usr/btools/include -c -o elf_begin.lo.o /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf/../../external/bsd/libelf/dist/elf_begin.c *** Error code 1 Stop. nbmake: stopped in /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf *** Failed target: dependall *** Failed command: cd /fs/raid1a/src/NetBSD/tc-merge/src/tools/libelf; /usr/btools/bin/nbmake realall *** Error code 1 Frank Jason R Thorpe wrote: Module Name:src Committed By: thorpej Date: Tue Dec 29 17:05:59 UTC 2009 Modified Files: src/external/bsd/libelf/dist: elf_begin.c elf_data.c elf_hash.c elf_scn.c elf_update.c gelf_cap.c gelf_dyn.c gelf_ehdr.c gelf_move.c gelf_phdr.c gelf_rel.c gelf_rela.c gelf_shdr.c gelf_sym.c gelf_syminfo.c gelf_symshndx.c libelf.c libelf_align.c libelf_allocate.c libelf_ar.c libelf_convert.m4 libelf_data.c libelf_ehdr.c libelf_msize.m4 libelf_phdr.c libelf_xlate.c Log Message: Merge FreeBSD-8-0-RELEASE. All this does is remove the __RCSID() tags due to the modified prepare-import.sh. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/libelf/dist/elf_begin.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.2 -r1.3 src/external/bsd/libelf/dist/elf_data.c \ src/external/bsd/libelf/dist/elf_hash.c \ 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_phdr.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.4 -r1.5 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.5 -r1.6 src/external/bsd/libelf/dist/libelf.c cvs rdiff -u -r1.7 -r1.8 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.