Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/libelf/dist Import libelf from FreeBSD 8.0-RELE...



details:   https://anonhg.NetBSD.org/src/rev/cdbd5fc04fdb
branches:  trunk
changeset: 750384:cdbd5fc04fdb
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Dec 29 16:58:08 2009 +0000

description:
Import libelf from FreeBSD 8.0-RELEASE.  The main purpose of this is to
get a new import after prepare-import.sh was changed to not insert NetBSD
__RCSID() macros (which are problematic for host tool builds).

diffstat:

 external/bsd/libelf/dist/elf_cntl.c        |  3 +--
 external/bsd/libelf/dist/elf_end.c         |  3 +--
 external/bsd/libelf/dist/elf_errmsg.c      |  3 +--
 external/bsd/libelf/dist/elf_errno.c       |  3 +--
 external/bsd/libelf/dist/elf_fill.c        |  3 +--
 external/bsd/libelf/dist/elf_flag.c        |  3 +--
 external/bsd/libelf/dist/elf_getarhdr.c    |  3 +--
 external/bsd/libelf/dist/elf_getarsym.c    |  3 +--
 external/bsd/libelf/dist/elf_getbase.c     |  3 +--
 external/bsd/libelf/dist/elf_getident.c    |  3 +--
 external/bsd/libelf/dist/elf_kind.c        |  3 +--
 external/bsd/libelf/dist/elf_memory.c      |  3 +--
 external/bsd/libelf/dist/elf_next.c        |  3 +--
 external/bsd/libelf/dist/elf_phnum.c       |  3 +--
 external/bsd/libelf/dist/elf_rand.c        |  3 +--
 external/bsd/libelf/dist/elf_rawfile.c     |  3 +--
 external/bsd/libelf/dist/elf_shnum.c       |  3 +--
 external/bsd/libelf/dist/elf_shstrndx.c    |  3 +--
 external/bsd/libelf/dist/elf_strptr.c      |  3 +--
 external/bsd/libelf/dist/elf_version.c     |  3 +--
 external/bsd/libelf/dist/gelf_checksum.c   |  3 +--
 external/bsd/libelf/dist/gelf_fsize.c      |  3 +--
 external/bsd/libelf/dist/gelf_getclass.c   |  3 +--
 external/bsd/libelf/dist/gelf_xlate.c      |  3 +--
 external/bsd/libelf/dist/libelf_checksum.c |  3 +--
 external/bsd/libelf/dist/libelf_extended.c |  3 +--
 external/bsd/libelf/dist/libelf_shdr.c     |  3 +--
 27 files changed, 27 insertions(+), 54 deletions(-)

diffs (truncated from 459 to 300 lines):

diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_cntl.c
--- a/external/bsd/libelf/dist/elf_cntl.c       Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_cntl.c       Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_cntl.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $ */
+/*     $NetBSD: elf_cntl.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_cntl.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <libelf.h>
 
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_end.c
--- a/external/bsd/libelf/dist/elf_end.c        Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_end.c        Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_end.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $  */
+/*     $NetBSD: elf_end.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $  */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_end.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <sys/mman.h>
 
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_errmsg.c
--- a/external/bsd/libelf/dist/elf_errmsg.c     Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_errmsg.c     Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_errmsg.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $       */
+/*     $NetBSD: elf_errmsg.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $       */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_errmsg.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <libelf.h>
 #include <string.h>
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_errno.c
--- a/external/bsd/libelf/dist/elf_errno.c      Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_errno.c      Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_errno.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $        */
+/*     $NetBSD: elf_errno.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $        */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_errno.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <libelf.h>
 
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_fill.c
--- a/external/bsd/libelf/dist/elf_fill.c       Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_fill.c       Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_fill.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $ */
+/*     $NetBSD: elf_fill.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_fill.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <libelf.h>
 
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_flag.c
--- a/external/bsd/libelf/dist/elf_flag.c       Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_flag.c       Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_flag.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $ */
+/*     $NetBSD: elf_flag.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_flag.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <libelf.h>
 
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_getarhdr.c
--- a/external/bsd/libelf/dist/elf_getarhdr.c   Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_getarhdr.c   Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_getarhdr.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $     */
+/*     $NetBSD: elf_getarhdr.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_getarhdr.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <libelf.h>
 
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_getarsym.c
--- a/external/bsd/libelf/dist/elf_getarsym.c   Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_getarsym.c   Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_getarsym.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $     */
+/*     $NetBSD: elf_getarsym.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_getarsym.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <libelf.h>
 
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_getbase.c
--- a/external/bsd/libelf/dist/elf_getbase.c    Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_getbase.c    Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_getbase.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $      */
+/*     $NetBSD: elf_getbase.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $      */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_getbase.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <libelf.h>
 
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_getident.c
--- a/external/bsd/libelf/dist/elf_getident.c   Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_getident.c   Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_getident.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $     */
+/*     $NetBSD: elf_getident.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_getident.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <ar.h>
 #include <assert.h>
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_kind.c
--- a/external/bsd/libelf/dist/elf_kind.c       Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_kind.c       Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_kind.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $ */
+/*     $NetBSD: elf_kind.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_kind.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <libelf.h>
 
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_memory.c
--- a/external/bsd/libelf/dist/elf_memory.c     Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_memory.c     Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_memory.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $       */
+/*     $NetBSD: elf_memory.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $       */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_memory.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <ar.h>
 #include <libelf.h>
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_next.c
--- a/external/bsd/libelf/dist/elf_next.c       Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_next.c       Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_next.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $ */
+/*     $NetBSD: elf_next.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_next.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <ar.h>
 #include <assert.h>
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_phnum.c
--- a/external/bsd/libelf/dist/elf_phnum.c      Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_phnum.c      Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_phnum.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $        */
+/*     $NetBSD: elf_phnum.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $        */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_phnum.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <ar.h>
 #include <libelf.h>
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_rand.c
--- a/external/bsd/libelf/dist/elf_rand.c       Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_rand.c       Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_rand.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $ */
+/*     $NetBSD: elf_rand.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_rand.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <ar.h>
 #include <libelf.h>
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_rawfile.c
--- a/external/bsd/libelf/dist/elf_rawfile.c    Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_rawfile.c    Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_rawfile.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $      */
+/*     $NetBSD: elf_rawfile.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $      */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_rawfile.c,v 1.1.1.1 2009/12/19 05:43:39 thorpej Exp $");
 
 #include <libelf.h>
 
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_shnum.c
--- a/external/bsd/libelf/dist/elf_shnum.c      Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_shnum.c      Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_shnum.c,v 1.1.1.1 2009/12/19 05:43:40 thorpej Exp $        */
+/*     $NetBSD: elf_shnum.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $        */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 
 #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 $"); */
-__RCSID("$NetBSD: elf_shnum.c,v 1.1.1.1 2009/12/19 05:43:40 thorpej Exp $");
 
 #include <ar.h>
 #include <libelf.h>
diff -r 2b8039ad7241 -r cdbd5fc04fdb external/bsd/libelf/dist/elf_shstrndx.c
--- a/external/bsd/libelf/dist/elf_shstrndx.c   Tue Dec 29 16:56:25 2009 +0000
+++ b/external/bsd/libelf/dist/elf_shstrndx.c   Tue Dec 29 16:58:08 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_shstrndx.c,v 1.1.1.1 2009/12/19 05:43:40 thorpej Exp $     */
+/*     $NetBSD: elf_shstrndx.c,v 1.1.1.2 2009/12/29 16:58:08 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2006 Joseph Koshy
@@ -28,7 +28,6 @@
 



Home | Main Index | Thread Index | Old Index