Fix the jni compiler's handling of byte and short return values in x86.

gcc uses byte/short operations to populate return values of these types,
so the sign extension is lost. The jni compiler needs to manually sign
extend the values again since they're treated like words in the system.

With this change, all the run_test tests are working.

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