OSDN Git Service
Dmitriy Ivanov [Mon, 8 Sep 2014 23:22:22 +0000 (16:22 -0700)]
Refactoring: C++11 style DISABLE_ bionic marcos
Enable the -std=gnu++11 flag for libstdc++ static and
dynamic libs.
ScopeGuard uses DISABLE_ macros instead of '= delete';
(cherry picked from commit
d9ff7226613014056c9edd79a68dc5af939107a0)
Change-Id: If2573d080770e18b36b56106f2369f7bb682cd3c
Dmitriy Ivanov [Thu, 4 Sep 2014 19:47:07 +0000 (12:47 -0700)]
Reset enviroment for math_tests
Bug:
17390824
(cherry picked from commit
7b956ede3f0f40bd8a085a8ad3729bb3e0e030f2)
Change-Id: I5d804ceb5e69533584161bfed6787529cd8296fb
Dmitriy Ivanov [Fri, 5 Sep 2014 23:42:53 +0000 (16:42 -0700)]
Load libraries in breadth-first order
This patch fixes the problem with symbol search order
for dlsym(RTLD_DEFAULT/RTLD_NEXT, .) by loading libraries
and ld_preloads in correct order.
Bug: https://code.google.com/p/android/issues/detail?id=74255
Attempt: 2
(cherry picked from commit
14669a939d113214a4a20b9318fca0992d5453f0)
Change-Id: Id87540c96a2242220967b6fa5d84ddcd829e2b97
Dmitriy Ivanov [Fri, 5 Sep 2014 21:57:59 +0000 (14:57 -0700)]
Revert "Load libraries in breadth-first order"
This reverts commit
a3ad450a2e3fb6b3fe359683b247eba20896f646.
(cherry picked from commit
498eb18b82a425f9f30132e4832f327b2ee0e545)
Change-Id: Iec7eab83d0c0ed1604e1e8ea3f9e9d0ce1d29680
Dmitriy Ivanov [Fri, 5 Sep 2014 01:23:00 +0000 (18:23 -0700)]
Fix order of soinfo links (repairs libcxx tests).
(cherry picked from commit
b2a30ee8d209154efc367db11b4167a5d6db605f)
Change-Id: I59c5333bc050cbbea14051cea9220be2f64ee383
Dmitriy Ivanov [Tue, 29 Jul 2014 21:21:45 +0000 (14:21 -0700)]
Load libraries in breadth-first order
This patch fixes the problem with symbol search order
for dlsym(RTLD_DEFAULT/RTLD_NEXT, .) by loading libraries
and ld_preloads in correct order.
Bug: https://code.google.com/p/android/issues/detail?id=74255
(cherry picked from commit
a3ad450a2e3fb6b3fe359683b247eba20896f646)
Change-Id: I1125de10272c84e4f075cbc72859c1f6b3e89943
Chih-Hung Hsieh [Thu, 4 Sep 2014 22:19:52 +0000 (15:19 -0700)]
Enable clang compilation with libc but not linker.
Clang is still disabled for x86 and x86_64 long double code,
for x86_64 special assembly instruction, and the linker module.
BUG:
17163651
BUG:
17302991
BUG:
17403674
(cherry picked from commit
b58db8b083ce41798a5310616e4f20885cec611f)
Change-Id: I916c05056d37a9c287b0a5ae3b1a209d98c8f70e
Dmitriy Ivanov [Tue, 2 Sep 2014 18:47:23 +0000 (11:47 -0700)]
Encapsulate soinfo_link_image and soinfo_relocate
Also get rid of needed[] array for these functions
(cherry picked from commit
29bbc9dd4c606de9187e46d8899a2a744715c967)
Change-Id: Id208621f66afa2e02a6b3facacee7d874466d81b
Dmitriy Ivanov [Tue, 2 Sep 2014 16:45:40 +0000 (09:45 -0700)]
Implement LinkedList::visit()
(cherry picked from commit
a4926058496c1c24c00ac07e42d45048dac7c487)
Change-Id: I59554be45c910bfe33494016595a5ade9daad230
Dmitriy Ivanov [Mon, 1 Sep 2014 23:15:52 +0000 (16:15 -0700)]
Introduce size-based r/w allocators
(cherry picked from commit
0cd83ebb0e9784827d9ec0a8028a710e73a28b2b)
Change-Id: Ib037bd5313c9a78b6051482f14e789aa820b4dd1
Dmitriy Ivanov [Fri, 29 Aug 2014 21:01:48 +0000 (14:01 -0700)]
Erase elements in LinkedList::remove_if
(cherry picked from commit
4bea498544bb1377f610520d7f58856382a6e5fc)
Change-Id: I1ffe248bc2b7572f38fbd987e9c6db5ecbd4559d
Dmitriy Ivanov [Fri, 29 Aug 2014 19:02:36 +0000 (12:02 -0700)]
Replace NULL with nullptr
(cherry picked from commit
851135bf9941b3813adb9b4f43d76e040c4ba157)
Change-Id: Ic4997907680db7472ef38ffb0f0ca66fff37b797
Dmitriy Ivanov [Tue, 26 Aug 2014 22:56:31 +0000 (15:56 -0700)]
Remove unnecessary calls to LinkedList::clear()
(cherry picked from commit
608217e1674d8fd8b334fe18c753b6c4638ed783)
Change-Id: I031359d79b2e77977ace197ef410e41539dc0ce6
Dmitriy Ivanov [Tue, 26 Aug 2014 21:16:52 +0000 (14:16 -0700)]
Enable __cxa_atexit && __cxa_finalize for linker
This allows adding destructors to classes used
for global variables.
(cherry picked from commit
14241402de0faa4b244b1bd6b1f0799ce169b880)
Change-Id: I1d8776130d1e01a8c53d23a2949f5010f4c96b16
Dmitriy Ivanov [Fri, 22 Aug 2014 19:25:04 +0000 (12:25 -0700)]
Bump soinfo version
This includes:
1. Placing has_ifunc after fields with version = 0
2. Switch to has_min_version(v) function.
3. Minor soinfo initialization refactoring (placement new + ctor)
(cherry picked from commit
0d15094287fe0f288d9c258953143fc1998b6b5a)
Change-Id: Idf135fdd3d4826b5653f32add2adc6db5d4a4f95
Dmitriy Ivanov [Thu, 21 Aug 2014 20:54:03 +0000 (13:54 -0700)]
Run constructors before resolving ifunc functions
Bug:
17177284
(cherry picked from commit
9598b8c415e2fa9f240508185fe8c964b83f538d)
Change-Id: I2c9631ee1cd77f8cf95ec0216a35b605c8786454
Brigid Smith [Wed, 23 Jul 2014 18:22:25 +0000 (11:22 -0700)]
Added test for ifunc support in dynamic linker.
ifuncs now work in i386 and x86_64 when called in the same library as
well as in a different library.
Bug:
6657325
(cherry picked from commit
c5a13efa9bc4264be0a9a9e37c00633af01584ed)
Change-Id: I321d780bc2f9bd1baa749e1acacd2683aefe827b
Hans Boehm [Wed, 1 Oct 2014 19:23:03 +0000 (19:23 +0000)]
am
2d111d9e: Merge "Make memory_order_acquire visible in global namespace"
* commit '
2d111d9eb10b6c48e2e47251be66b418a6109dd9':
Make memory_order_acquire visible in global namespace
Hans Boehm [Wed, 1 Oct 2014 19:16:49 +0000 (19:16 +0000)]
Merge "Make memory_order_acquire visible in global namespace"
Christopher Ferris [Wed, 1 Oct 2014 18:24:26 +0000 (18:24 +0000)]
am
b19bd93f: Merge "Add stpcpy assembler version."
* commit '
b19bd93f8b83307f2f7530545f7c78824914f4eb':
Add stpcpy assembler version.
Christopher Ferris [Wed, 1 Oct 2014 18:16:14 +0000 (18:16 +0000)]
Merge "Add stpcpy assembler version."
Dmitriy Ivanov [Mon, 19 May 2014 22:06:58 +0000 (15:06 -0700)]
Add RTLD_NODELETE flag support
Bug: https://code.google.com/p/android/issues/detail?id=64069
Change-Id: Ie5f90482feae86391172be4b32d6cb7d76f446fb
Elliott Hughes [Wed, 1 Oct 2014 18:02:51 +0000 (18:02 +0000)]
Merge "Update bionic to tzdata 2014h." into lmp-mr1-dev
Elliott Hughes [Wed, 1 Oct 2014 17:38:45 +0000 (17:38 +0000)]
am
cadccfd7: Merge "Update bionic to tzdata 2014h."
* commit '
cadccfd70821aeb107b8fc0084da04faecbfde2f':
Update bionic to tzdata 2014h.
Elliott Hughes [Wed, 1 Oct 2014 17:38:44 +0000 (17:38 +0000)]
am
89fd3236: Merge "Fix update-tzdata.py to rebuild icu4c .dat file."
* commit '
89fd32362bb62775aad001802bc79e3f07d7d62f':
Fix update-tzdata.py to rebuild icu4c .dat file.
Elliott Hughes [Wed, 1 Oct 2014 00:35:38 +0000 (17:35 -0700)]
Update bionic to tzdata 2014h.
From the release notes:
Changes affecting past time stamps
America/Jamaica's 1974 spring-forward transition was Jan. 6, not Apr. 28.
Shanks says Asia/Novokuznetsk switched from LMT (not "NMT") on 1924-05-01,
not 1920-01-06. The old entry was based on a misinterpretation of Shanks.
Some more zones have been turned into links, when they differed
from existing zones only for older time stamps. As usual,
these changes affect UTC offsets in pre-1970 time stamps only.
Their old contents have been moved to the 'backzone' file.
The affected zones are: Africa/Blantyre, Africa/Bujumbura,
Africa/Gaborone, Africa/Harare, Africa/Kigali, Africa/Lubumbashi,
Africa/Lusaka, Africa/Maseru, and Africa/Mbabane.
Bug:
17731498
(cherry picked from commit
0c8fb51e6b8cfcd00d453cb5ebfa516f02009854)
Change-Id: Icf8a9cbd309951b4ffc20c74eb1e78c1e39c222f
Elliott Hughes [Wed, 1 Oct 2014 17:20:33 +0000 (17:20 +0000)]
Merge "Update bionic to tzdata 2014h."
Elliott Hughes [Wed, 1 Oct 2014 00:30:01 +0000 (17:30 -0700)]
Fix update-tzdata.py to rebuild icu4c .dat file.
Bug:
17731498
(cherry picked from commit
f8896c6c93fd698b129742780878123a3a19ae07)
Change-Id: If97e1ccf593a2ed6c2356077e660d6fd88a05875
Elliott Hughes [Wed, 1 Oct 2014 17:00:23 +0000 (17:00 +0000)]
Merge "Fix update-tzdata.py to rebuild icu4c .dat file."
Christopher Ferris [Tue, 30 Sep 2014 18:53:13 +0000 (11:53 -0700)]
Add stpcpy assembler version.
For generic, continue to use the C version of the code.
Bug:
13746695
Change-Id: I77426a70b06131f2373bb51265bea1240bb3f101
Dan Albert [Wed, 1 Oct 2014 01:38:13 +0000 (01:38 +0000)]
am
81156d93: Merge "Add coverage flag for libm."
* commit '
81156d93c557e88379dd3e9d869dcc97a15293f5':
Add coverage flag for libm.
Hans Boehm [Wed, 1 Oct 2014 01:31:04 +0000 (18:31 -0700)]
Make memory_order_acquire visible in global namespace
We were missing that using directive when including <atomic>.
Bug:
17736764
Change-Id: Ie8ca92a952749415567bcd5fa21d56629a364660
Dan Albert [Wed, 1 Oct 2014 01:28:24 +0000 (01:28 +0000)]
Merge "Add coverage flag for libm."
Elliott Hughes [Wed, 1 Oct 2014 00:35:38 +0000 (17:35 -0700)]
Update bionic to tzdata 2014h.
From the release notes:
Changes affecting past time stamps
America/Jamaica's 1974 spring-forward transition was Jan. 6, not Apr. 28.
Shanks says Asia/Novokuznetsk switched from LMT (not "NMT") on 1924-05-01,
not 1920-01-06. The old entry was based on a misinterpretation of Shanks.
Some more zones have been turned into links, when they differed
from existing zones only for older time stamps. As usual,
these changes affect UTC offsets in pre-1970 time stamps only.
Their old contents have been moved to the 'backzone' file.
The affected zones are: Africa/Blantyre, Africa/Bujumbura,
Africa/Gaborone, Africa/Harare, Africa/Kigali, Africa/Lubumbashi,
Africa/Lusaka, Africa/Maseru, and Africa/Mbabane.
Bug:
17731498
Change-Id: If65b740d4e3a67075cca770655a1df17952c3da0
Elliott Hughes [Wed, 1 Oct 2014 00:30:01 +0000 (17:30 -0700)]
Fix update-tzdata.py to rebuild icu4c .dat file.
Bug:
17731498
Change-Id: I4c810507c0ca9883dde1bece14530db80485b8f6
Elliott Hughes [Wed, 1 Oct 2014 00:05:10 +0000 (00:05 +0000)]
am
252c1ac9: Merge "Update our FreeBSD realpath(3) to upstream head."
* commit '
252c1ac9738ff6187354f243ef118eac962b65dc':
Update our FreeBSD realpath(3) to upstream head.
Dan Albert [Tue, 30 Sep 2014 23:56:43 +0000 (16:56 -0700)]
Add coverage flag for libm.
Change-Id: I195d38c5e1f50d1cc6d4353dc8857f11b803b7a3
Elliott Hughes [Tue, 30 Sep 2014 23:55:57 +0000 (23:55 +0000)]
Merge "Update our FreeBSD realpath(3) to upstream head."
Dmitriy Ivanov [Tue, 30 Sep 2014 23:51:07 +0000 (23:51 +0000)]
am
701cf941: Merge "Fix mips build"
* commit '
701cf9419b4df92bd959bbc6f18150f6ae76df7c':
Fix mips build
Dan Albert [Tue, 30 Sep 2014 23:51:07 +0000 (23:51 +0000)]
am
e04aa450: Merge "Clean up the pthread key tests."
* commit '
e04aa450c2b51ea066d1a1c37978cce808d13872':
Clean up the pthread key tests.
Dmitriy Ivanov [Tue, 30 Sep 2014 23:42:24 +0000 (23:42 +0000)]
Merge "Fix mips build"
Dan Albert [Tue, 30 Sep 2014 23:41:06 +0000 (23:41 +0000)]
Merge "Clean up the pthread key tests."
Elliott Hughes [Tue, 30 Sep 2014 23:15:42 +0000 (16:15 -0700)]
Update our FreeBSD realpath(3) to upstream head.
Change-Id: I8c89728184ecd2c1a28a05cefa84a5037d28b552
Dmitriy Ivanov [Tue, 30 Sep 2014 23:30:22 +0000 (16:30 -0700)]
Fix mips build
Change-Id: I4454e69a982f239b168678c5a681d1078b4bd4f1
Dan Albert [Tue, 30 Sep 2014 18:48:24 +0000 (11:48 -0700)]
Clean up the pthread key tests.
The previous pthread_key_create_many test was really
pthread_key_create_all, which has proven very difficult to test
correctly (because it is affected by any other parts of the system using
pthread keys, and that can vary with test ordering). It also tested
expected values of PTHREAD_KEYS_MAX and the associated sysconf() value,
rather than those being in their own test.
Instead, split this test into a few distinct tests:
* pthread.pthread_keys_max
* pthread._SC_THREAD_KEYS_MAX_big_enough_for_POSIX
* pthread.pthread_key_many_distinct
* We actually didn't have a test to ensure that the keys we were
creating were distinct.
* pthread.pthread_key_EAGAIN
* Make sure pthread_key_create() will _eventually_ fail with
EAGAIN, not at a (sometimes incorrectly) predetermined maximum.
Change-Id: Iff1e4fdcc02404094bde0418122c64c227cf1702
Dmitriy Ivanov [Tue, 30 Sep 2014 22:26:16 +0000 (22:26 +0000)]
am
1f7d5ac5: Merge "Fix unused DT entry warnings."
* commit '
1f7d5ac53854a09bbcace08b3a1d1b9cf3f2eed3':
Fix unused DT entry warnings.
Dmitriy Ivanov [Tue, 30 Sep 2014 22:14:32 +0000 (22:14 +0000)]
Merge "Fix unused DT entry warnings."
Dmitriy Ivanov [Tue, 30 Sep 2014 02:14:45 +0000 (19:14 -0700)]
Fix unused DT entry warnings.
DT_STRSZ Implement strtab boundary checks
DT_FLAGS_1 Warn if flags other than DF_1_NOW|DF_1_GLOBAL are set
Bug:
17552334
Change-Id: Iaad29cd52f5b2d7d2f785fb351697906dc1617d9
Dan Albert [Tue, 30 Sep 2014 17:39:04 +0000 (17:39 +0000)]
am
0481471b: Merge "Switch benchmarks and tests to libc++."
* commit '
0481471b1bb95a90f632a9fb59c7a1767b9836c8':
Switch benchmarks and tests to libc++.
Dan Albert [Tue, 30 Sep 2014 17:39:04 +0000 (17:39 +0000)]
am
e49491ad: Merge "Ignore multiple symbol definition errors."
* commit '
e49491ada4c8e7827329b56a93e5377433aa9084':
Ignore multiple symbol definition errors.
Dan Albert [Tue, 30 Sep 2014 17:30:57 +0000 (17:30 +0000)]
Merge "Switch benchmarks and tests to libc++."
Dan Albert [Tue, 30 Sep 2014 17:30:52 +0000 (17:30 +0000)]
Merge "Ignore multiple symbol definition errors."
Dan Albert [Fri, 26 Sep 2014 22:37:52 +0000 (15:37 -0700)]
Switch benchmarks and tests to libc++.
Change-Id: I3b9c8f8c14a1e227e67ae1977cc29b0e8fccef5d
Dan Albert [Mon, 29 Sep 2014 22:16:46 +0000 (15:16 -0700)]
Ignore multiple symbol definition errors.
libc and libc++ both define std::nothrow. libc's is a private symbol,
but this still causes issues when linking libc.a and libc++.a, since
private isn't effective until it has been linked. To fix this, just
allow multiple symbol definitions for the static tests.
Change-Id: Idbf19fefda47298c39360e3f5b6242b0b1a52fcc
Dmitriy Ivanov [Tue, 30 Sep 2014 16:50:04 +0000 (16:50 +0000)]
am
9997daa0: Merge "Return has_DT_SYMBOLIC flag."
* commit '
9997daa0ff8f630bee5d3b8eb0ab15a0ba1e5cf6':
Return has_DT_SYMBOLIC flag.
Dmitriy Ivanov [Tue, 30 Sep 2014 16:40:25 +0000 (16:40 +0000)]
Merge "Return has_DT_SYMBOLIC flag."
Andrew Hsieh [Tue, 30 Sep 2014 06:03:31 +0000 (06:03 +0000)]
am
b104be32: Merge "Remove arch-mips64/bionic/__get_sp.S"
* commit '
b104be321f2538a6e0bbd566bc958537d1f65cef':
Remove arch-mips64/bionic/__get_sp.S
Christopher Ferris [Tue, 30 Sep 2014 06:03:31 +0000 (06:03 +0000)]
am
85a932c0: Merge "Cleanup arm assembly."
* commit '
85a932c0c9225e0f71d94a0d8cbac85089a398cf':
Cleanup arm assembly.
Andrew Hsieh [Tue, 30 Sep 2014 00:01:01 +0000 (00:01 +0000)]
Merge "Remove arch-mips64/bionic/__get_sp.S"
Andrew Hsieh [Mon, 29 Sep 2014 23:54:38 +0000 (07:54 +0800)]
Remove arch-mips64/bionic/__get_sp.S
__get_sp.S doesn't exist
Change-Id: Id84f8904c8022c683263a317a18fabeb50fed992
Christopher Ferris [Mon, 29 Sep 2014 23:12:39 +0000 (23:12 +0000)]
Merge "Cleanup arm assembly."
Christopher Ferris [Mon, 29 Sep 2014 22:34:20 +0000 (15:34 -0700)]
Cleanup arm assembly.
Remove the old arm directives.
Change the non-local labels to .L labels.
Add cfi directives to strcpy.S.
Change-Id: I9bafee1ffe5d85c92d07cfa8a85338cef9759562
Dan Albert [Mon, 29 Sep 2014 20:55:26 +0000 (20:55 +0000)]
am
73e6c9b3: Merge "Static libc++ is being renamed libc++_static."
* commit '
73e6c9b39353807aae80170355ec0b67b7a4ce16':
Static libc++ is being renamed libc++_static.
Dmitriy Ivanov [Mon, 29 Sep 2014 19:10:36 +0000 (12:10 -0700)]
Return has_DT_SYMBOLIC flag.
This reverts commit
8f61d991831f0ea515fa50a5c38dbbcfbab0dd28
Despite the fact that static linker does all the work while linking
-Bsymbolic executables, according to the SCO doc following DT_SYMBOLIC
and DF_SYMBOLIC flags is still a requirement for the dynamic linker
as well.
(see http://www.sco.com/developers/gabi/2012-12-31/ch5.dynamic.html)
Change-Id: I23f6a5e9b662e40cdbc462b64feff912431e800c
Dan Albert [Mon, 29 Sep 2014 16:08:35 +0000 (16:08 +0000)]
Merge "Static libc++ is being renamed libc++_static."
Dan Albert [Sat, 27 Sep 2014 16:22:07 +0000 (09:22 -0700)]
Static libc++ is being renamed libc++_static.
Change-Id: I1596110e4ed7e8f9ab9e2605dfcd9fd0489ca0d1
Dan Albert [Sat, 27 Sep 2014 00:30:06 +0000 (00:30 +0000)]
am
7ca5c4b9: Merge "Make __aeabi_*() symbols weak."
* commit '
7ca5c4b99b308550e34e185ed632b8a5ad5341ee':
Make __aeabi_*() symbols weak.
Dan Albert [Sat, 27 Sep 2014 00:30:05 +0000 (00:30 +0000)]
am
98ab0c52: Merge "Add a dummy libdl.a."
* commit '
98ab0c52f5672540c442611d838011be9252079b':
Add a dummy libdl.a.
Dan Albert [Sat, 27 Sep 2014 00:19:14 +0000 (00:19 +0000)]
Merge "Make __aeabi_*() symbols weak."
Dan Albert [Sat, 27 Sep 2014 00:19:05 +0000 (00:19 +0000)]
Merge "Add a dummy libdl.a."
Elliott Hughes [Fri, 26 Sep 2014 23:09:52 +0000 (23:09 +0000)]
am
d644fecc: Merge "Fix gdb could not get shared library list issue"
* commit '
d644fecc8e5eec0107ca4e2011cee0e5c0a10bdd':
Fix gdb could not get shared library list issue
Elliott Hughes [Fri, 26 Sep 2014 23:00:59 +0000 (23:00 +0000)]
Merge "Fix gdb could not get shared library list issue"
Ningsheng Jian [Tue, 16 Sep 2014 07:22:10 +0000 (15:22 +0800)]
Fix gdb could not get shared library list issue
Get dynamic flags from phdr table's correct entry rather the first
entry, so that the following DT_DEBUG entry can be set.
Also fix the undefined reference to LoadTask::deleter issue under gcc
-O0 option.
Bug:
17524778
Change-Id: I9c679af197b034761fb739d6c980e628ff2ab84c
Dan Albert [Fri, 26 Sep 2014 22:36:14 +0000 (15:36 -0700)]
Make __aeabi_*() symbols weak.
This is needed to avoid multiple symbol definitions when linking with
libstdc++ or with compiler-rt.
Change-Id: I2f713bcff113222f0d2538e49691e715d8a8475d
Dan Albert [Fri, 26 Sep 2014 22:23:07 +0000 (15:23 -0700)]
Add a dummy libdl.a.
Change-Id: I4b30b8875f14352bae2948ab8cf544ae818795ab
Christopher Ferris [Fri, 26 Sep 2014 21:04:56 +0000 (21:04 +0000)]
am
aa66e882: Merge "Add __memcpy_chk assembly for 64 bit."
* commit '
aa66e8828048d8d6fd7e4bb9c5e341ed89614266':
Add __memcpy_chk assembly for 64 bit.
Christopher Ferris [Fri, 26 Sep 2014 20:39:21 +0000 (20:39 +0000)]
Merge "Add __memcpy_chk assembly for 64 bit."
Christopher Ferris [Thu, 25 Sep 2014 00:05:20 +0000 (17:05 -0700)]
Add __memcpy_chk assembly for 64 bit.
Bug:
17623887
Change-Id: I443723bc941b40f84884b330d222baabee01f868
Elliott Hughes [Fri, 26 Sep 2014 00:22:27 +0000 (00:22 +0000)]
am
aaad5485: Merge "Re-expose more stdio implementation details for LP32." into lmp-dev
* commit '
aaad548535c34e2bba16b2a0b71173e0ae4b16c0':
Re-expose more stdio implementation details for LP32.
Christopher Ferris [Fri, 26 Sep 2014 00:22:26 +0000 (00:22 +0000)]
am
6c69afdb: Fix sys_stat.mkfifo when not run as root.
* commit '
6c69afdb6ddd56e011b59e3060f12a5bdffb5f5c':
Fix sys_stat.mkfifo when not run as root.
Dan Albert [Thu, 25 Sep 2014 23:14:43 +0000 (23:14 +0000)]
am
852d4fbb: Merge "Prevent benchmarks from being optimized away."
* commit '
852d4fbbe9ddee0261c6b3dcadcd75185157ed46':
Prevent benchmarks from being optimized away.
Dan Albert [Thu, 25 Sep 2014 22:52:53 +0000 (22:52 +0000)]
Merge "Prevent benchmarks from being optimized away."
Dan Albert [Thu, 25 Sep 2014 22:43:48 +0000 (15:43 -0700)]
Prevent benchmarks from being optimized away.
Change-Id: I2d27b39ecdfc50e78098314567c295a2f113f8d3
Elliott Hughes [Thu, 25 Sep 2014 03:31:24 +0000 (03:31 +0000)]
am
17e7d320: Merge "Re-expose more stdio implementation details for LP32."
* commit '
17e7d3208c68ff69819179d8a63ca234be2d1ab9':
Re-expose more stdio implementation details for LP32.
Elliott Hughes [Thu, 25 Sep 2014 03:08:23 +0000 (03:08 +0000)]
Merge "Re-expose more stdio implementation details for LP32."
Elliott Hughes [Thu, 25 Sep 2014 00:20:53 +0000 (17:20 -0700)]
Re-expose more stdio implementation details for LP32.
Keeps a variety of apps running.
(cherry-pick of
5def2f5aecd968e4022b0afbe4441fa7ba3e7c7e.)
Bug:
17047819
Change-Id: I55882ec95f2b59a5df76e5a89c23aa315609e01d
Elliott Hughes [Thu, 25 Sep 2014 03:06:29 +0000 (03:06 +0000)]
Merge "Re-expose more stdio implementation details for LP32." into lmp-dev
Elliott Hughes [Thu, 25 Sep 2014 00:20:53 +0000 (17:20 -0700)]
Re-expose more stdio implementation details for LP32.
Keeps a variety of apps running.
Bug:
17047819
Change-Id: I55882ec95f2b59a5df76e5a89c23aa315609e01d
Christopher Ferris [Thu, 25 Sep 2014 00:17:18 +0000 (00:17 +0000)]
am
a864e72b: Merge "Fix sys_stat.mkfifo when not run as root."
* commit '
a864e72b566234fdc41344725aa9b4f47c5baba3':
Fix sys_stat.mkfifo when not run as root.
Christopher Ferris [Wed, 24 Sep 2014 23:56:06 +0000 (23:56 +0000)]
Merge "Fix sys_stat.mkfifo when not run as root."
Christopher Ferris [Wed, 24 Sep 2014 23:01:18 +0000 (16:01 -0700)]
Fix sys_stat.mkfifo when not run as root.
It's not allowed for a shell user to create a fifo in /data/local/tmp.
Make the test do nothing if not run as root.
Bug:
17646702
(cherry picked from commit
6c69afdb6ddd56e011b59e3060f12a5bdffb5f5c)
Change-Id: Ia3a862ed4586413b7bb393557ab57e0a7141d888
Christopher Ferris [Wed, 24 Sep 2014 23:01:18 +0000 (16:01 -0700)]
Fix sys_stat.mkfifo when not run as root.
It's not allowed for a shell user to create a fifo in /data/local/tmp.
Make the test do nothing if not run as root.
Bug:
17646702
Change-Id: I932262fa233eae8b5dd607a2398a47c50a208701
Elliott Hughes [Wed, 24 Sep 2014 20:45:22 +0000 (20:45 +0000)]
am
567d3fcb: Merge "Switch to OpenBSD fopen/fclose."
* commit '
567d3fcb7ece287a84912183e91eff851fa48fc2':
Switch to OpenBSD fopen/fclose.
Elliott Hughes [Wed, 24 Sep 2014 20:45:22 +0000 (20:45 +0000)]
am
4fcfd3a4: Merge "Sync with current upstream getopt_long.c."
* commit '
4fcfd3a474ae5a9e5095ca92a10a8aaa0a3dae5a':
Sync with current upstream getopt_long.c.
Elliott Hughes [Wed, 24 Sep 2014 20:24:47 +0000 (20:24 +0000)]
Merge "Switch to OpenBSD fopen/fclose."
Elliott Hughes [Wed, 24 Sep 2014 20:24:19 +0000 (20:24 +0000)]
Merge "Sync with current upstream getopt_long.c."
Elliott Hughes [Wed, 24 Sep 2014 19:39:34 +0000 (12:39 -0700)]
Sync with current upstream getopt_long.c.
Change-Id: I269195aa581a688fd3eb99552d506b8f5f6a8395
Elliott Hughes [Wed, 24 Sep 2014 18:14:36 +0000 (11:14 -0700)]
Switch to OpenBSD fopen/fclose.
This means all our stdio implementation is now the OpenBSD implementation.
The only thing we lose is the STDIO_THREAD_LOCK calls but they were no-ops
anyway.
We should probably talk to upstream about this. Either fix the locking or,
preferably, encourage them to move away from this pooling (especially since
there's no eviction policy).
Bug:
17154680
Change-Id: Ie2523e444a7d0965b8d141d57e3e11f6432d5b9a
Elliott Hughes [Wed, 24 Sep 2014 18:09:47 +0000 (18:09 +0000)]
am
f05410ed: Merge "Sync with upstream findfp.c."
* commit '
f05410edc634040f96643b8f378320faddfef423':
Sync with upstream findfp.c.
Elliott Hughes [Wed, 24 Sep 2014 17:48:58 +0000 (17:48 +0000)]
Merge "Sync with upstream findfp.c."