72645164b6
This is basically the other half of I5de76f6c46ac87779f207d568a86bb453e2414de from Pavel Chupin <pavel.v.chupin@intel.com>, but taking the exact upstream _types.h instead of the modified version. (I was confused when I suggested otherwise.) I've also cleaned up the internal_types.h situation; we weren't gaining anything from these empty files, and there is no upstream internal_types.h for x86_64. Change-Id: I802a9a6a8df1c979e820659212c75a47c2ef392e
21 lines
388 B
C
21 lines
388 B
C
/* $OpenBSD: exec.h,v 1.4 2012/09/11 15:44:17 deraadt Exp $ */
|
|
/*
|
|
* Written by Artur Grabowski <art@openbsd.org> Public Domain
|
|
*/
|
|
|
|
#ifndef _MACHINE_EXEC_H_
|
|
#define _MACHINE_EXEC_H_
|
|
|
|
#define __LDPGSZ 4096
|
|
|
|
#define ARCH_ELFSIZE 64
|
|
|
|
#define ELF_TARG_CLASS ELFCLASS64
|
|
#define ELF_TARG_DATA ELFDATA2LSB
|
|
#define ELF_TARG_MACH EM_AMD64
|
|
|
|
#define _NLIST_DO_ELF
|
|
#define _KERN_DO_ELF64
|
|
|
|
#endif
|