summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-11-25 17:35:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-11 17:21:40 +0000
commit101173d6cf8ddc028a975b3ef369da7d31dd78aa (patch)
tree081aa5c1e69ff686b244bd909c56f4bb15085b11 /meta/recipes-connectivity
parentb0b646ab3c4ae47a5d356d6dded4f72131d66ab8 (diff)
downloadpoky-101173d6cf8ddc028a975b3ef369da7d31dd78aa.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: b88c6bd61e7c3388b3902de1adb5e48a88f2e235) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
0 files changed, 0 insertions, 0 deletions