Add a macro for testing the e_machine field of Elf64_Ehdr.
This commit is contained in:
parent
949398af9d
commit
3bf983fb25
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37216
@ -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.1.1.1 1998/03/09 05:42:33 jb Exp $
|
||||
* $Id: elf.h,v 1.2 1998/06/10 10:54:57 dfr Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_ELF_H_
|
||||
@ -35,6 +35,8 @@
|
||||
|
||||
#include <sys/elf64.h> /* Definitions common to all 64 bit architectures. */
|
||||
|
||||
#define ELF_MACHINE_OK(x) ((x) == EM_ALPHA)
|
||||
|
||||
/*
|
||||
* Auxiliary vector entries for passing information to the interpreter.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user