aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-07-31 23:41:46 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-07-31 23:41:46 +0000
commit38323c73d1d6c7efa4326f735eda8865cbf8770b (patch)
treeb3a0c9253bcb51b419232c3c2687253d20791da2 /include
parent17404170f4ab76624c2484b592404ea88fc33cd8 (diff)
downloadsrc-38323c73d1d6c7efa4326f735eda8865cbf8770b.tar.gz
src-38323c73d1d6c7efa4326f735eda8865cbf8770b.zip
MFC: rev 1.4
* include/elf.h has been repo copied to include/elf-hints.h, and it no longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible.
Notes
Notes: svn path=/stable/4/; revision=80768
Diffstat (limited to 'include')
-rw-r--r--include/elf.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/include/elf.h b/include/elf.h
index 963308378330..f30ef264b7f4 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 1997 John D. Polstra.
+ * Copyright (c) 2001 David E. O'Brien.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -31,23 +31,7 @@
#include <sys/types.h>
#include <machine/elf.h>
-
-/*
- * Hints file produced by ldconfig.
- */
-struct elfhints_hdr {
- u_int32_t magic; /* Magic number */
- u_int32_t version; /* File version (1) */
- u_int32_t strtab; /* Offset of string table in file */
- u_int32_t strsize; /* Size of string table */
- u_int32_t dirlist; /* Offset of directory list in
- string table */
- u_int32_t dirlistlen; /* strlen(dirlist) */
- u_int32_t spare[26]; /* Room for expansion */
-};
-
-#define ELFHINTS_MAGIC 0x746e6845
-
-#define _PATH_ELF_HINTS "/var/run/ld-elf.so.hints"
+#include <sys/elf32.h>
+#include <sys/elf64.h>
#endif /* !_ELF_H_ */