summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/elf.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-08-30 18:59:48 +0000
committerpeter <peter@FreeBSD.org>1997-08-30 18:59:48 +0000
commitb724085a66632f47d3a85a40cf238eb64c486956 (patch)
tree95f37fb47b0585c90bd2a8d12ef7c8362e3a0faa /sys/amd64/include/elf.h
parent82c7a53f3f74f5011c6a40b5399b027555a667d1 (diff)
downloadFreeBSD-src-b724085a66632f47d3a85a40cf238eb64c486956.zip
FreeBSD-src-b724085a66632f47d3a85a40cf238eb64c486956.tar.gz
Define some machine characteristics using symbol naming on conventions
in place in the other BSD's.
Diffstat (limited to 'sys/amd64/include/elf.h')
-rw-r--r--sys/amd64/include/elf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/amd64/include/elf.h b/sys/amd64/include/elf.h
index dd56d9f..34478e7 100644
--- a/sys/amd64/include/elf.h
+++ b/sys/amd64/include/elf.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: elf.h,v 1.1 1997/05/21 23:07:28 jdp Exp $
*/
#ifndef _MACHINE_ELF_H_
@@ -103,4 +103,10 @@ typedef struct { /* Auxiliary vector entry on initial stack */
#define R_386_COUNT 11 /* Count of defined relocation types. */
+/* Define "machine" characteristics */
+#define ELF_TARG_CLASS ELFCLASS32
+#define ELF_TARG_DATA ELFDATA2LSB
+#define ELF_TARG_MACH EM_386
+#define ELF_TARG_VER 1
+
#endif /* !_MACHINE_ELF_H_ */
OpenPOWER on IntegriCloud