OSDN Git Service

android-x86/bionic.git
9 years agoam a028ab9e: am c7aaf228: am f108bbba: Merge "Remove obsolete BUILD_TINY_ANDROID."
Elliott Hughes [Sun, 25 Jan 2015 21:00:53 +0000 (21:00 +0000)]
am a028ab9e: am c7aaf228: am f108bbba: Merge "Remove obsolete BUILD_TINY_ANDROID."

* commit 'a028ab9e09fc08d7551fe20514d197f7fa4cb86f':
  Remove obsolete BUILD_TINY_ANDROID.

9 years agoam c7aaf228: am f108bbba: Merge "Remove obsolete BUILD_TINY_ANDROID."
Elliott Hughes [Sun, 25 Jan 2015 20:42:50 +0000 (20:42 +0000)]
am c7aaf228: am f108bbba: Merge "Remove obsolete BUILD_TINY_ANDROID."

* commit 'c7aaf228beddc4c68a3e4f3986aee40c568c208c':
  Remove obsolete BUILD_TINY_ANDROID.

9 years agoam f108bbba: Merge "Remove obsolete BUILD_TINY_ANDROID."
Elliott Hughes [Sun, 25 Jan 2015 05:17:29 +0000 (05:17 +0000)]
am f108bbba: Merge "Remove obsolete BUILD_TINY_ANDROID."

* commit 'f108bbbaf7a11c3226780d0424fa123155e30f36':
  Remove obsolete BUILD_TINY_ANDROID.

9 years agoMerge "Remove obsolete BUILD_TINY_ANDROID."
Elliott Hughes [Sun, 25 Jan 2015 05:09:20 +0000 (05:09 +0000)]
Merge "Remove obsolete BUILD_TINY_ANDROID."

9 years agoRemove obsolete BUILD_TINY_ANDROID.
Elliott Hughes [Sun, 25 Jan 2015 03:01:58 +0000 (19:01 -0800)]
Remove obsolete BUILD_TINY_ANDROID.

Change-Id: If2fc97134340fd09ec2583b666ace2f673cbdf66

9 years agoam 9e4827de: am 7eed99da: am 66eeec8e: Merge "Reduce <stdlib.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 23:57:37 +0000 (23:57 +0000)]
am 9e4827de: am 7eed99da: am 66eeec8e: Merge "Reduce <stdlib.h> namespace pollution."

* commit '9e4827de125e37bec0bc2a2c02b65176b30129f9':
  Reduce <stdlib.h> namespace pollution.

9 years agoam 7eed99da: am 66eeec8e: Merge "Reduce <stdlib.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 23:53:11 +0000 (23:53 +0000)]
am 7eed99da: am 66eeec8e: Merge "Reduce <stdlib.h> namespace pollution."

* commit '7eed99dad95003b8b40e6a1136bd83ac68dc54dc':
  Reduce <stdlib.h> namespace pollution.

9 years agoam 66eeec8e: Merge "Reduce <stdlib.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 23:47:36 +0000 (23:47 +0000)]
am 66eeec8e: Merge "Reduce <stdlib.h> namespace pollution."

* commit '66eeec8e160feddc2b35c4ff9d20de92f37331dd':
  Reduce <stdlib.h> namespace pollution.

9 years agoMerge "Reduce <stdlib.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 23:44:26 +0000 (23:44 +0000)]
Merge "Reduce <stdlib.h> namespace pollution."

9 years agoReduce <stdlib.h> namespace pollution.
Elliott Hughes [Sat, 24 Jan 2015 23:22:57 +0000 (15:22 -0800)]
Reduce <stdlib.h> namespace pollution.

<stdlib.h> shouldn't drag in all of <string.h>.

Change-Id: I949172f7ff17e329e411e5054e50f79c13775444

9 years agoam fe1709bd: am 12144696: am 62d20fb2: Merge "Reduce <signal.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 22:55:16 +0000 (22:55 +0000)]
am fe1709bd: am 12144696: am 62d20fb2: Merge "Reduce <signal.h> namespace pollution."

* commit 'fe1709bdca1a335df315ba11efcdfec96e71658f':
  Reduce <signal.h> namespace pollution.

9 years agoam 12144696: am 62d20fb2: Merge "Reduce <signal.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 22:47:01 +0000 (22:47 +0000)]
am 12144696: am 62d20fb2: Merge "Reduce <signal.h> namespace pollution."

* commit '12144696ac9b53462fbfb0fb4f1a181e10df7437':
  Reduce <signal.h> namespace pollution.

9 years agoam 62d20fb2: Merge "Reduce <signal.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 22:41:01 +0000 (22:41 +0000)]
am 62d20fb2: Merge "Reduce <signal.h> namespace pollution."

