diff options
author | peter <peter@FreeBSD.org> | 1998-10-18 15:31:23 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-10-18 15:31:23 +0000 |
commit | 6f3b588dc2451e3fc9999417e47754d521a12d8a (patch) | |
tree | 3131cf378fe0467530044c0e994c52f071bd4ca7 /sys/i386 | |
parent | 2aa1d02474108a454794e112d1c28e8c59cb8799 (diff) | |
download | FreeBSD-src-6f3b588dc2451e3fc9999417e47754d521a12d8a.zip FreeBSD-src-6f3b588dc2451e3fc9999417e47754d521a12d8a.tar.gz |
Add an ELF_MACHINE_OK() macro for compatability with the Alpha version.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/elf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/include/elf.h b/sys/i386/include/elf.h index 5605b6f..93f486b 100644 --- a/sys/i386/include/elf.h +++ b/sys/i386/include/elf.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: elf.h,v 1.3 1998/08/16 03:03:31 jdp Exp $ + * $Id: elf.h,v 1.4 1998/09/14 20:30:12 jdp Exp $ */ #ifndef _MACHINE_ELF_H_ @@ -40,6 +40,8 @@ #define ELF_ARCH EM_386 +#define ELF_MACHINE_OK(x) ((x) == EM_386 || (x) == EM_486) + /* * Auxiliary vector entries for passing information to the interpreter. * |