summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-05-21 23:07:31 +0000
committerjdp <jdp@FreeBSD.org>1997-05-21 23:07:31 +0000
commita57b7759a5c877fc07cfd3ce98eefc8dc1524d82 (patch)
tree7802645405ee54b3e20f764f74b2ce5908cc7e4f /include
parent0f85b0a29a90485a34342f497f7a499943150c6a (diff)
downloadFreeBSD-src-a57b7759a5c877fc07cfd3ce98eefc8dc1524d82.zip
FreeBSD-src-a57b7759a5c877fc07cfd3ce98eefc8dc1524d82.tar.gz
Fill out the ELF header files to make them more or less complete.
Fix a macro name that was misspelled both in brandelf.c and imgact_elf.h.
Diffstat (limited to 'include')
-rw-r--r--include/Makefile4
-rw-r--r--include/elf-hints.h35
-rw-r--r--include/elf.h35
3 files changed, 72 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile
index d2cbdf1..1c12b11 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
-# $Id: Makefile,v 1.54 1997/05/10 12:50:03 davidn Exp $
+# $Id: Makefile,v 1.55 1997/05/12 09:50:19 peter Exp $
#
# Doing a make install builds /usr/include
#
@@ -11,7 +11,7 @@ depend lint tags:
CLEANFILES= osreldate.h version vers.c
SUBDIR= rpcsvc
FILES= a.out.h ar.h assert.h bitstring.h ctype.h db.h dirent.h disktab.h \
- err.h fnmatch.h fstab.h fts.h glob.h grp.h strhash.h histedit.h \
+ elf.h err.h fnmatch.h fstab.h fts.h glob.h grp.h strhash.h histedit.h \
kvm.h limits.h link.h locale.h malloc.h memory.h mpool.h \
ndbm.h netdb.h nl_types.h nlist.h paths.h pthread.h pthread_np.h pwd.h \
ranlib.h regex.h regexp.h resolv.h rune.h runetype.h setjmp.h sgtty.h \
diff --git a/include/elf-hints.h b/include/elf-hints.h
new file mode 100644
index 0000000..0e45bbf
--- /dev/null
+++ b/include/elf-hints.h
@@ -0,0 +1,35 @@
+/*-
+ * Copyright (c) 1997 John D. Polstra.
+ * 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.
+ *
+ * $Id$
+ */
+
+#ifndef _ELF_H_
+#define _ELF_H_
+
+#include <sys/types.h>
+#include <machine/elf.h>
+
+#endif /* !_ELF_H_ */
diff --git a/include/elf.h b/include/elf.h
new file mode 100644
index 0000000..0e45bbf
--- /dev/null
+++ b/include/elf.h
@@ -0,0 +1,35 @@
+/*-
+ * Copyright (c) 1997 John D. Polstra.
+ * 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.
+ *
+ * $Id$
+ */
+
+#ifndef _ELF_H_
+#define _ELF_H_
+
+#include <sys/types.h>
+#include <machine/elf.h>
+
+#endif /* !_ELF_H_ */
OpenPOWER on IntegriCloud