* commit '62d20fb21948d7a31d453ec08ed5abc02d3dd1d3':
  Reduce <signal.h> namespace pollution.

9 years agoMerge "Reduce <signal.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 22:34:51 +0000 (22:34 +0000)]
Merge "Reduce <signal.h> namespace pollution."

9 years agoam cf936c1e: am 61a80735: am 6e15edcc: Merge "Say "Bad file descriptor" rather than...
Elliott Hughes [Sat, 24 Jan 2015 22:24:27 +0000 (22:24 +0000)]
am cf936c1e: am 61a80735: am 6e15edcc: Merge "Say "Bad file descriptor" rather than "Bad file number"."

* commit 'cf936c1e43456d50f9d58444442e31609ff75256':
  Say "Bad file descriptor" rather than "Bad file number".

9 years agoReduce <signal.h> namespace pollution.
Elliott Hughes [Sat, 24 Jan 2015 22:18:16 +0000 (14:18 -0800)]
Reduce <signal.h> namespace pollution.

<signal.h> shouldn't drag in all of <string.h>.

Change-Id: I57aea36dad5e89ea2f9541c35594ca6225e532be

9 years agoam 61a80735: am 6e15edcc: Merge "Say "Bad file descriptor" rather than "Bad file...
Elliott Hughes [Sat, 24 Jan 2015 22:18:09 +0000 (22:18 +0000)]
am 61a80735: am 6e15edcc: Merge "Say "Bad file descriptor" rather than "Bad file number"."

* commit '61a8073565dd9870f4f93a96f91881955833757b':
  Say "Bad file descriptor" rather than "Bad file number".

9 years agoam 6e15edcc: Merge "Say "Bad file descriptor" rather than "Bad file number"."
Elliott Hughes [Sat, 24 Jan 2015 22:12:06 +0000 (22:12 +0000)]
am 6e15edcc: Merge "Say "Bad file descriptor" rather than "Bad file number"."

* commit '6e15edcca5f5b35221b33e9994c236f148cb3c38':
  Say "Bad file descriptor" rather than "Bad file number".

9 years agoMerge "Say "Bad file descriptor" rather than "Bad file number"."
Elliott Hughes [Sat, 24 Jan 2015 22:08:19 +0000 (22:08 +0000)]
Merge "Say "Bad file descriptor" rather than "Bad file number"."

9 years agoam e5cfda5b: am 94a4a173: am 59936a3b: Merge "Fix optimized fread."
Elliott Hughes [Sat, 24 Jan 2015 21:43:05 +0000 (21:43 +0000)]
am e5cfda5b: am 94a4a173: am 59936a3b: Merge "Fix optimized fread."

* commit 'e5cfda5b5d372ef674e8f8c36faded2d653c10b5':
  Fix optimized fread.

9 years agoSay "Bad file descriptor" rather than "Bad file number".
Elliott Hughes [Sat, 24 Jan 2015 21:38:57 +0000 (13:38 -0800)]
Say "Bad file descriptor" rather than "Bad file number".

