projects
/
platform
/
kernel
/
linux-stable.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
|
history
diff --git
a/include/linux/elf.h
b/include/linux/elf.h
index
bad1b16
..
ff9fbed
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;