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:
782e3b3
)
kbuild: Use Elfnn_Half as replacement for Elfnn_Section
author
Sam Ravnborg
<sam@ravnborg.org>
Sun, 12 Aug 2007 21:17:54 +0000
(23:17 +0200)
committer
Sam Ravnborg
<sam@neptun.(none)>
Fri, 12 Oct 2007 19:13:50 +0000
(21:13 +0200)
The Elfnn_Section is not available on all platforms,
noteworthy are cygwin.
Use the safe replacement _Half.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.h
patch
|
blob
|
blame
|
history
diff --git
a/scripts/mod/modpost.h
b/scripts/mod/modpost.h
index 4156dd34c5def71a04c899b1b4a0cdf0a2ae832f..0ffed17ec20ca2037be0d8bf1467477c912952e3 100644
(file)
--- a/
scripts/mod/modpost.h
+++ b/
scripts/mod/modpost.h
@@
-17,7
+17,7
@@
#define Elf_Shdr Elf32_Shdr
#define Elf_Sym Elf32_Sym
#define Elf_Addr Elf32_Addr
-#define Elf_Section Elf32_
Section
+#define Elf_Section Elf32_
Half
#define ELF_ST_BIND ELF32_ST_BIND
#define ELF_ST_TYPE ELF32_ST_TYPE
@@
-31,7
+31,7
@@
#define Elf_Shdr Elf64_Shdr
#define Elf_Sym Elf64_Sym
#define Elf_Addr Elf64_Addr
-#define Elf_Section Elf64_
Section
+#define Elf_Section Elf64_
Half
#define ELF_ST_BIND ELF64_ST_BIND
#define ELF_ST_TYPE ELF64_ST_TYPE