Skip to content
Commit a0393611 authored by Chong Lu's avatar Chong Lu Committed by Paul Eggleton
Browse files

modphp: enable endian check



Previously, modphp estimates endian on host rather than checks it on
target. If the host is little-endian and the target is big-endian,
modphp claims that endian is little. As a result, a memory location
that it is not allowed to access when calling libphp5.so module on
target. It will occur segmentation fault.
This patch enables endian check support for modphp.

Signed-off-by: default avatarChong Lu <Chong.Lu@windriver.com>
Signed-off-by: default avatarPaul Eggleton <paul.eggleton@linux.intel.com>
parent ac3a5d43
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment