summaryrefslogtreecommitdiffstats
path: root/meta/classes/chrpath.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-11-07 14:11:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-15 15:19:53 +0000
commit025f917cec255e1f65d8b8b6c37a1a315173ea8c (patch)
treebca367dfa670675fe70318b3dfd958aea0a2682f /meta/classes/chrpath.bbclass
parentef1d874c63ad477af2db27eacf889a8c6eb9b566 (diff)
downloadpoky-025f917cec255e1f65d8b8b6c37a1a315173ea8c.tar.gz
lib/oe/qa: handle binaries with segments outside the first 4kb
The ELF parser was assuming that the segment tables are in the first 4kb of the binary. Whilst this generally appears to be the case, there have been instances where the segment table is elsewhere (offset 2MB, in this sample I have). Solve this problem by mmap()ing the file instead. Also clean up the code a little whilst chasing the problem. (From OE-Core rev: a66660aa5bb709547ce0b65a4563e4217c3c3d9f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/chrpath.bbclass')
0 files changed, 0 insertions, 0 deletions