Add constants required for PT_NOTE interpretation in executables.

This commit is contained in:
bjh21 2002-03-30 17:54:51 +00:00
parent ed4ba39c75
commit 004f6e28d5

View File

@ -1,4 +1,4 @@
/* $NetBSD: readelf.h,v 1.6 2001/12/09 23:21:07 thorpej Exp $ */
/* $NetBSD: readelf.h,v 1.7 2002/03/30 17:54:51 bjh21 Exp $ */
/*
* readelf.h
@ -190,4 +190,16 @@ typedef struct {
#define NT_PLATFORM 5
#define NT_AUXV 6
/* Note types used in executables */
/* NetBSD executables (name = "NetBSD") */
#define NT_NETBSD_VERSION 1
#define NT_NETBSD_EMULATION 2
/* GNU executables (name = "GNU") */
#define NT_GNU_VERSION 1
/* GNU OS tags */
#define GNU_OS_LINUX 0
#define GNU_OS_HURD 1
#define GNU_OS_SOLARIS 2
#endif