Commit Graph

13481 Commits

Author SHA1 Message Date
Andrew Hsieh
b05e7c1985 Annotate JNICALL with __NDK_FPABI__
In armeabi-v7a, VM still expects JNI functions to follow soft-abi.
Annotate it with __NDK_FPABI__ so compiler follows soft-abi in JNI
functions regardless the presence of -mhard-float in command-line.

It's up to developer to apply JNICALL consistently on JNI functions,
ie. those functions whose first arg has type "JNIEnv*" is likely to be

Change-Id: Ica7cca8ab9498ce00de6ffc7fff35f8cc13aedbf
2013-12-04 11:55:17 +08:00
Andrew Hsieh
2a571fda2b Fix -mhard-float for calling __builtin_* math functions
Annotate __builtin math functions with __NDK_FPABI_MATH__ too.
1. __attribute__((pcs("aapcs"))) has no effect on codegen when __buitlin
   function is emitted inlined.
2. When __builtin call into regular function in Android's libm, it has
   proper attribute which observes soft float-abi

Change-Id: I11e8b74fc22f3072b9ce849193e4a56e98c92d64
2013-12-04 11:45:04 +08:00
Andrew Hsieh
7582b31a67 am eb9388bc: am d9c17aa7: Merge "Enhance hello-jni to report APP_ABI at compilation"
* commit 'eb9388bcee5372b3c935f92d59bc396500a5e6a7':
  Enhance hello-jni to report APP_ABI at compilation
2013-12-02 23:31:27 +00:00
Raphael Moll
65bde24ccf am 90157f82: am f7624c5a: am c04b7aad: SDK Repository: switch to sdk addon revision 6.
* commit '90157f82c5c078551bed927c3c3dc10a85f4f90c':
  SDK Repository: switch to sdk addon revision 6.
2013-12-02 23:31:27 +00:00
Andrew Hsieh
eb9388bcee am d9c17aa7: Merge "Enhance hello-jni to report APP_ABI at compilation"
* commit 'd9c17aa7d791d1428ab19127e39892f6b8480efd':
  Enhance hello-jni to report APP_ABI at compilation
2013-12-02 01:02:52 -08:00
Andrew Hsieh
d9c17aa7d7 Merge "Enhance hello-jni to report APP_ABI at compilation" 2013-12-02 08:56:51 +00:00
Andrew Hsieh
833979268e Enhance hello-jni to report APP_ABI at compilation
Change-Id: I24989212cfb729705cc4177a7112804fa68144c4
2013-12-02 10:22:47 +08:00
Raphael Moll
3519ce6eb3 Adjust SDK revisions for KLP MR1 for platform and samples
Platform changes from 19 r1 to 19 r2.
Samples  changes from 19 r1 to 19 r2.

Change-Id: Ia391fef04468211f460f3e8d6ab83e0a4dc12a70
2013-11-27 13:11:16 -08:00
Katie McCormick
338417d10b am 4afb47eb: am b652393d: am b3017f4d: Sample code: bug fix
* commit '4afb47eb21efb6e299cdf907b9cef47937c6fdd7':
  Sample code: bug fix
2013-11-27 10:47:56 -08:00
Xavier Ducrohet
63837433ae am c5686e15: (-s ours) am 2472128a: am 888bd6a1: Merge "Prepare SDK for KLP MR1. Do not merge." into klp-dev
* commit 'c5686e155cd130edfcf9dfc5657268f3734712a7':
  Prepare SDK for KLP MR1. Do not merge.
2013-11-27 10:47:53 -08:00
Raphael Moll
90157f82c5 am f7624c5a: am c04b7aad: SDK Repository: switch to sdk addon revision 6.
* commit 'f7624c5a38edfbff523f24d36f6eb84c16144dd2':
  SDK Repository: switch to sdk addon revision 6.
2013-11-26 14:16:54 -08:00
Raphael Moll
f7624c5a38 am c04b7aad: SDK Repository: switch to sdk addon revision 6.
* commit 'c04b7aad0df26465d80775d8dd893fdc7a484b16':
  SDK Repository: switch to sdk addon revision 6.
2013-11-26 14:14:35 -08:00
Raphael Moll
c04b7aad0d SDK Repository: switch to sdk addon revision 6.
addon-6.xsd changes <extra><revision> from an int (major only)
to a full <revision> element with major.micro.minor (but not
preview part.)

(cherry picked from commit 7657a59083)

Change-Id: Iedff23a757dd3fd8d9e8006a2aec072ce2c71e8d
2013-11-26 14:05:47 -08:00
Katie McCormick
4afb47eb21 am b652393d: am b3017f4d: Sample code: bug fix
* commit 'b652393dd55979be53e73e62fa985d5cd836b156':
  Sample code: bug fix
2013-11-26 12:20:41 -08:00
Katie McCormick
b652393dd5 am b3017f4d: Sample code: bug fix
* commit 'b3017f4d2321dda48811b09813761cc53df6b893':
  Sample code: bug fix
