OSDN Git Service
Dmitriy Ivanov [Tue, 28 Oct 2014 04:46:54 +0000 (04:46 +0000)]
am
398eb5a7: Merge "Remove unnecessary lookups during relocations"
* commit '
398eb5a7ee1f0f7173e463e82381431ef4b21a17':
Remove unnecessary lookups during relocations
Dmitriy Ivanov [Tue, 28 Oct 2014 04:46:52 +0000 (04:46 +0000)]
am
566f2bc6: Merge "Fix relocation to look for symbols in local group"
* commit '
566f2bc623dbd1d6e8bcf3a6c6e7a6fffe7f68fd':
Fix relocation to look for symbols in local group
Elliott Hughes [Tue, 28 Oct 2014 04:33:09 +0000 (04:33 +0000)]
am
6c5694b6: Merge "Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3)."
* commit '
6c5694b6c8343d740c36adbe904442cecd8030a6':
Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3).
Elliott Hughes [Fri, 24 Oct 2014 20:18:09 +0000 (20:18 +0000)]
am
cf8ea37f: Merge "bionic/tests: migrate gethostbyname bionic test from system/extra to bionic/tests"
* commit '
cf8ea37fc91e23d37b3c5873b5e152ccae293f03':
bionic/tests: migrate gethostbyname bionic test from system/extra to bionic/tests
Elliott Hughes [Fri, 24 Oct 2014 13:01:54 +0000 (13:01 +0000)]
am
e516321d: Merge "Update bionic to tzdata2014i."
* commit '
e516321d78162479a4ce17bd5a9ba8c0834abf18':
Update bionic to tzdata2014i.
Christopher Ferris [Fri, 24 Oct 2014 13:01:53 +0000 (13:01 +0000)]
am
efd2ec8f: Merge "Fix race condition in timer disarm/delete."
* commit '
efd2ec8fbddb99a7a2d7da8e1024655fa08153ca':
Fix race condition in timer disarm/delete.
Dmitriy Ivanov [Thu, 23 Oct 2014 22:53:13 +0000 (22:53 +0000)]
Merge "Remove unnecessary lookups during relocations"
Dmitriy Ivanov [Thu, 23 Oct 2014 21:19:07 +0000 (14:19 -0700)]
Remove unnecessary lookups during relocations
local_group includes this library and its dependencies.
Change-Id: Ib02474b2355bb147de3889f60092cb2f312997ef
Dmitriy Ivanov [Thu, 23 Oct 2014 20:48:59 +0000 (20:48 +0000)]
Merge "Fix relocation to look for symbols in local group"
Dmitriy Ivanov [Tue, 21 Oct 2014 16:23:18 +0000 (09:23 -0700)]
Fix relocation to look for symbols in local group
The local group is a sequence of libraries in default (breadth-first)
order. It allows RTLD_LOCALLY loaded library to correctly relocate
symbols within its group (see test-cases).
Local group lookup is performed after main executable and ld_preloads.
Bug:
2643900
Bug:
15432753
Change-Id: I9bb013b46d17dbb5cbdfb8fef26f552748385541
Elliott Hughes [Thu, 23 Oct 2014 17:57:05 +0000 (17:57 +0000)]
Merge "Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3)."
Derek Xue [Wed, 13 Aug 2014 13:19:17 +0000 (14:19 +0100)]
Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3).
This change is to migrate the getaddrinfo tests defined in the old file
system/extras/tests/bionic/libc/common/test_getaddrinfo.c
to the new place bionic/tests/netdb_test.cpp.
The test here is more thorough, and catches a bug in getservbyname(3)
that was breaking getaddrinfo(3)'s ability to look up services by name
without a hint that would cause it to ask for a specific protocol.
Change-Id: Ief5ebd0869496d1bc6a97861dfefa04bdf24bab1
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Elliott Hughes [Wed, 22 Oct 2014 21:30:39 +0000 (21:30 +0000)]
Merge "bionic/tests: migrate gethostbyname bionic test from system/extra to bionic/tests"
Derek Xue [Wed, 13 Aug 2014 13:19:17 +0000 (14:19 +0100)]
bionic/tests: migrate gethostbyname bionic test from system/extra to bionic/tests
this change migrate the gethostbyname test defined in the old file
system/extras/tests/bionic/libc/common/test_gethostbyname.c
to the new place bionic/tests/netdb_test.cpp
Change-Id: I342171090f681581fb54d68ea4a09adf61f52081
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Elliott Hughes [Wed, 22 Oct 2014 20:41:44 +0000 (20:41 +0000)]
Merge "Update bionic to tzdata2014i."
Christopher Ferris [Wed, 22 Oct 2014 20:33:05 +0000 (20:33 +0000)]
Merge "Fix race condition in timer disarm/delete."
Christopher Ferris [Tue, 21 Oct 2014 02:09:19 +0000 (19:09 -0700)]
Fix race condition in timer disarm/delete.
When setting a repeat timer using the SIGEV_THREAD mechanism, it's possible
that the callback can be called after the timer is disarmed or deleted.
This happens because the kernel can generate signals that the timer thread
will continue to handle even after the timer is supposed to be off.
Add two new tests to verify that disarming/deleting doesn't continue to
call the callback.
Modify the repeat test to finish more quickly than before.
Refactor the Counter implementation a bit.
Bug:
18039727
(cherry pick from commit
0724132c3263145f2a667f453a199d313a5b3d9f)
Change-Id: I135726ea4038a47920a6c511708813b1a9996c42
Elliott Hughes [Wed, 22 Oct 2014 19:31:02 +0000 (12:31 -0700)]
Update bionic to tzdata2014i.
From the release notes:
Changes affecting future time stamps
Pacific/Fiji will observe DST from 2014-11-02 02:00 to
2015-01-18 03:00. (Thanks to Ken Rylander for the heads-up.)
Guess that future years will use a similar pattern.
A new Zone Pacific/Bougainville, for the part of Papua New
Guinea that plans to switch from UTC+10 to UTC+11 on
2014-12-28 at 02:00. (Thanks to Kiley Walbom for the
heads-up.)
Changes affecting time zone abbreviations
Since Belarus is not changing its clocks even though Moscow
is, the time zone abbreviation in Europe/Minsk is changing
from FET to its more-traditional value MSK on 2014-10-26 at
01:00. (Thanks to Alexander Bokovoy for the heads-up about
Belarus.)
The new abbreviation IDT stands for the pre-1976 use of UT+8
in Indochina, to distinguish it better from ICT (UT+7).
Changes affecting past time stamps
Many time stamps have been corrected for Asia/Ho_Chi_Minh
before 1976 (thanks to Trần Ngọc Quân for an indirect pointer
to Trần Tiến Bình's authoritative book). Asia/Ho_Chi_Minh has
been added to zone1970.tab, to give tzselect users in Vietnam
two choices, since north and south Vietnam disagreed after our
1970 cutoff.
Asia/Phnom_Penh and Asia/Vientiane have been turned into
links, as they differed from existing zones only for older
time stamps. As usual, these changes affect pre-1970 time
stamps only. Their old contents have been moved to the
'backzone' file.
Bug:
18085936
Change-Id: I89c065b4788b10ed7530cc4e8cfbc1b65c05c1b7
Bill Yi [Wed, 22 Oct 2014 15:45:57 +0000 (08:45 -0700)]
Chih-Hung Hsieh [Wed, 22 Oct 2014 00:55:14 +0000 (00:55 +0000)]
Merge "Replace ambiguous cmp operator with cmpl."
Chih-Hung Hsieh [Tue, 21 Oct 2014 23:25:35 +0000 (16:25 -0700)]
Replace ambiguous cmp operator with cmpl.
Clang assembler rejects ambiguous cmp instruction.
BUG:
17302482
Change-Id: Ie8dca7e4f46e0906c47076bba21c1941482ba6b3
Dmitriy Ivanov [Tue, 21 Oct 2014 21:06:18 +0000 (21:06 +0000)]
Merge "Rename library_offset to library_fd_offset"
Dmitriy Ivanov [Tue, 21 Oct 2014 19:09:18 +0000 (12:09 -0700)]
Rename library_offset to library_fd_offset
replace lseek() and use pread() instead
add test for library_fd_offset > file_size case
Bug:
17762003
Change-Id: I4555f0be635124efe849c1f226985bcba72ffcbd
Dan Albert [Tue, 21 Oct 2014 18:28:18 +0000 (18:28 +0000)]
Merge "Never use ASAN."
Dan Albert [Fri, 17 Oct 2014 17:33:25 +0000 (10:33 -0700)]
Never use ASAN.
Unless we completely redo how we build bionic (so that the object
files for libc.so get built separately from libc.a), we can't enable
ASAN here, as libc.a gets linked into static executables.
Change-Id: I2ce4f51248bd51c4213a555ff481b6faabbf53f8
Christopher Ferris [Mon, 20 Oct 2014 18:38:27 +0000 (18:38 +0000)]
am
8f41d3d3: Merge "Fix generic __memcpy_chk implementation."
* commit '
8f41d3d3bc7cf2375e5dd9202da619fd67a5928f':
Fix generic __memcpy_chk implementation.
Christopher Ferris [Mon, 20 Oct 2014 18:21:21 +0000 (18:21 +0000)]
Merge "Fix generic __memcpy_chk implementation."
Chih-Hung Hsieh [Mon, 20 Oct 2014 17:02:32 +0000 (17:02 +0000)]
am
9a740482: Merge "Add -no-integrated-as at local level."
* commit '
9a7404824b3dfaad6ba14a41aab5f14132392a92':
Add -no-integrated-as at local level.
Chih-Hung Hsieh [Mon, 20 Oct 2014 16:51:05 +0000 (16:51 +0000)]
Merge "Add -no-integrated-as at local level."
Chih-Hung Hsieh [Fri, 17 Oct 2014 23:27:03 +0000 (16:27 -0700)]
Add -no-integrated-as at local level.
Later we will enable integrated-as as default at the global level.
BUG:
17820427
BUG:
17302991
Change-Id: I233204ca04d7222b2cb1fbd0fa48a482f8b63f6f
Christopher Ferris [Fri, 17 Oct 2014 21:08:54 +0000 (14:08 -0700)]
Fix generic __memcpy_chk implementation.
- Clean up the labels (add .L to make them local).
- Change to using cfi directives.
- Fix unwinding of the __memcpy_chk fail path.
Bug:
18033671
Change-Id: I12845f10c7ce5e6699c15c558bda64c83f6a392a
Dmitriy Ivanov [Fri, 17 Oct 2014 20:33:55 +0000 (20:33 +0000)]
am
dec4de45: Merge "Correct way to specify additional dependencies"
* commit '
dec4de456c046881fb1e8c7c7d0c27a11ef09eb7':
Correct way to specify additional dependencies
Dmitriy Ivanov [Fri, 17 Oct 2014 20:19:18 +0000 (20:19 +0000)]
Merge "Correct way to specify additional dependencies"
Dmitriy Ivanov [Fri, 17 Oct 2014 18:47:18 +0000 (11:47 -0700)]
Correct way to specify additional dependencies
Previous one was not covering all the targets
Bug:
17548097
Change-Id: I425e0f8d6e5a43feabd29dcb327049b82754d249
Dmitriy Ivanov [Thu, 16 Oct 2014 18:02:17 +0000 (18:02 +0000)]
am
5281e1fb: Merge "Fix misleading comment."
* commit '
5281e1fb15632c8dc714d10abc6cd1a22a061782':
Fix misleading comment.
Dmitriy Ivanov [Thu, 16 Oct 2014 17:54:02 +0000 (17:54 +0000)]
Merge "Fix misleading comment."
Dan Albert [Thu, 16 Oct 2014 16:27:37 +0000 (16:27 +0000)]
am
90aa7e37: Merge "Only use <atomic> for C++11 and newer."
* commit '
90aa7e374f9000577cde64c4fb88c5dab8dac62e':
Only use <atomic> for C++11 and newer.
Dan Albert [Thu, 16 Oct 2014 16:19:43 +0000 (16:19 +0000)]
Merge "Only use <atomic> for C++11 and newer."
Dan Albert [Thu, 16 Oct 2014 16:05:31 +0000 (16:05 +0000)]
am
8bb12127: Merge "Don\'t use an STL for libm."
* commit '
8bb12127e62c1fc4d9dc99ce9272008023c7c08e':
Don't use an STL for libm.
Dan Albert [Thu, 16 Oct 2014 15:56:31 +0000 (15:56 +0000)]
Merge "Don't use an STL for libm."
Dan Albert [Thu, 16 Oct 2014 14:52:51 +0000 (07:52 -0700)]
Only use <atomic> for C++11 and newer.
Any pre-C++11 clients of stdatomic.h that use libc++ are being forced
over to <atomic>, which they don't have the language support to use.
Change-Id: I62445c1f2541410a1569498c09433c7196635537
Dan Albert [Thu, 16 Oct 2014 14:44:47 +0000 (07:44 -0700)]
Don't use an STL for libm.
The default is none right now, but this will be needed when the
default becomes libc++.
Change-Id: Ib022adac2b9dc08fbfae830908128043cfffb91e
Dmitriy Ivanov [Wed, 15 Oct 2014 23:57:28 +0000 (23:57 +0000)]
am
f5e02582: Merge "Ignore DT_BIND_NOW (0x18)"
* commit '
f5e0258268b45faa4d84de34047660061720abc7':
Ignore DT_BIND_NOW (0x18)
Dmitriy Ivanov [Wed, 15 Oct 2014 23:46:26 +0000 (23:46 +0000)]
Merge "Ignore DT_BIND_NOW (0x18)"
Dmitriy Ivanov [Wed, 15 Oct 2014 21:59:01 +0000 (14:59 -0700)]
Ignore DT_BIND_NOW (0x18)
Bug:
17552334
Change-Id: Ibe93fd3d6580f369f9a6ef8d235bf0df00fe7607
Robert Grosse [Wed, 15 Oct 2014 21:32:19 +0000 (14:32 -0700)]
Fix misleading comment.
Change-Id: I9e2aa6c2ba938c8f8d7c74eba32d313c866c77b2
Dan Albert [Wed, 15 Oct 2014 20:10:06 +0000 (20:10 +0000)]
am
71cbcdcf: Merge "We don\'t actually need all of libc++ here."
* commit '
71cbcdcf947835076241b9dd72099f28997eb290':
We don't actually need all of libc++ here.
Dan Albert [Wed, 15 Oct 2014 19:59:08 +0000 (19:59 +0000)]
Merge "We don't actually need all of libc++ here."
Dan Albert [Tue, 14 Oct 2014 21:19:34 +0000 (14:19 -0700)]
We don't actually need all of libc++ here.
All we're actually interested in is the unwinder. Since that's now a
separate library, just use that.
Change-Id: If86071a0d850da961336a58147b70369ace7bd12
Elliott Hughes [Tue, 14 Oct 2014 03:26:03 +0000 (03:26 +0000)]
am
97df16ba: Merge "Add clock_settime and clock_nanosleep."
* commit '
97df16ba5c2911e06d1211781a5724706abd227b':
Add clock_settime and clock_nanosleep.
Elliott Hughes [Tue, 14 Oct 2014 03:07:42 +0000 (03:07 +0000)]
Merge "Add clock_settime and clock_nanosleep."
Haruki Hasegawa [Sun, 12 Oct 2014 15:50:47 +0000 (00:50 +0900)]
Add clock_settime and clock_nanosleep.
Add the missing prototypes, fix the existing prototypes to use clockid_t
rather than int, fix clock_nanosleep's failure behavior, and add simple
tests.
Bug:
17644443
Bug: https://code.google.com/p/android/issues/detail?id=77372
Change-Id: I03fba369939403918abcabae9551a7123953d780
Signed-off-by: Haruki Hasegawa <h6a.h4i.0@gmail.com>
Dmitriy Ivanov [Mon, 13 Oct 2014 22:15:39 +0000 (22:15 +0000)]
am
c2297050: Merge "Add glibc alias for NT_PRFPREG"
* commit '
c229705051c8b6a06ad81c221ca74ef9aa743e13':
Add glibc alias for NT_PRFPREG
Christopher Ferris [Mon, 13 Oct 2014 22:10:03 +0000 (22:10 +0000)]
am
083769a3: Merge "Return total footprint, not high water mark."
* commit '
083769a3dffabfb968a03a700b9f2fd7838bcf75':
Return total footprint, not high water mark.
Dan Albert [Mon, 13 Oct 2014 22:10:00 +0000 (22:10 +0000)]
am
94571f9a: Merge "Use LOCAL_CXX_STL to select libc++_static."
* commit '
94571f9ade03cfe24bff1bddc4d6c1a320b39b8e':
Use LOCAL_CXX_STL to select libc++_static.
Dmitriy Ivanov [Mon, 13 Oct 2014 22:08:51 +0000 (22:08 +0000)]
Merge "Add glibc alias for NT_PRFPREG"
Dmitriy Ivanov [Mon, 13 Oct 2014 19:23:55 +0000 (12:23 -0700)]
Add glibc alias for NT_PRFPREG
Also fix comment style for DF_1_ constants
Change-Id: I7c3ed1d834f0a2b85ee8cc8016c79020955084f8
Christopher Ferris [Mon, 13 Oct 2014 19:48:35 +0000 (19:48 +0000)]
Merge "Return total footprint, not high water mark."
Christopher Ferris [Fri, 10 Oct 2014 15:40:21 +0000 (08:40 -0700)]
Return total footprint, not high water mark.
The mallinfo usmblks value returned by dlmalloc is a little misleading.
It's not the current max, it's the historical high water mark. This
leads to dumpsys meminfo producing native memory numbers that don't add up.
Change this to the real total footprint, not this high water mark.
Bug:
17265653
(cherry pick from commit
f4ada9c9ce31c7e56146a4cb703747385bc043a5)
Change-Id: I2fba10285859dccfe8331063c9be14cc169f2d91
Dan Albert [Mon, 13 Oct 2014 19:08:59 +0000 (19:08 +0000)]
Merge "Use LOCAL_CXX_STL to select libc++_static."
Dan Albert [Mon, 13 Oct 2014 18:20:29 +0000 (11:20 -0700)]
Use LOCAL_CXX_STL to select libc++_static.
Directly adding the library to LOCAL_STATIC_LIBRARIES thwarts a few
build system checks.
Change-Id: Ib23c43badfa85de21c691f79ccdcc2cbe2a89b33
Dan Albert [Sat, 11 Oct 2014 00:57:31 +0000 (00:57 +0000)]
am
4c086247: Merge "Fix some formatting so GitHub displays it nicely."
* commit '
4c0862474e63b09c901d11de47a318ce73a0c686':
Fix some formatting so GitHub displays it nicely.
Dan Albert [Sat, 11 Oct 2014 00:48:32 +0000 (00:48 +0000)]
Merge "Fix some formatting so GitHub displays it nicely."
Dan Albert [Sat, 11 Oct 2014 00:14:37 +0000 (17:14 -0700)]
Fix some formatting so GitHub displays it nicely.
Change-Id: Id6ce9a61bebd98544c85e5780147715c73d0e78b
Dan Albert [Fri, 10 Oct 2014 19:05:03 +0000 (19:05 +0000)]
am
8c3901b2: Merge "Improve documentation for testing and coverage."
* commit '
8c3901b2999e6821b8ee984193352ba45b003492':
Improve documentation for testing and coverage.
Dan Albert [Fri, 10 Oct 2014 18:59:02 +0000 (18:59 +0000)]
Merge "Improve documentation for testing and coverage."
Dan Albert [Fri, 10 Oct 2014 05:57:49 +0000 (22:57 -0700)]
Improve documentation for testing and coverage.
Also rename HACKING.txt to README.md so it will display on the GitHub
mirror.
Change-Id: I70157a4ad262700212bf9afd87253d195c7013a9
Elliott Hughes [Fri, 10 Oct 2014 17:39:00 +0000 (17:39 +0000)]
am
2698f9ef: Merge "Catch up on upstream\'s round/roundf/roundl."
* commit '
2698f9ef8412011295702cd6df4b66e01cf6c220':
Catch up on upstream's round/roundf/roundl.
Elliott Hughes [Fri, 10 Oct 2014 17:29:51 +0000 (17:29 +0000)]
Merge "Catch up on upstream's round/roundf/roundl."
Elliott Hughes [Fri, 10 Oct 2014 17:21:43 +0000 (10:21 -0700)]
Catch up on upstream's round/roundf/roundl.
Not sure how we missed these, but better late than never...
Change-Id: Ib08d1bb6e340a1907cbeb1cbe220e33f70642bdc
Christopher Ferris [Fri, 10 Oct 2014 14:35:22 +0000 (14:35 +0000)]
am
c891e240: Add back symbols to fix Greed for Glory franchise.
* commit '
c891e24073830e07ba7373dee554ff2c70e1d313':
Add back symbols to fix Greed for Glory franchise.
Christopher Ferris [Fri, 10 Oct 2014 06:38:26 +0000 (06:38 +0000)]
am
62a665a6: Merge "Add back symbols to fix Greed for Glory franchise."
* commit '
62a665a605df64a6ea5ac680bb564ad7a5f03711':
Add back symbols to fix Greed for Glory franchise.
Christopher Ferris [Fri, 10 Oct 2014 05:25:25 +0000 (05:25 +0000)]
Merge "Add back symbols to fix Greed for Glory franchise."
Christopher Ferris [Fri, 10 Oct 2014 01:31:01 +0000 (18:31 -0700)]
Add back symbols to fix Greed for Glory franchise.
Bug:
17813018
(cherry picked from commit
c891e24073830e07ba7373dee554ff2c70e1d313)
Change-Id: I4e891c2dbad9ea00d2377c5175317d9ae3840153
Elliott Hughes [Fri, 10 Oct 2014 01:59:21 +0000 (01:59 +0000)]
am
8dd3b65f: Merge "Sync libm with upstream."
* commit '
8dd3b65f2dd63df1baa83285f607cf110f21c27c':
Sync libm with upstream.
Christopher Ferris [Fri, 10 Oct 2014 01:31:01 +0000 (18:31 -0700)]
Add back symbols to fix Greed for Glory franchise.
Bug:
17813018
Change-Id: Id939426ee5303117b9601e7915fcfec5024fc621
Elliott Hughes [Fri, 10 Oct 2014 01:26:18 +0000 (01:26 +0000)]
Merge "Sync libm with upstream."
Elliott Hughes [Thu, 9 Oct 2014 23:20:37 +0000 (16:20 -0700)]
Sync libm with upstream.
Change-Id: I3b4e2c9c6ce6c5934f270a51ce5eb9154c5805d5
Elliott Hughes [Thu, 9 Oct 2014 22:10:37 +0000 (22:10 +0000)]
am
e9c216fc: Merge "Fix pthread_attr_getstack under valgrind."
* commit '
e9c216fca56e84b0d0a96f7d5e3c99d3276ef071':
Fix pthread_attr_getstack under valgrind.
Elliott Hughes [Thu, 9 Oct 2014 21:17:40 +0000 (21:17 +0000)]
Merge "Fix pthread_attr_getstack under valgrind."
Elliott Hughes [Thu, 9 Oct 2014 21:01:47 +0000 (14:01 -0700)]
Fix pthread_attr_getstack under valgrind.
valgrind seems to mess with the stack enough that the kernel will
report "[stack:pid]" rather than "[stack]" in /proc/self/maps, so
switch to the task-specific file instead to force "[stack]". (There
are two conditions in the kernel code that decides which form to
output.)
Bug:
17897476
Change-Id: Iff85ceb6d52e8716251fab4e45d95a27184c5529
Christopher Ferris [Thu, 9 Oct 2014 19:12:49 +0000 (12:12 -0700)]
resolved conflicts for merge of
c9734d24 to lmp-dev-plus-aosp
Change-Id: I2ced64fed071f126725a8cdbd12d7c1f45ab7947
Christopher Ferris [Thu, 9 Oct 2014 18:59:43 +0000 (18:59 +0000)]
am
d0944d9e: Merge "Re-add dlmalloc for 32 bit."
* commit '
d0944d9ed38be0d74c3d8876f0f36b9ddc0ce38c':
Re-add dlmalloc for 32 bit.
Christopher Ferris [Thu, 9 Oct 2014 18:50:32 +0000 (18:50 +0000)]
Merge "Re-add dlmalloc for 32 bit."
Christopher Ferris [Thu, 9 Oct 2014 05:48:20 +0000 (22:48 -0700)]
Re-add dlmalloc for 32 bit.
It turns out that appportable has a version that calls dlmalloc directly.
Re-add the dlmalloc symbol for 32 bit only as a compatibility shim that
calls malloc.
Bug:
17881362
(cherry pick commit from
c9734d24d92f4737f5ab3808c77d816a1b084582)
Change-Id: Iee9a777f66a1edb407d7563a60792b767ac4f83a
Christopher Ferris [Thu, 9 Oct 2014 05:48:20 +0000 (22:48 -0700)]
Re-add dlmalloc for 32 bit.
It turns out that appportable has a version that calls dlmalloc directly.
Re-add the dlmalloc symbol for 32 bit only as a compatibility shim that
calls malloc.
Bug:
17881362
Change-Id: I8f20963b0b8d323489dc083e4063779e0d1d7447
Dan Albert [Thu, 9 Oct 2014 00:40:24 +0000 (00:40 +0000)]
am
8a7f8387: Merge "Use snprintf(3) instead of sprintf(3)."
* commit '
8a7f8387b3b95de2ee0c42e34a226a1fcc066896':
Use snprintf(3) instead of sprintf(3).
Dan Albert [Thu, 9 Oct 2014 00:32:10 +0000 (00:32 +0000)]
Merge "Use snprintf(3) instead of sprintf(3)."
Dan Albert [Thu, 9 Oct 2014 00:13:06 +0000 (00:13 +0000)]
am
72d72d91: Merge "Replace uses of sprintf(3) with snprintf(3)."
* commit '
72d72d91262fabe6bc169618ef3acb0721441cf0':
Replace uses of sprintf(3) with snprintf(3).
Ying Wang [Thu, 9 Oct 2014 00:13:05 +0000 (00:13 +0000)]
am
0c0e728b: Merge "Build dlext_testzip as custom module."
* commit '
0c0e728bd8cdeb0e73fd9c491d05993dfc77b622':
Build dlext_testzip as custom module.
Dan Albert [Thu, 9 Oct 2014 00:10:26 +0000 (17:10 -0700)]
Use snprintf(3) instead of sprintf(3).
This change should probably be made upstream as well, but they have a
note about not using it because it isn't available on all systems.
Change-Id: I6d8404c031bd2f486532ced55d94bbb4a4cd2e71
Dan Albert [Wed, 8 Oct 2014 23:44:48 +0000 (23:44 +0000)]
Merge "Replace uses of sprintf(3) with snprintf(3)."
Ying Wang [Wed, 8 Oct 2014 23:43:49 +0000 (23:43 +0000)]
Merge "Build dlext_testzip as custom module."
Ying Wang [Wed, 8 Oct 2014 23:22:03 +0000 (16:22 -0700)]
Build dlext_testzip as custom module.
Use $(BUILD_SYSTEM)/base_rules to build it as custom module, so that
it's exposed to utilities like mm/mmma etc.
Bug:
17887283
Change-Id: Idd7b62d08e4d56331a3ff15da6aa46eae8c41898
Dan Albert [Wed, 8 Oct 2014 04:08:41 +0000 (21:08 -0700)]
Replace uses of sprintf(3) with snprintf(3).
At -00, the compiler warns about sprintf(3), and it is promoted to an
error by -Werror.
Change-Id: Ibb380d27d7eb09dda8ac785be2478d656b379190
Dmitriy Ivanov [Wed, 8 Oct 2014 22:49:22 +0000 (22:49 +0000)]
am
ac3c94d0: Merge "Fix mma build: \'cd bionic && mma\' case"
* commit '
ac3c94d031c16a0299471a593cdc6248494e539d':
Fix mma build: 'cd bionic && mma' case
Elliott Hughes [Wed, 8 Oct 2014 22:49:21 +0000 (22:49 +0000)]
am
0511534d: Merge "Don\'t silently return EINVAL for a NULL sem_t*."
* commit '
0511534dcbb00f26b2fd6209b1b60a3263bf042c':
Don't silently return EINVAL for a NULL sem_t*.
Elliott Hughes [Wed, 8 Oct 2014 22:49:20 +0000 (22:49 +0000)]
am
bfeef2d3: Merge "Use ln(1) rather than cp(1) to set up host /system for testing."
* commit '
bfeef2d3a903f161531ce5e45b2dd7d280e7f154':
Use ln(1) rather than cp(1) to set up host /system for testing.
Dmitriy Ivanov [Wed, 8 Oct 2014 22:39:20 +0000 (22:39 +0000)]
Merge "Fix mma build: 'cd bionic && mma' case"
Dmitriy Ivanov [Wed, 8 Oct 2014 21:55:39 +0000 (14:55 -0700)]
Fix mma build: 'cd bionic && mma' case
Bug:
17887283
Change-Id: If2015f2361348eac8c53aed3f8715077b79ce2f5