aboutsummaryrefslogtreecommitdiffstats
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:18:48 +0000
commita66660aa5bb709547ce0b65a4563e4217c3c3d9f (patch)
tree2f4ac4b471860cc05b0accfa181e1044f6227210 /meta/classes/chrpath.bbclass
parentb02cef58ee35dd277fff48538ce2803df1cbc4d5 (diff)
downloadopenembedded-core-contrib-a66660aa5bb709547ce0b65a4563e4217c3c3d9f.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. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/chrpath.bbclass')
0 files changed, 0 insertions, 0 deletions