[Glibc-bsd-commits] r5303 - in trunk/freebsd-glue: debian include/sys

rmh at alioth.debian.org rmh at alioth.debian.org
Sun Jan 5 21:21:37 UTC 2014


Author: rmh
Date: 2014-01-05 21:21:37 +0000 (Sun, 05 Jan 2014)
New Revision: 5303

Added:
   trunk/freebsd-glue/include/sys/elf.h
Modified:
   trunk/freebsd-glue/debian/changelog
   trunk/freebsd-glue/debian/copyright
Log:
Add <sys/elf.h>.

Modified: trunk/freebsd-glue/debian/changelog
===================================================================
--- trunk/freebsd-glue/debian/changelog	2014-01-05 21:13:03 UTC (rev 5302)
+++ trunk/freebsd-glue/debian/changelog	2014-01-05 21:21:37 UTC (rev 5303)
@@ -1,3 +1,9 @@
+freebsd-glue (0.2.14) UNRELEASED; urgency=low
+
+  * Add <sys/elf.h>.
+
+ -- Robert Millan <rmh at debian.org>  Sun, 05 Jan 2014 22:21:00 +0100
+
 freebsd-glue (0.2.13) unstable; urgency=low
 
   * Explicitly request gcc-4.8 as sbuild can't handle build dependencies

Modified: trunk/freebsd-glue/debian/copyright
===================================================================
--- trunk/freebsd-glue/debian/copyright	2014-01-05 21:13:03 UTC (rev 5302)
+++ trunk/freebsd-glue/debian/copyright	2014-01-05 21:21:37 UTC (rev 5303)
@@ -21,6 +21,10 @@
 Copyright: 1996-1998, John D. Polstra
 License: BSD (2 clause)
 
+Files: include/sys/elf.h
+Copyright: 2001, David E. O'Brien
+License: BSD (2 clause)
+
 Files: src/freebsd-glue/mac.c
  src/freebsd-glue/mac_set.c
 Copyright: 1999-2002, Robert N. M. Watson

Added: trunk/freebsd-glue/include/sys/elf.h
===================================================================
--- trunk/freebsd-glue/include/sys/elf.h	                        (rev 0)
+++ trunk/freebsd-glue/include/sys/elf.h	2014-01-05 21:21:37 UTC (rev 5303)
@@ -0,0 +1,47 @@
+#ifdef __FreeBSD_kernel__
+#include_next <sys/elf.h>
+#else
+
+/*-
+ * Copyright (c) 2001 David E. O'Brien.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ */
+
+/*
+ * This is a Solaris compatibility header
+ */
+
+#ifndef	_SYS_ELF_H_
+#define	_SYS_ELF_H_
+
+#include <sys/types.h>
+#include <machine/elf.h>
+#include <sys/elf32.h>
+#include <sys/elf64.h>
+
+#endif /* !_SYS_ELF_H_ */
+
+#endif




More information about the Glibc-bsd-commits mailing list