This text is actually in POSIX (though it's not mandatory) and it's what glibc
says. Who says "file number" anyway?

Change-Id: Icc91ac24587c2bc692e0b97c19d32ac1bdda4ea7

9 years agoam 94a4a173: am 59936a3b: Merge "Fix optimized fread."
Elliott Hughes [Sat, 24 Jan 2015 21:38:15 +0000 (21:38 +0000)]
am 94a4a173: am 59936a3b: Merge "Fix optimized fread."

* commit '94a4a173d24ce8feac5c49fb5ad209a836d41439':
  Fix optimized fread.

9 years agoam 59936a3b: Merge "Fix optimized fread."
Elliott Hughes [Sat, 24 Jan 2015 21:31:09 +0000 (21:31 +0000)]
am 59936a3b: Merge "Fix optimized fread."

* commit '59936a3b51474fc3216659f089ff6543ac31ab4e':
  Fix optimized fread.

9 years agoMerge "Fix optimized fread."
Elliott Hughes [Sat, 24 Jan 2015 21:25:05 +0000 (21:25 +0000)]
Merge "Fix optimized fread."

9 years agoFix optimized fread.
Elliott Hughes [Sat, 24 Jan 2015 01:48:15 +0000 (17:48 -0800)]
Fix optimized fread.

gcov does writes after reads on the same stream, but the bulk read optimization
was clobbering the FILE _flags, causing fwrite to fail.

Bug: 19129055
Change-Id: I9650cb7de4bb173a706b502406266ed0d2b654d7

9 years agoam ebbf3b0e: am 37043dff: am 31005ca4: Merge "Minimize calls to mprotect"
Dmitriy Ivanov [Sat, 24 Jan 2015 16:58:12 +0000 (16:58 +0000)]
am ebbf3b0e: am 37043dff: am 31005ca4: Merge "Minimize calls to mprotect"

* commit 'ebbf3b0ec22d729b9531ed562322655844676df4':
  Minimize calls to mprotect

9 years agoam 1042afe6: am e6ad1630: am 305be18d: Merge "Allow make to set a timeout for the...
Dan Albert [Sat, 24 Jan 2015 16:58:03 +0000 (16:58 +0000)]
am 1042afe6: am e6ad1630: am 305be18d: Merge "Allow make to set a timeout for the host tests."

* commit '1042afe618c7b2f06d520f9cadc4482124e5c875':
  Allow make to set a timeout for the host tests.

9 years agoam 54ab69d3: am 75bce066: am f5ae7e91: Merge "Add comments about the -shared flag."
Chih-Hung Hsieh [Sat, 24 Jan 2015 16:57:51 +0000 (16:57 +0000)]
am 54ab69d3: am 75bce066: am f5ae7e91: Merge "Add comments about the -shared flag."

* commit '54ab69d33fb39c4e97e401087e384a944345d1e4':
  Add comments about the -shared flag.

9 years agoam 37043dff: am 31005ca4: Merge "Minimize calls to mprotect"
Dmitriy Ivanov [Sat, 24 Jan 2015 00:59:54 +0000 (00:59 +0000)]
am 37043dff: am 31005ca4: Merge "Minimize calls to mprotect"

* commit '37043dff1d2d7ea475cea1ef5728fbf88f6fb321':
  Minimize calls to mprotect

9 years agoam 31005ca4: Merge "Minimize calls to mprotect"
Dmitriy Ivanov [Sat, 24 Jan 2015 00:51:09 +0000 (00:51 +0000)]
am 31005ca4: Merge "Minimize calls to mprotect"

* commit '31005ca4c8562f3e6dfbed079eeaff8361ff8cdc':
  Minimize calls to mprotect

9 years agoMerge "Minimize calls to mprotect"
Dmitriy Ivanov [Sat, 24 Jan 2015 00:41:52 +0000 (00:41 +0000)]
Merge "Minimize calls to mprotect"

9 years agoMinimize calls to mprotect
Dmitriy Ivanov [Fri, 23 Jan 2015 20:03:53 +0000 (12:03 -0800)]
Minimize calls to mprotect

  Implement refcounter based data protection guard
  to avoid unnecessary calls to mprotect when dlopen/dlclose
  is called from a constructor.

Bug: 19124318
Big: 7941716
Change-Id: Id221b84ce75443094f99756dc9950b0a1dc87222

9 years agoam e6ad1630: am 305be18d: Merge "Allow make to set a timeout for the host tests."
Dan Albert [Sat, 24 Jan 2015 00:13:54 +0000 (00:13 +0000)]
am e6ad1630: am 305be18d: Merge "Allow make to set a timeout for the host tests."

* commit 'e6ad16304d054a9e6fff25693153a03455808bde':
  Allow make to set a timeout for the host tests.

9 years agoam 305be18d: Merge "Allow make to set a timeout for the host tests."
Dan Albert [Sat, 24 Jan 2015 00:07:20 +0000 (00:07 +0000)]
am 305be18d: Merge "Allow make to set a timeout for the host tests."

* commit '305be18d10254df4a9444f8505f569e94718f488':
  Allow make to set a timeout for the host tests.

9 years agoam 75bce066: am f5ae7e91: Merge "Add comments about the -shared flag."
Chih-Hung Hsieh [Sat, 24 Jan 2015 00:04:17 +0000 (00:04 +0000)]
am 75bce066: am f5ae7e91: Merge "Add comments about the -shared flag."

* commit '75bce0660ad558577dd5a2913f8fbcd39da1cbb6':
  Add comments about the -shared flag.

9 years agoMerge "Allow make to set a timeout for the host tests."
Dan Albert [Sat, 24 Jan 2015 00:01:39 +0000 (00:01 +0000)]
Merge "Allow make to set a timeout for the host tests."

9 years agoam f5ae7e91: Merge "Add comments about the -shared flag."
Chih-Hung Hsieh [Fri, 23 Jan 2015 23:41:01 +0000 (23:41 +0000)]
am f5ae7e91: Merge "Add comments about the -shared flag."

* commit 'f5ae7e91ea2c3364d6423ef4d54f5f295197335f':
  Add comments about the -shared flag.

9 years agoMerge "Add comments about the -shared flag."
Chih-Hung Hsieh [Fri, 23 Jan 2015 23:33:54 +0000 (23:33 +0000)]
Merge "Add comments about the -shared flag."

9 years agoam 590641b0: am cf744fc8: am 7f3d65de: Merge "Add a log message to make the transitio...
Elliott Hughes [Fri, 23 Jan 2015 19:57:07 +0000 (19:57 +0000)]
am 590641b0: am cf744fc8: am 7f3d65de: Merge "Add a log message to make the transition from linker to user code clear."

* commit '590641b0ad90d88c99cf965036d3c806f381d879':
  Add a log message to make the transition from linker to user code clear.

9 years agoAllow make to set a timeout for the host tests.
Dan Albert [Fri, 23 Jan 2015 19:35:48 +0000 (11:35 -0800)]
Allow make to set a timeout for the host tests.

Change-Id: Icc2ebf64bd1da1687bf313fe7a5640155c5795d8

9 years agoam cf744fc8: am 7f3d65de: Merge "Add a log message to make the transition from linker...
Elliott Hughes [Fri, 23 Jan 2015 19:14:16 +0000 (19:14 +0000)]
am cf744fc8: am 7f3d65de: Merge "Add a log message to make the transition from linker to user code clear."

* commit 'cf744fc89a7bac815bb42802dcfce73101ddbe1d':
  Add a log message to make the transition from linker to user code clear.

9 years agoam 7f3d65de: Merge "Add a log message to make the transition from linker to user...
Elliott Hughes [Fri, 23 Jan 2015 18:59:45 +0000 (18:59 +0000)]
am 7f3d65de: Merge "Add a log message to make the transition from linker to user code clear."

* commit '7f3d65de8cf2920981d73adee278c0d7bee79170':
  Add a log message to make the transition from linker to user code clear.

9 years agoMerge "Add a log message to make the transition from linker to user code clear."
Elliott Hughes [Fri, 23 Jan 2015 18:55:29 +0000 (18:55 +0000)]
Merge "Add a log message to make the transition from linker to user code clear."

9 years agoAdd a log message to make the transition from linker to user code clear.
Elliott Hughes [Fri, 23 Jan 2015 18:43:58 +0000 (10:43 -0800)]
Add a log message to make the transition from linker to user code clear.

Handy when looking at strace output for seeing "where does my code start?",
though you'll need to set LD_DEBUG=1 (or greater) and constructors will
already have run (but you can set LD_DEBUG to a higher value to track that).

Change-Id: I82d53a7123b39febf5b2a956de83c8a30f229651

9 years agoam 4d2dcb89: am 8e2b0e55: am bb3b1303: Merge "Enable -Wold-style-cast warnings for...
Dmitriy Ivanov [Fri, 23 Jan 2015 04:19:50 +0000 (04:19 +0000)]
am 4d2dcb89: am 8e2b0e55: am bb3b1303: Merge "Enable -Wold-style-cast warnings for linker"

* commit '4d2dcb896abcf3e13972665d3eaf179365bc799f':
  Enable -Wold-style-cast warnings for linker

9 years agoam 8e2b0e55: am bb3b1303: Merge "Enable -Wold-style-cast warnings for linker"
Dmitriy Ivanov [Fri, 23 Jan 2015 03:28:02 +0000 (03:28 +0000)]
am 8e2b0e55: am bb3b1303: Merge "Enable -Wold-style-cast warnings for linker"

* commit '8e2b0e550a8e64da23c95fe265dbea7c6701e7c1':
  Enable -Wold-style-cast warnings for linker

9 years agoam bb3b1303: Merge "Enable -Wold-style-cast warnings for linker"
Dmitriy Ivanov [Fri, 23 Jan 2015 03:14:35 +0000 (03:14 +0000)]
am bb3b1303: Merge "Enable -Wold-style-cast warnings for linker"

* commit 'bb3b1303e1167a662218c9686977b379964e0072':
  Enable -Wold-style-cast warnings for linker

9 years agoam 2e7715b2: am f908b21a: am ab58559a: Merge "Add a basic NDK compatibility library."
Dan Albert [Fri, 23 Jan 2015 03:12:17 +0000 (03:12 +0000)]
am 2e7715b2: am f908b21a: am ab58559a: Merge "Add a basic NDK compatibility library."

* commit '2e7715b29fc7e2e96c997eb005343cd8563fff36':
  Add a basic NDK compatibility library.

9 years agoam 682d5d8b: am 9c8a5265: am b161fe27: Merge "There\'s no such thing as LOCAL_CXXFLAGS."
Elliott Hughes [Fri, 23 Jan 2015 03:10:40 +0000 (03:10 +0000)]
am 682d5d8b: am 9c8a5265: am b161fe27: Merge "There\'s no such thing as LOCAL_CXXFLAGS."

* commit '682d5d8b826a8b4fec181dde264caa699955aecd':
  There's no such thing as LOCAL_CXXFLAGS.

9 years agoam 4adced31: am 25437c59: am ae095a73: Merge "Fix the stdio.fread_EOF test."
Elliott Hughes [Fri, 23 Jan 2015 03:10:39 +0000 (03:10 +0000)]
am 4adced31: am 25437c59: am ae095a73: Merge "Fix the stdio.fread_EOF test."

* commit '4adced31e84d299a907e8ffa0f8ff9840a1ce5ee':
  Fix the stdio.fread_EOF test.

9 years agoam 0f7f31f8: am a0313e04: am d5d9221b: Merge "Fix fread_EOF test name."
Elliott Hughes [Fri, 23 Jan 2015 03:10:38 +0000 (03:10 +0000)]
am 0f7f31f8: am a0313e04: am d5d9221b: Merge "Fix fread_EOF test name."

* commit '0f7f31f8193ffb61d73d3a3f2c89e437f81a0245':
  Fix fread_EOF test name.

9 years agoMerge "Enable -Wold-style-cast warnings for linker"
Dmitriy Ivanov [Fri, 23 Jan 2015 03:09:21 +0000 (03:09 +0000)]
Merge "Enable -Wold-style-cast warnings for linker"

9 years agoAdd comments about the -shared flag.
Chih-Hung Hsieh [Thu, 22 Jan 2015 22:05:15 +0000 (14:05 -0800)]
Add comments about the -shared flag.

Must build this linker as a shared object.
A statically linked module does not load during init.

BUG: 18008984

Change-Id: I5f0411129024edcb9381c473ea4e741a075e9184

9 years agoam f908b21a: am ab58559a: Merge "Add a basic NDK compatibility library."
Dan Albert [Fri, 23 Jan 2015 00:54:53 +0000 (00:54 +0000)]
am f908b21a: am ab58559a: Merge "Add a basic NDK compatibility library."

* commit 'f908b21a5cdb68184907ac6cb1475dfe771c28cf':
  Add a basic NDK compatibility library.

9 years agoam ab58559a: Merge "Add a basic NDK compatibility library."
Dan Albert [Fri, 23 Jan 2015 00:51:39 +0000 (00:51 +0000)]
am ab58559a: Merge "Add a basic NDK compatibility library."

* commit 'ab58559a9cc40766c0636c6e97a93dfd5e74d923':
  Add a basic NDK compatibility library.

9 years agoam 9c8a5265: am b161fe27: Merge "There\'s no such thing as LOCAL_CXXFLAGS."
Elliott Hughes [Fri, 23 Jan 2015 00:50:32 +0000 (00:50 +0000)]
am 9c8a5265: am b161fe27: Merge "There\'s no such thing as LOCAL_CXXFLAGS."

* commit '9c8a5265c9a2262735214a1310b5fc0246873bc9':
  There's no such thing as LOCAL_CXXFLAGS.

9 years agoam 25437c59: am ae095a73: Merge "Fix the stdio.fread_EOF test."
Elliott Hughes [Fri, 23 Jan 2015 00:50:31 +0000 (00:50 +0000)]
am 25437c59: am ae095a73: Merge "Fix the stdio.fread_EOF test."

* commit '25437c598473a22a697b8cae009a897df80f38e6':
  Fix the stdio.fread_EOF test.

9 years agoMerge "Add a basic NDK compatibility library."
Dan Albert [Fri, 23 Jan 2015 00:46:53 +0000 (00:46 +0000)]
Merge "Add a basic NDK compatibility library."

9 years agoam a0313e04: am d5d9221b: Merge "Fix fread_EOF test name."
Elliott Hughes [Fri, 23 Jan 2015 00:46:45 +0000 (00:46 +0000)]
am a0313e04: am d5d9221b: Merge "Fix fread_EOF test name."

* commit 'a0313e04b368c3af4152c573780549477b0ec5f8':
  Fix fread_EOF test name.

9 years agoEnable -Wold-style-cast warnings for linker
Dmitriy Ivanov [Fri, 23 Jan 2015 00:04:25 +0000 (16:04 -0800)]
Enable -Wold-style-cast warnings for linker

  And fix old style casts.

Change-Id: I37e7a3e3fd852528ea76f02d967c7bd8cd5b06c9

9 years agoam b161fe27: Merge "There\'s no such thing as LOCAL_CXXFLAGS."
Elliott Hughes [Thu, 22 Jan 2015 23:41:35 +0000 (23:41 +0000)]
am b161fe27: Merge "There\'s no such thing as LOCAL_CXXFLAGS."

* commit 'b161fe27433b899b896b5685571373df4a1f8a21':
  There's no such thing as LOCAL_CXXFLAGS.

9 years agoam ae095a73: Merge "Fix the stdio.fread_EOF test."
Elliott Hughes [Thu, 22 Jan 2015 23:41:34 +0000 (23:41 +0000)]
am ae095a73: Merge "Fix the stdio.fread_EOF test."

* commit 'ae095a730d6b3af69dc5eff662c5609cde6f5d70':
  Fix the stdio.fread_EOF test.

9 years agoMerge "There's no such thing as LOCAL_CXXFLAGS."
Elliott Hughes [Thu, 22 Jan 2015 23:40:07 +0000 (23:40 +0000)]
Merge "There's no such thing as LOCAL_CXXFLAGS."

9 years agoThere's no such thing as LOCAL_CXXFLAGS.
Elliott Hughes [Thu, 22 Jan 2015 23:36:24 +0000 (15:36 -0800)]
There's no such thing as LOCAL_CXXFLAGS.

Change-Id: Iad70e6bd4cb7cec9e0ece500a540e4dadc83d92e

9 years agoMerge "Fix the stdio.fread_EOF test."
Elliott Hughes [Thu, 22 Jan 2015 23:35:47 +0000 (23:35 +0000)]
Merge "Fix the stdio.fread_EOF test."

9 years agoFix the stdio.fread_EOF test.
Elliott Hughes [Thu, 22 Jan 2015 23:13:38 +0000 (15:13 -0800)]
Fix the stdio.fread_EOF test.

Another sizeof/strlen screwup caused by trying to be too clever. Use
std::string instead.

Also fix all the ASSERT_STREQ calls in this file that had the arguments
the right^Wwrong way round. If I ever see Kent Beck...

Change-Id: I47a1bdfee99cf4e7bed9b398f3158a308fbcf1e8

9 years agoam d5d9221b: Merge "Fix fread_EOF test name."
Elliott Hughes [Thu, 22 Jan 2015 22:28:23 +0000 (22:28 +0000)]
am d5d9221b: Merge "Fix fread_EOF test name."

* commit 'd5d9221b9c96a8213b0a83dde468653d49e76dd8':
  Fix fread_EOF test name.

9 years agoMerge "Fix fread_EOF test name."
Elliott Hughes [Thu, 22 Jan 2015 22:24:52 +0000 (22:24 +0000)]
Merge "Fix fread_EOF test name."

9 years agoFix fread_EOF test name.
Elliott Hughes [Thu, 22 Jan 2015 22:18:35 +0000 (14:18 -0800)]
Fix fread_EOF test name.

Change-Id: I53a7f1428fd27c0b2a5c80f2e8af4845d17f5b4b

9 years agoam b874754c: am 579fda5f: am d2806754: Merge "Add support for building other architec...
Dan Albert [Thu, 22 Jan 2015 22:16:37 +0000 (22:16 +0000)]
am b874754c: am 579fda5f: am d2806754: Merge "Add support for building other architectures."

* commit 'b874754c2b3e46017e6af222e8f0f77d08948968':
  Add support for building other architectures.

9 years agoam 579fda5f: am d2806754: Merge "Add support for building other architectures."
Dan Albert [Thu, 22 Jan 2015 22:10:49 +0000 (22:10 +0000)]
am 579fda5f: am d2806754: Merge "Add support for building other architectures."

* commit '579fda5f0d9db0042cec9741f0cd8a68c57dfaaf':
  Add support for building other architectures.

9 years agoam d2806754: Merge "Add support for building other architectures."
Dan Albert [Thu, 22 Jan 2015 22:04:48 +0000 (22:04 +0000)]
am d2806754: Merge "Add support for building other architectures."

* commit 'd280675405e605d47c74c037b0d2b4f06826ed4d':
  Add support for building other architectures.

9 years agoMerge "Add support for building other architectures."
Dan Albert [Thu, 22 Jan 2015 22:00:36 +0000 (22:00 +0000)]
Merge "Add support for building other architectures."

9 years agoam 9455d3b7: am d4517fb3: am 53df4bfc: Merge "Use a more specific return type for...
Elliott Hughes [Thu, 22 Jan 2015 20:32:15 +0000 (20:32 +0000)]
am 9455d3b7: am d4517fb3: am 53df4bfc: Merge "Use a more specific return type for app_id_from_name."

* commit '9455d3b7a07628bed4cb36b25f1a6e5af84ce881':
  Use a more specific return type for app_id_from_name.

9 years agoam f7b64d09: am 69838daa: am d1668a71: Merge "Turn on -Wold-style-cast and fix the...
Elliott Hughes [Thu, 22 Jan 2015 20:32:15 +0000 (20:32 +0000)]
am f7b64d09: am 69838daa: am d1668a71: Merge "Turn on -Wold-style-cast and fix the errors."

* commit 'f7b64d09002b22fade3ab703cf31c7b140ea9cd1':
  Turn on -Wold-style-cast and fix the errors.

9 years agoam d4517fb3: am 53df4bfc: Merge "Use a more specific return type for app_id_from_name."
Elliott Hughes [Thu, 22 Jan 2015 20:26:36 +0000 (20:26 +0000)]
am d4517fb3: am 53df4bfc: Merge "Use a more specific return type for app_id_from_name."

* commit 'd4517fb37ce5d306fa3d6f65e0fcfe949e7fd6fd':
  Use a more specific return type for app_id_from_name.

9 years agoam 53df4bfc: Merge "Use a more specific return type for app_id_from_name."
Elliott Hughes [Thu, 22 Jan 2015 20:21:30 +0000 (20:21 +0000)]
am 53df4bfc: Merge "Use a more specific return type for app_id_from_name."

* commit '53df4bfce81d8a6cfd4b5d991f5299f18dc4c958':
  Use a more specific return type for app_id_from_name.

9 years agoMerge "Use a more specific return type for app_id_from_name."
Elliott Hughes [Thu, 22 Jan 2015 20:15:03 +0000 (20:15 +0000)]
Merge "Use a more specific return type for app_id_from_name."

9 years agoUse a more specific return type for app_id_from_name.
Elliott Hughes [Thu, 22 Jan 2015 19:02:59 +0000 (11:02 -0800)]
Use a more specific return type for app_id_from_name.

I suspect we can simplify this code, but I don't know enough about it
to get involved now.

Change-Id: I1c39761ae31beb70d41ffa6f0e396a4f17529d46

9 years agoAdd a basic NDK compatibility library.
Dan Albert [Thu, 22 Jan 2015 01:50:29 +0000 (17:50 -0800)]
Add a basic NDK compatibility library.

We know we can safely statically link `libm`, since it doesn't have
any dependencies on the OS or the layout of a data type that has
changed between releases (like `pthread_t`).

We can safely statically link `libc_syscalls` because the user can
check for and handle `ENOSYS`.

Update `ndk_missing_symbols.py` to account for symbols that are in the
compatibility library.

Improve `symbols.py` to be able to pull symbols from a static library.

Change-Id: Ifb0ede1e8b4a8f0f33865d9fed72fb8b4d443fbc

9 years agoam 0855e923: am c673a2fe: am 4f11c59b: Merge "Add ndk_missing_symbols.py."
Dan Albert [Thu, 22 Jan 2015 02:07:36 +0000 (02:07 +0000)]
am 0855e923: am c673a2fe: am 4f11c59b: Merge "Add ndk_missing_symbols.py."

* commit '0855e923f6ff268632a9529caf44ae526953842a':
  Add ndk_missing_symbols.py.

9 years agoam 69838daa: am d1668a71: Merge "Turn on -Wold-style-cast and fix the errors."
Elliott Hughes [Thu, 22 Jan 2015 02:02:46 +0000 (02:02 +0000)]
am 69838daa: am d1668a71: Merge "Turn on -Wold-style-cast and fix the errors."

* commit '69838daa8764eb4d008df679e961fb510a37687b':
  Turn on -Wold-style-cast and fix the errors.

9 years agoam 0edffb85: am a2e5d98b: am 2a8c929a: Merge "Implement __fsetlocking."
Elliott Hughes [Thu, 22 Jan 2015 01:59:21 +0000 (01:59 +0000)]
am 0edffb85: am a2e5d98b: am 2a8c929a: Merge "Implement __fsetlocking."

* commit '0edffb85fa40987c00dd078111c6218efd5aded7':
  Implement __fsetlocking.

9 years agoam 0a45cc25: am 0930323e: am 8476b8ed: Merge "Contact proper debuggerd when crashing."
Christopher Ferris [Thu, 22 Jan 2015 01:59:21 +0000 (01:59 +0000)]
am 0a45cc25: am 0930323e: am 8476b8ed: Merge "Contact proper debuggerd when crashing."

* commit '0a45cc25566049860f3f38ab174569964af6ac6a':
  Contact proper debuggerd when crashing.

9 years agoam f0de7d6c: am a6e2e070: am fbc70d38: Merge "Report 404 errors from Gerrit and conti...
Dan Albert [Thu, 22 Jan 2015 01:59:20 +0000 (01:59 +0000)]
am f0de7d6c: am a6e2e070: am fbc70d38: Merge "Report 404 errors from Gerrit and continue."

* commit 'f0de7d6c6973b0c2e268fac4373bfd5765b49dc1':
  Report 404 errors from Gerrit and continue.

9 years agoam d1668a71: Merge "Turn on -Wold-style-cast and fix the errors."
Elliott Hughes [Thu, 22 Jan 2015 01:55:33 +0000 (01:55 +0000)]
am d1668a71: Merge "Turn on -Wold-style-cast and fix the errors."

* commit 'd1668a71df761eb1644496f3e2c77c16fd54bb06':
  Turn on -Wold-style-cast and fix the errors.

9 years agoam c673a2fe: am 4f11c59b: Merge "Add ndk_missing_symbols.py."
Dan Albert [Thu, 22 Jan 2015 01:54:29 +0000 (01:54 +0000)]
am c673a2fe: am 4f11c59b: Merge "Add ndk_missing_symbols.py."

* commit 'c673a2fea9246665ff87d619c48e882800a0793d':
  Add ndk_missing_symbols.py.

9 years agoMerge "Turn on -Wold-style-cast and fix the errors."
Elliott Hughes [Thu, 22 Jan 2015 01:52:05 +0000 (01:52 +0000)]
Merge "Turn on -Wold-style-cast and fix the errors."

9 years agoam 4f11c59b: Merge "Add ndk_missing_symbols.py."
Dan Albert [Thu, 22 Jan 2015 01:31:42 +0000 (01:31 +0000)]
am 4f11c59b: Merge "Add ndk_missing_symbols.py."

* commit '4f11c59b3f3acffe6c8e359296a9e38c4b7edfb6':
  Add ndk_missing_symbols.py.

9 years agoMerge "Add ndk_missing_symbols.py."
Dan Albert [Thu, 22 Jan 2015 01:25:56 +0000 (01:25 +0000)]
Merge "Add ndk_missing_symbols.py."

9 years agoTurn on -Wold-style-cast and fix the errors.
Elliott Hughes [Thu, 22 Jan 2015 00:19:07 +0000 (16:19 -0800)]
Turn on -Wold-style-cast and fix the errors.

A couple of dodgy cases where we cast away const, but otherwise pretty boring.

Change-Id: Ibc39ebd525377792b5911464be842121c20f03b9

9 years agoAdd ndk_missing_symbols.py.
Dan Albert [Thu, 22 Jan 2015 00:42:02 +0000 (16:42 -0800)]
Add ndk_missing_symbols.py.

ndk_missing_symbols.py pulls libc.so and libm.so off a running device
or emulator and shows the list of symbols that are in the current
bionic that aren't available on the target.

Change-Id: Ia92c315a6a0ce2e5c33db0b62c8fab41c08a4c31

9 years agoam a2e5d98b: am 2a8c929a: Merge "Implement __fsetlocking."
Elliott Hughes [Thu, 22 Jan 2015 00:13:10 +0000 (00:13 +0000)]
am a2e5d98b: am 2a8c929a: Merge "Implement __fsetlocking."

* commit 'a2e5d98b641bef4c5611f6aba5defff74abcad93':
  Implement __fsetlocking.

9 years agoam 0930323e: am 8476b8ed: Merge "Contact proper debuggerd when crashing."
Christopher Ferris [Thu, 22 Jan 2015 00:13:09 +0000 (00:13 +0000)]
am 0930323e: am 8476b8ed: Merge "Contact proper debuggerd when crashing."

* commit '0930323e98e88157b567dab3b1c75618229dd281':
  Contact proper debuggerd when crashing.

9 years agoam a6e2e070: am fbc70d38: Merge "Report 404 errors from Gerrit and continue."
Dan Albert [Thu, 22 Jan 2015 00:13:08 +0000 (00:13 +0000)]
am a6e2e070: am fbc70d38: Merge "Report 404 errors from Gerrit and continue."

* commit 'a6e2e070f2add9869e2160e3c0ca4454cac7bb7b':
  Report 404 errors from Gerrit and continue.

9 years agoam 2a8c929a: Merge "Implement __fsetlocking."
Elliott Hughes [Wed, 21 Jan 2015 22:58:17 +0000 (22:58 +0000)]
am 2a8c929a: Merge "Implement __fsetlocking."

* commit '2a8c929aaf8d34d2b6e89ed9c8b6da163316143e':
  Implement __fsetlocking.

9 years agoam 8476b8ed: Merge "Contact proper debuggerd when crashing."
Christopher Ferris [Wed, 21 Jan 2015 22:58:11 +0000 (22:58 +0000)]
am 8476b8ed: Merge "Contact proper debuggerd when crashing."

* commit '8476b8ed9e290d79cd00e7801c505268f0e8ec15':
  Contact proper debuggerd when crashing.

9 years agoam fbc70d38: Merge "Report 404 errors from Gerrit and continue."
Dan Albert [Wed, 21 Jan 2015 22:58:07 +0000 (22:58 +0000)]
am fbc70d38: Merge "Report 404 errors from Gerrit and continue."

* commit 'fbc70d3899a58e6aff7d3e94803fcdc80629de5a':
  Report 404 errors from Gerrit and continue.

9 years agoMerge "Implement __fsetlocking."
Elliott Hughes [Wed, 21 Jan 2015 19:42:40 +0000 (19:42 +0000)]
Merge "Implement __fsetlocking."

9 years agoMerge "Contact proper debuggerd when crashing."
Christopher Ferris [Wed, 21 Jan 2015 18:39:59 +0000 (18:39 +0000)]
Merge "Contact proper debuggerd when crashing."