Fix bad elf data handling.
am: 66013410e8

* commit '66013410e88ae0014d4af305fbcc4993463095d1':
  Fix bad elf data handling.