diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-12 00:45:49 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-12 00:45:49 +0000 |
commit | 66f20d0f9bd86dc11f3869d78f3c5749789323ee (patch) | |
tree | f6462cca735c009dc41d590bc0128102d7645006 /include/asm-sparc64 | |
parent | 45c5d1ba96c0670768c065115604d52afa7882b0 (diff) |
ELF loader changes / cleanup as discussed on linux-kernel.
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc64/elf.h b/include/asm-sparc64/elf.h index ec946e414..8a5404930 100644 --- a/include/asm-sparc64/elf.h +++ b/include/asm-sparc64/elf.h @@ -36,7 +36,7 @@ typedef struct { * This is used to ensure we don't load something for the wrong architecture. */ #ifndef elf_check_arch -#define elf_check_arch(x) ((x) == ELF_ARCH) /* Might be EM_SPARCV9 or EM_SPARC */ +#define elf_check_arch(x) ((x)->e_machine == ELF_ARCH) /* Might be EM_SPARCV9 or EM_SPARC */ #endif #define USE_ELF_CORE_DUMP |