2013-11-26 20:16:58 +00:00
Xavier Ducrohet
c5686e155c am 2472128a: am 888bd6a1: Merge "Prepare SDK for KLP MR1. Do not merge." into klp-dev
* commit '2472128a5cada24799f1bcaafcbf5e0ad70da4f6':
  Prepare SDK for KLP MR1. Do not merge.
2013-11-26 11:53:20 -08:00
Xavier Ducrohet
2472128a5c am 888bd6a1: Merge "Prepare SDK for KLP MR1. Do not merge." into klp-dev
* commit '888bd6a12473a4bfca36c691e187d9fc041411fe':
  Prepare SDK for KLP MR1. Do not merge.
2013-11-26 11:50:53 -08:00
Xavier Ducrohet
888bd6a124 Merge "Prepare SDK for KLP MR1. Do not merge." into klp-dev 2013-11-26 19:48:45 +00:00
Katie McCormick
b3017f4d23 Sample code: bug fix
Fix for:

b/6535950

Change-Id: I8f03a2e70c72dd68b4d183a54351ad09b23b83c4
2013-11-26 11:15:49 -08:00
Ben Cheng
3332adb785 am e8ce7584: am 18e10d81: am 4a09318c: Merge "Temporarily disable elftree on darwin-x86"
* commit 'e8ce7584301f7fa72c83a124f4e2e909c0a63f03':
  Temporarily disable elftree on darwin-x86
2013-11-23 12:41:07 -08:00
Ben Cheng
e8ce758430 am 18e10d81: am 4a09318c: Merge "Temporarily disable elftree on darwin-x86"
* commit '18e10d81e37be27229e47de9cd7870b4cd62b6c6':
  Temporarily disable elftree on darwin-x86
2013-11-23 12:36:52 -08:00
The Android Open Source Project
bcc1093127 am 5168cbad: am c61dbe23: Merge commit \'8eccbd3b5d90b9f0557c9a01f49d45e98ac85a46\' into HEAD
* commit '5168cbade8a728ebbbd4f5fb454ce9ca54e058d8':
2013-11-22 19:31:08 -08:00
The Android Open Source Project
5168cbade8 am c61dbe23: Merge commit \'8eccbd3b5d90b9f0557c9a01f49d45e98ac85a46\' into HEAD
* commit 'c61dbe23a4f2f69af9c674af3dad3759b098eae2':
2013-11-22 17:30:54 -08:00
Ben Cheng
18e10d81e3 am 4a09318c: Merge "Temporarily disable elftree on darwin-x86"
* commit '4a09318c1e6f2ffde53ac9219bb0e392228ef925':
  Temporarily disable elftree on darwin-x86
2013-11-22 17:22:11 -08:00
Ben Cheng
4a09318c1e Merge "Temporarily disable elftree on darwin-x86" 2013-11-23 01:15:49 +00:00
Ben Cheng
4a7c39c97b Temporarily disable elftree on darwin-x86
Change-Id: Ib4a73283ad18088de33da3c00278aae67c485fac
2013-11-22 17:02:53 -08:00
The Android Open Source Project
c61dbe23a4 Merge commit '8eccbd3b5d90b9f0557c9a01f49d45e98ac85a46' into HEAD 2013-11-22 16:46:47 -08:00
Kenny Root
5cd6376aed am a163fa90: am 7e0d5c29: am c9421a7a: Merge "make_key: add EC key generation support"
* commit 'a163fa900395cf8ebc1bbd143becc6bf2433781d':
  make_key: add EC key generation support
2013-11-22 10:49:30 -08:00
Kenny Root
a163fa9003 am 7e0d5c29: am c9421a7a: Merge "make_key: add EC key generation support"
* commit '7e0d5c29b33f3056aedcb44cb8cbae808c11c35d':
  make_key: add EC key generation support
2013-11-22 10:43:34 -08:00
Kenny Root
7e0d5c29b3 am c9421a7a: Merge "make_key: add EC key generation support"
* commit 'c9421a7ac67b6613acfb1415964947afb4c0fa30':
  make_key: add EC key generation support
2013-11-22 10:40:39 -08:00
Kenny Root
c9421a7ac6 Merge "make_key: add EC key generation support" 2013-11-22 18:37:38 +00:00
Alexander Lucas
5a0ab97113 am b40c1571: am 3a85c6d5: am 98a13468: Updating samples browser to include ActionBarCompat samples
* commit 'b40c1571dc9ecf016f6b3bdba26ab54e0941ad43':
  Updating samples browser to include ActionBarCompat samples
2013-11-22 10:10:14 -08:00
Alexander Lucas
b40c1571dc am 3a85c6d5: am 98a13468: Updating samples browser to include ActionBarCompat samples
* commit '3a85c6d598f8575a1442278bf3733eec6c5d6a2e':
  Updating samples browser to include ActionBarCompat samples
2013-11-22 10:06:20 -08:00
Alexander Lucas
3a85c6d598 am 98a13468: Updating samples browser to include ActionBarCompat samples
* commit '98a13468a649288ff83fd26a80c5922cede6ec1a':
  Updating samples browser to include ActionBarCompat samples
