Emit the ELF image into the memory buffer.

Emit the ELF image to the memory buffer, so that we can copy
and embed them into Oat file in the future.  Currently, We
are keeping writing the ELF image to the file, such as
gtest-0.elf, for the unit test.  However, we will remove them
after the Oat file related commits are ready.

(cherry picked from commit 9c1d4f58b54283d38796f3084a5b88ae43d42698)

Change-Id: I912ac74a6c59d92554f8aeba5556f7a44e38d2a0
2 files changed
tree: e18077a36de65462602c2433cb52298b06b73651
  1. .gitignore
  2. Android.mk
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/