projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/vdso: Fix building on big endian host
[cascardo/linux.git]
/
arch
/
x86
/
entry
/
vdso
/
vdso2c.h
diff --git
a/arch/x86/entry/vdso/vdso2c.h
b/arch/x86/entry/vdso/vdso2c.h
index
4f74119
..
3dab75f
100644
(file)
--- a/
arch/x86/entry/vdso/vdso2c.h
+++ b/
arch/x86/entry/vdso/vdso2c.h
@@
-22,7
+22,7
@@
static void BITSFUNC(go)(void *raw_addr, size_t raw_len,
ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff));
- if (
hdr->e_type
!= ET_DYN)
+ if (
GET_LE(&hdr->e_type)
!= ET_DYN)
fail("input is not a shared object\n");
/* Walk the segment table. */