Merge "Fix elf writer to properly handle empty text sections"
am: 51c1b63fc7

* commit '51c1b63fc71bea1b22b9719bc24ffd130aa2e420':
  Fix elf writer to properly handle empty text sections