Elliott Hughes
f108bbbaf7
Merge "Remove obsolete BUILD_TINY_ANDROID."
2015-01-25 05:09:21 +00:00
Elliott Hughes
14152b9f31
Remove obsolete BUILD_TINY_ANDROID.
...
Change-Id: If2fc97134340fd09ec2583b666ace2f673cbdf66
2015-01-24 19:01:58 -08:00
Elliott Hughes
9e4827de12
am 7eed99da
: am 66eeec8e
: Merge "Reduce <stdlib.h> namespace pollution."
...
* commit '7eed99dad95003b8b40e6a1136bd83ac68dc54dc':
Reduce <stdlib.h> namespace pollution.
2015-01-24 23:53:11 +00:00
Elliott Hughes
7eed99dad9
am 66eeec8e
: Merge "Reduce <stdlib.h> namespace pollution."
...
* commit '66eeec8e160feddc2b35c4ff9d20de92f37331dd':
Reduce <stdlib.h> namespace pollution.
2015-01-24 23:47:36 +00:00
Elliott Hughes
66eeec8e16
Merge "Reduce <stdlib.h> namespace pollution."
2015-01-24 23:44:27 +00:00
Elliott Hughes
c5dc02a91e
Reduce <stdlib.h> namespace pollution.
...
<stdlib.h> shouldn't drag in all of <string.h>.
Change-Id: I949172f7ff17e329e411e5054e50f79c13775444
2015-01-24 15:22:57 -08:00
Elliott Hughes
fe1709bdca
am 12144696
: am 62d20fb2
: Merge "Reduce <signal.h> namespace pollution."
...
* commit '12144696ac9b53462fbfb0fb4f1a181e10df7437':
Reduce <signal.h> namespace pollution.
2015-01-24 22:47:01 +00:00
Elliott Hughes
12144696ac
am 62d20fb2
: Merge "Reduce <signal.h> namespace pollution."
...
* commit '62d20fb21948d7a31d453ec08ed5abc02d3dd1d3':
Reduce <signal.h> namespace pollution.
2015-01-24 22:41:01 +00:00
Elliott Hughes
62d20fb219
Merge "Reduce <signal.h> namespace pollution."
2015-01-24 22:34:51 +00:00
Elliott Hughes
6466292a7e
Reduce <signal.h> namespace pollution.
...
<signal.h> shouldn't drag in all of <string.h>.
Change-Id: I57aea36dad5e89ea2f9541c35594ca6225e532be
2015-01-24 14:18:16 -08:00
Elliott Hughes
cf936c1e43
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".
2015-01-24 22:18:09 +00:00
Elliott Hughes
61a8073565
am 6e15edcc
: Merge "Say "Bad file descriptor" rather than "Bad file number"."
...
* commit '6e15edcca5f5b35221b33e9994c236f148cb3c38':
Say "Bad file descriptor" rather than "Bad file number".
2015-01-24 22:12:06 +00:00
Elliott Hughes
6e15edcca5
Merge "Say "Bad file descriptor" rather than "Bad file number"."
2015-01-24 22:08:20 +00:00
Elliott Hughes
d309877eee
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
2015-01-24 13:38:57 -08:00
Elliott Hughes
e5cfda5b5d
am 94a4a173
: am 59936a3b
: Merge "Fix optimized fread."
...
* commit '94a4a173d24ce8feac5c49fb5ad209a836d41439':
Fix optimized fread.
2015-01-24 21:38:15 +00:00
Elliott Hughes
94a4a173d2
am 59936a3b
: Merge "Fix optimized fread."
...
* commit '59936a3b51474fc3216659f089ff6543ac31ab4e':
Fix optimized fread.
2015-01-24 21:31:09 +00:00
Elliott Hughes
59936a3b51
Merge "Fix optimized fread."
2015-01-24 21:25:06 +00:00
Elliott Hughes
e6bb5a2776
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
2015-01-24 12:35:41 -08:00
Dmitriy Ivanov
ebbf3b0ec2
am 37043dff
: am 31005ca4
: Merge "Minimize calls to mprotect"
...
* commit '37043dff1d2d7ea475cea1ef5728fbf88f6fb321':
Minimize calls to mprotect
2015-01-24 00:59:54 +00:00
Dmitriy Ivanov
37043dff1d
am 31005ca4
: Merge "Minimize calls to mprotect"
...
* commit '31005ca4c8562f3e6dfbed079eeaff8361ff8cdc':
Minimize calls to mprotect
2015-01-24 00:51:09 +00:00
Dmitriy Ivanov
31005ca4c8
Merge "Minimize calls to mprotect"
2015-01-24 00:45:25 +00:00
Dmitriy Ivanov
279a22f96e
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
2015-01-23 16:30:34 -08:00
Dan Albert
1042afe618
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.
2015-01-24 00:13:54 +00:00
Dan Albert
e6ad16304d
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.
2015-01-24 00:07:20 +00:00
Chih-Hung Hsieh
54ab69d33f
am 75bce066
: am f5ae7e91
: Merge "Add comments about the -shared flag."
...
* commit '75bce0660ad558577dd5a2913f8fbcd39da1cbb6':
Add comments about the -shared flag.
2015-01-24 00:04:17 +00:00
Dan Albert
305be18d10
Merge "Allow make to set a timeout for the host tests."
2015-01-24 00:01:40 +00:00
Chih-Hung Hsieh
75bce0660a
am f5ae7e91
: Merge "Add comments about the -shared flag."
...
* commit 'f5ae7e91ea2c3364d6423ef4d54f5f295197335f':
Add comments about the -shared flag.
2015-01-23 23:41:01 +00:00
Chih-Hung Hsieh
f5ae7e91ea
Merge "Add comments about the -shared flag."
2015-01-23 23:33:54 +00:00
Dan Albert
4ce907d2ce
Allow make to set a timeout for the host tests.
...
Change-Id: Icc2ebf64bd1da1687bf313fe7a5640155c5795d8
2015-01-23 11:35:48 -08:00
Elliott Hughes
590641b0ad
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.
2015-01-23 19:14:16 +00:00
Elliott Hughes
cf744fc89a
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.
2015-01-23 18:59:45 +00:00
Elliott Hughes
7f3d65de8c
Merge "Add a log message to make the transition from linker to user code clear."
2015-01-23 18:55:30 +00:00
Elliott Hughes
611f95689e
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
2015-01-23 10:43:58 -08:00
Dmitriy Ivanov
4d2dcb896a
am 8e2b0e55
: am bb3b1303
: Merge "Enable -Wold-style-cast warnings for linker"
...
* commit '8e2b0e550a8e64da23c95fe265dbea7c6701e7c1':
Enable -Wold-style-cast warnings for linker
2015-01-23 03:28:02 +00:00
Dmitriy Ivanov
8e2b0e550a
am bb3b1303
: Merge "Enable -Wold-style-cast warnings for linker"
...
* commit 'bb3b1303e1167a662218c9686977b379964e0072':
Enable -Wold-style-cast warnings for linker
2015-01-23 03:14:35 +00:00
Dmitriy Ivanov
bb3b1303e1
Merge "Enable -Wold-style-cast warnings for linker"
2015-01-23 03:09:22 +00:00
Chih-Hung Hsieh
306ea7ebe5
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
2015-01-22 19:09:20 -08:00
Dan Albert
2e7715b29f
am f908b21a
: am ab58559a
: Merge "Add a basic NDK compatibility library."
...
* commit 'f908b21a5cdb68184907ac6cb1475dfe771c28cf':
Add a basic NDK compatibility library.
2015-01-23 00:54:53 +00:00
Dan Albert
f908b21a5c
am ab58559a
: Merge "Add a basic NDK compatibility library."
...
* commit 'ab58559a9cc40766c0636c6e97a93dfd5e74d923':
Add a basic NDK compatibility library.
2015-01-23 00:51:39 +00:00
Elliott Hughes
682d5d8b82
am 9c8a5265
: am b161fe27
: Merge "There\'s no such thing as LOCAL_CXXFLAGS."
...
* commit '9c8a5265c9a2262735214a1310b5fc0246873bc9':
There's no such thing as LOCAL_CXXFLAGS.
2015-01-23 00:50:32 +00:00
Elliott Hughes
4adced31e8
am 25437c59
: am ae095a73
: Merge "Fix the stdio.fread_EOF test."
...
* commit '25437c598473a22a697b8cae009a897df80f38e6':
Fix the stdio.fread_EOF test.
2015-01-23 00:50:31 +00:00
Dan Albert
ab58559a9c
Merge "Add a basic NDK compatibility library."
2015-01-23 00:46:54 +00:00
Elliott Hughes
0f7f31f819
am a0313e04
: am d5d9221b
: Merge "Fix fread_EOF test name."
...
* commit 'a0313e04b368c3af4152c573780549477b0ec5f8':
Fix fread_EOF test name.
2015-01-23 00:46:45 +00:00
Dmitriy Ivanov
1649e7ee5b
Enable -Wold-style-cast warnings for linker
...
And fix old style casts.
Change-Id: I37e7a3e3fd852528ea76f02d967c7bd8cd5b06c9
2015-01-22 16:33:30 -08:00
Elliott Hughes
9c8a5265c9
am b161fe27
: Merge "There\'s no such thing as LOCAL_CXXFLAGS."
...
* commit 'b161fe27433b899b896b5685571373df4a1f8a21':
There's no such thing as LOCAL_CXXFLAGS.
2015-01-22 23:41:35 +00:00
Elliott Hughes
25437c5984
am ae095a73
: Merge "Fix the stdio.fread_EOF test."
...
* commit 'ae095a730d6b3af69dc5eff662c5609cde6f5d70':
Fix the stdio.fread_EOF test.
2015-01-22 23:41:34 +00:00
Elliott Hughes
b161fe2743
Merge "There's no such thing as LOCAL_CXXFLAGS."
2015-01-22 23:40:08 +00:00
Elliott Hughes
62284dd2cc
There's no such thing as LOCAL_CXXFLAGS.
...
Change-Id: Iad70e6bd4cb7cec9e0ece500a540e4dadc83d92e
2015-01-22 15:36:24 -08:00
Elliott Hughes
ae095a730d
Merge "Fix the stdio.fread_EOF test."
2015-01-22 23:35:48 +00:00
Elliott Hughes
0ed7e08cda
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
2015-01-22 15:28:48 -08:00