mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
ELF: Use EI_NIDENT instead of numeric value
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
adf535eeac
commit
eb6900fbfa
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ typedef struct elf32_hdr{
|
|||
} Elf32_Ehdr;
|
||||
|
||||
typedef struct elf64_hdr {
|
||||
unsigned char e_ident[16]; /* ELF "magic number" */
|
||||
unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */
|
||||
Elf64_Half e_type;
|
||||
Elf64_Half e_machine;
|
||||
Elf64_Word e_version;
|
||||
|
|
Loading…
Reference in a new issue