2013-11-22 18:03:49 +00:00
Ben Cheng
ad593476a8 am 23604216: am 45d19989: am 4b60b014: Merge "Switch to use elfutils 0.153"
* commit '236042169e83cf4cf1a1bcc28cc71cd0c3744aef':
  Switch to use elfutils 0.153
2013-11-21 23:00:08 -08:00
Andrew Hsieh
79b016614d am 6763bf82: am 3053834f: am c044b5e3: Merge "- Using hard-fp - Immersive mode in android-19 - Fixed local reference release in JNI helper - Misc fixes Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6"
* commit '6763bf82d455d9a9c460457ff9588111ebc0721a':
  - Using hard-fp - Immersive mode in android-19 - Fixed local reference release in JNI helper - Misc fixes Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6
2013-11-21 22:59:43 -08:00
Elliott Hughes
5bb6cf6e07 am 03e0781e: am f067a933: am 1f1e7379: Merge "MIPS hasn\'t supported SA_RESTORER since 2.5 kernels."
* commit '03e0781ececec98d6cd1a61ab78af70479f626bc':
  MIPS hasn't supported SA_RESTORER since 2.5 kernels.
2013-11-21 22:59:42 -08:00
Ben Cheng
236042169e am 45d19989: am 4b60b014: Merge "Switch to use elfutils 0.153"
* commit '45d1998989aab744df954a0357cf1eed7d2123b1':
  Switch to use elfutils 0.153
2013-11-21 18:44:07 -08:00
Andrew Hsieh
6763bf82d4 am 3053834f: am c044b5e3: Merge "- Using hard-fp - Immersive mode in android-19 - Fixed local reference release in JNI helper - Misc fixes Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6"
* commit '3053834fdc4159afb8b276eec4fecdb7e97cf87c':
  - Using hard-fp - Immersive mode in android-19 - Fixed local reference release in JNI helper - Misc fixes Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6
2013-11-21 17:15:12 -08:00
Elliott Hughes
03e0781ece am f067a933: am 1f1e7379: Merge "MIPS hasn\'t supported SA_RESTORER since 2.5 kernels."
* commit 'f067a933f5222939711328a127fcf007cf9032c7':
  MIPS hasn't supported SA_RESTORER since 2.5 kernels.
2013-11-21 17:15:02 -08:00
Ben Cheng
45d1998989 am 4b60b014: Merge "Switch to use elfutils 0.153"
* commit '4b60b0143dd26498a13efa4e8b1851b71e8581e0':
  Switch to use elfutils 0.153
2013-11-21 16:48:11 -08:00
Ben Cheng
4b60b0143d Merge "Switch to use elfutils 0.153" 2013-11-22 00:45:17 +00:00
Ben Cheng
75c68c9c53 Switch to use elfutils 0.153
Change-Id: Ie6ee5911949f6d32f39f1f8800ddf41550dedd95
2013-11-21 16:36:27 -08:00
Alexander Lucas
98a13468a6 Updating samples browser to include ActionBarCompat samples
Change-Id: I4bf39042db2bfef3ed538280f6fc533a7a379882
2013-11-21 15:45:13 -08:00
Alexander Lucas
a4571dc351 am 607b0da6: am f044ac48: am b734f1b5: Updating sdk.atree to reflect new set of samples
* commit '607b0da6372cc033eb52684fbfd425c2298984b2':
  Updating sdk.atree to reflect new set of samples
2013-11-21 14:34:42 -08:00
Alexander Lucas
607b0da637 am f044ac48: am b734f1b5: Updating sdk.atree to reflect new set of samples
* commit 'f044ac485dd60ac075b31f81db3922b2d3780119':
  Updating sdk.atree to reflect new set of samples
2013-11-21 14:30:44 -08:00
Alexander Lucas
f044ac485d am b734f1b5: Updating sdk.atree to reflect new set of samples
* commit 'b734f1b5905c0f49e2dd8d73333ac5b003e15fa9':
  Updating sdk.atree to reflect new set of samples
2013-11-21 14:26:53 -08:00
Alexander Lucas
b734f1b590 Updating sdk.atree to reflect new set of samples
Change-Id: I1308d65f77783fc7f43fdc36bf90a59a137ec73f
2013-11-21 13:32:25 -08:00
Andrew Hsieh
3053834fdc am c044b5e3: Merge "- Using hard-fp - Immersive mode in android-19 - Fixed local reference release in JNI helper - Misc fixes Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6"
* commit 'c044b5e3673ed685693b3b381cebc4688e219334':
  - Using hard-fp - Immersive mode in android-19 - Fixed local reference release in JNI helper - Misc fixes Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6
2013-11-21 00:11:20 -08:00
Andrew Hsieh
c044b5e367 Merge "- Using hard-fp - Immersive mode in android-19 - Fixed local reference release in JNI helper - Misc fixes Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6" 2013-11-21 08:08:22 +00:00