Add a macro for testing the e_machine field of Elf64_Ehdr.
This commit is contained in:
parent
cc80f85e2c
commit
2f04386eb9
@ -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