projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf535e
)
ELF: Use EI_NIDENT instead of numeric value
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Tue, 29 Apr 2008 08:01:17 +0000
(
01:01
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:16 +0000
(08:06 -0700)
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>
include/linux/elf.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/elf.h
b/include/linux/elf.h
index bad1b16ec49a73f432ed27a0c97131205f726c29..ff9fbed90123faff8fb8e3a7817a831f6bc5e276 100644
(file)
--- a/
include/linux/elf.h
+++ b/
include/linux/elf.h
@@
-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;