OSDN Git Service
Greg Hackmann [Fri, 20 Feb 2015 19:00:14 +0000 (11:00 -0800)]
Fix 64-bit benchmark build
The * flag to printf() wants an int instead of size_t, and these are
distinct types on 64-bit. To accomodate this, make the name column
width helpers return int.
In theory this truncates things, but in practice this only matters if
you have a benchmark with more than INT_MAX characters in its name (in
which case you have bigger problems).
Change-Id: I3338948c25a3a8d84f1ead2f5b457c05da8a01cf
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Elliott Hughes [Fri, 20 Feb 2015 16:56:57 +0000 (16:56 +0000)]
Merge "valgrind can't find syscall because we didn't put it in <unistd.h>."
Elliott Hughes [Fri, 20 Feb 2015 06:49:44 +0000 (22:49 -0800)]
valgrind can't find syscall because we didn't put it in <unistd.h>.
Change-Id: I1e47291d4476bd2816138a8cf58f29d4986d39e3
Christopher Ferris [Fri, 20 Feb 2015 00:53:24 +0000 (00:53 +0000)]
Merge "Refactor the benchmark code."
Christopher Ferris [Wed, 18 Feb 2015 03:58:53 +0000 (19:58 -0800)]
Refactor the benchmark code.
Changes:
- Modify the benchmarks to derive from a single Benchmark object.
- Rewrite the main iteration code. This includes changing the iteration
code to use the actual total time calculated by the benchmark as a basis
for determining whether there are enough iterations instead of using
the time it takes to run the benchmark.
- Allow benchmarks to take no argument, int, or double.
- Fix the PrettyInt printer for negative integers.
- Modify the max column width name to include the whole name including
the arg part.
- Reformat property_benchmark.cpp in line with the rest of the code.
- Modify a few of the math benchmarks to take an argument instead of
separate benchmarks for the same function with different args.
- Create a vector of regex_t structs to represent the args all at
once instead of when running each benchmark.
This change is in preparation for adding new math based benchmarks.
Tested by running on a nexus flo running at max using the new code
and the old code and comparing. All of the numbers are similar, but
some of the iterations are different due to the slightly different
algorithm used.
Change-Id: I57ad1f3ff083282b9ffeb72e687cab369ce3523a
Elliott Hughes [Thu, 19 Feb 2015 15:49:53 +0000 (15:49 +0000)]
Merge "Add GNU extensions mempcpy and wmemcpy."
Elliott Hughes [Thu, 19 Feb 2015 05:29:13 +0000 (21:29 -0800)]
Add GNU extensions mempcpy and wmemcpy.
Used by elfutils. On the bright side, they stopped using __mempcpy.
Bug:
18374026
Change-Id: Id29bbe6ef1c5ed5a171bb6c32182f129d8332abb
Dan Albert [Thu, 19 Feb 2015 02:33:08 +0000 (02:33 +0000)]
Merge "Parameterize use of clang in libc_ndk."
Dan Albert [Thu, 19 Feb 2015 01:37:52 +0000 (17:37 -0800)]
Parameterize use of clang in libc_ndk.
We still have issues with clang coverage in static libraries, so we
need to make sure we follow suit with the rest of libc for now.
Bug:
17574078
Change-Id: I2ab58a84b1caa0d8d08415d240c35adec5b1e150
Elliott Hughes [Thu, 19 Feb 2015 01:00:18 +0000 (01:00 +0000)]
Merge "[MIPS] Fix setjmp signals"
Yabin Cui [Wed, 18 Feb 2015 21:33:01 +0000 (21:33 +0000)]
Merge "Make gets() deprecated."
Yabin Cui [Wed, 18 Feb 2015 20:20:32 +0000 (12:20 -0800)]
Make gets() deprecated.
gets is already deprecated in glibc. Others with __warnattr are not deprecated.
Change-Id: I80a276d2b5964630218be47f1c94b146c0d31151
Elliott Hughes [Wed, 18 Feb 2015 18:01:04 +0000 (18:01 +0000)]
Merge "Implement _FILE_OFFSET_BITS (mostly)."
Neil Fuller [Wed, 18 Feb 2015 09:42:31 +0000 (09:42 +0000)]
Merge "Update tzdata to tzdata2015a"
Elliott Hughes [Sat, 7 Feb 2015 06:28:49 +0000 (22:28 -0800)]
Implement _FILE_OFFSET_BITS (mostly).
I still don't think we can make stdio's fseeko and ftello work, but we can
have everything else, and very few programs use fseeko/ftello (and they can
just refrain from using _FILE_OFFSET_BITS and be no worse off than they are
today).
Bug:
11865851
Change-Id: Ic3cb409aae6713f4b345de954bcc4241fcd969ec
Dan Albert [Wed, 18 Feb 2015 01:05:48 +0000 (01:05 +0000)]
Merge "Update NDK compatlib for 4.1.2."
Dan Albert [Wed, 18 Feb 2015 01:05:43 +0000 (01:05 +0000)]
Merge "Update the NDK compatlib for 4.4.4 and ToT."
Dan Albert [Fri, 13 Feb 2015 00:35:09 +0000 (16:35 -0800)]
Update NDK compatlib for 4.1.2.
The replacement new failures present in newer versions are present
here as well, with the following new issues:
XPASS std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
This is from the -NaN formatting fix in bionic. We previously had this
wrong, and the upstream test is also wrong. There's currently an XFAIL
for Android in this test because I haven't fixed the upstream test
yet. After that is done, I'll need to teach the test runner how to
XFAIL older Android versions...
FAIL std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp
dtor.pass.cpp:39: int main(): assertion "globalMemCounter.checkDeleteArrayCalledEq(1)" failed
Haven't investigated this one yet. http://b/
19412688
Note that this also needs the libgcc link ordering to be fixed in the
build system, as we'll otherwise depend on libgcc symbols from libc
that may or may not have been there.
The build fix can't be submitted because the proper link order causes
the libgcc unwinder to be used instead of the EHABI one:
http://b/
18471342
Bug:
18471532
Change-Id: Icf560485a9b8f5ebbe01e4458703e62ec94df5e1
Dan Albert [Tue, 10 Feb 2015 01:45:22 +0000 (17:45 -0800)]
Update the NDK compatlib for 4.4.4 and ToT.
Now passes all libc++ tests for these targets, with the exception of
the usual failing replacement new tests since libc uses new/delete for
things. I don't know if we can ever really fix these.
Bug:
18471532
Change-Id: Ibc0a15f26b0e4613249b5e15ecf3cf80e523467c
Yabin Cui [Tue, 17 Feb 2015 23:56:29 +0000 (23:56 +0000)]
Merge "Revert "Move use of __warnattr to __deprecated.""
Yabin Cui [Tue, 17 Feb 2015 23:54:40 +0000 (23:54 +0000)]
Revert "Move use of __warnattr to __deprecated."
This reverts commit
4645c4f62df49d1ece5aabb7c9fa44ca34d30272.
Change-Id: I6c1062d54a4e2c4f41ce7a403e4e7840e6339146
Yabin Cui [Tue, 17 Feb 2015 23:10:30 +0000 (23:10 +0000)]
Merge "Move use of __warnattr to __deprecated."
Yabin Cui [Tue, 17 Feb 2015 20:39:39 +0000 (12:39 -0800)]
Move use of __warnattr to __deprecated.
clang don't support warning attribute. Replacing warning attriubte with
deprecated attribute can achieve the same behavior whether compiled by
gcc or clang.
Bug:
19340053
Change-Id: I064432b81cf55212458edbc749eb72dc15a810fb
Christopher Ferris [Tue, 17 Feb 2015 21:41:41 +0000 (21:41 +0000)]
Merge "Accuracy tests for libm"
Yabin Cui [Tue, 17 Feb 2015 21:29:21 +0000 (21:29 +0000)]
Merge "Change getgrent error declaration message to proper style."
Elliott Hughes [Tue, 17 Feb 2015 21:20:39 +0000 (21:20 +0000)]
Merge "Fix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX."
Yabin Cui [Tue, 17 Feb 2015 19:33:42 +0000 (11:33 -0800)]
Change getgrent error declaration message to proper style.
Bug:
19340053
Change-Id: I9c47a2016f356d171a5f2082acb8391d81e019b2
Elliott Hughes [Tue, 17 Feb 2015 17:55:58 +0000 (09:55 -0800)]
Fix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX.
Change-Id: I656f613166bd604f35b31e5ec042a5230c6b82b8
Elliott Hughes [Tue, 17 Feb 2015 17:54:39 +0000 (17:54 +0000)]
Merge "Fix memchr overflow."
Elliott Hughes [Tue, 17 Feb 2015 17:09:34 +0000 (17:09 +0000)]
Merge "POSIX says flock is in <sys/file.h>, not <unistd.h>."
Elliott Hughes [Mon, 16 Feb 2015 20:19:46 +0000 (12:19 -0800)]
POSIX says flock is in <sys/file.h>, not <unistd.h>.
Bug:
19392265
Change-Id: I14d0b56883f0354e13db04a1d140b8f60dae08d7
Neil Fuller [Mon, 2 Feb 2015 11:24:22 +0000 (11:24 +0000)]
Update tzdata to tzdata2015a
Time Zone Data v. 2015a (Released 2015-01-29)
http://www.iana.org/time-zones/repository/releases/tzdata2015a.tar.gz
Information from NEWS:
Release 2015a - 2015-01-29 22:35:20 -0800
Changes affecting future time stamps
The Mexican state of Quintana Roo, represented by America/Cancun,
will shift from Central Time with DST to Eastern Time without DST
on 2015-02-01 at 02:00. (Thanks to Steffen Thorsen and Gwillim Law.)
Chile will not change clocks in April or thereafter; its new standard time
will be its old daylight saving time. This affects America/Santiago,
Pacific/Easter, and Antarctica/Palmer. (Thanks to Juan Correa.)
New leap second 2015-06-30 23:59:60 UTC as per IERS Bulletin C 49.
(Thanks to Tim Parenti.)
Changes affecting past time stamps
Iceland observed DST in 1919 and 1921, and its 1939 fallback
transition was Oct. 29, not Nov. 29. Remove incorrect data from
Shanks about time in Iceland between 1837 and 1908.
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: Asia/Aden, Asia/Bahrain, Asia/Kuwait,
and Asia/Muscat.
Bug:
19212588
(cherry-picked from commit
700eb048fb6df8805245097d73a87384108fdf67)
Change-Id: I23d94982f634889ab9dcef28cf4a8853224bfd9c
Elliott Hughes [Sun, 15 Feb 2015 00:18:22 +0000 (00:18 +0000)]
Merge "Regression test for NDK bug 80199."
Elliott Hughes [Sat, 14 Feb 2015 22:11:50 +0000 (14:11 -0800)]
Regression test for NDK bug 80199.
Bionic never had this bug, but since the proposed fix is to remove the NDK's
broken code, we should add a regression test here.
Bug: https://code.google.com/p/android/issues/detail?id=80199
Change-Id: I4de21b5da9913cef990bc4d05a7e27562a71a02b
Elliott Hughes [Sat, 14 Feb 2015 21:21:22 +0000 (13:21 -0800)]
Fix memchr overflow.
The overflow's actually in the generic C implementation of memchr.
While I'm here, let's switch our generic memrchr to the OpenBSD version too.
Bug: https://code.google.com/p/android/issues/detail?id=147048
Change-Id: I296ae06a1ee196d2c77c95a22f11ee4d658962da
Yabin Cui [Sat, 14 Feb 2015 02:37:19 +0000 (02:37 +0000)]
Merge "Declare getgrent/setgrent/endgrent as missing."
Dmitriy Ivanov [Sat, 14 Feb 2015 00:38:03 +0000 (00:38 +0000)]
Merge changes I88827aa0,Ib0b0987a
* changes:
Fix: DT_DEBUG was acting as DT_REL on mips64
Add missing SHT_LOOS/SHT_HIOS values
Dmitriy Ivanov [Sat, 14 Feb 2015 00:29:50 +0000 (16:29 -0800)]
Fix: DT_DEBUG was acting as DT_REL on mips64
Change-Id: I88827aa07d75d06d606c987e6270fcca3ae6216f
Dmitriy Ivanov [Sat, 14 Feb 2015 00:25:43 +0000 (16:25 -0800)]
Add missing SHT_LOOS/SHT_HIOS values
Change-Id: Ib0b0987a7e85af7863c6ef894263b5980e32344d
Yabin Cui [Fri, 13 Feb 2015 18:52:35 +0000 (10:52 -0800)]
Declare getgrent/setgrent/endgrent as missing.
Bug:
19340053
Change-Id: I42bfeda95e6f262e2e74ab47336ea346c2de7e4a
Colin Cross [Fri, 13 Feb 2015 18:38:02 +0000 (18:38 +0000)]
Merge "Make .note.android.ident section type SH_NOTE"
Jingwei Zhang [Tue, 2 Sep 2014 13:39:14 +0000 (21:39 +0800)]
Accuracy tests for libm
This patch adds more tests for math functions to address coverage
issue of math functions discussed in:
https://android-review.googlesource.com/#/c/49653/
https://android-review.googlesource.com/#/c/94780/
These are data sets used in regression tests for the Intel the math library (libm). They were collected over a long period of testing various libm implementations.
The data sets contain function specific data (special and corner cases such as +/-0, maximum/minimum normalized numbers, +/-infinity, QNaN/SNaN, maximum/minimum denormal numbers, arguments that would produce close to overflow/underflow results, known hard-to-round cases, etc), implementation specific data (arguments close to table look-up values for different polynomial approximations, worst cases for range reduction algorithms) and other data with interesting bit patterns.
The reference values are computed with Maple and were converted into hexadecimal format.
Change-Id: I7177c282937369eae98f25d02134e4fc3beadde8
Signed-off-by: Jingwei Zhang <jingwei.zhang@intel.com>
Signed-off-by: Mingwei Shi <mingwei.shi@intel.com>
Colin Cross [Fri, 13 Feb 2015 01:03:22 +0000 (17:03 -0800)]
Make .note.android.ident section type SH_NOTE
The .note.android.ident section is only used by GDB, which doesn't
care what section type the section is, but it would be convenient
for readelf -n to be able to find the section too.
The old way of getting the .note.android.ident section to be of type
SH_NOTE involved compiling from .c to .s using gcc, running sed to
change progbits to note, and then compiling from .s to .o using gcc.
Since crtbrand.c only contains a section containing data, a
crtbrand.S can be checked in that will compile on all platforms,
avoiding the need for sed.
Also add crtbrand.o to crtbegin_so.o so that libraries also get
the note, and to the crt workaround in arm libc.so.
Change-Id: Ica71942a6af4553b56978ceaa288b3f4c15ebfa2
Mark Salyzyn [Thu, 12 Feb 2015 20:52:57 +0000 (20:52 +0000)]
Merge "bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait"
Colin Cross [Thu, 12 Feb 2015 18:16:47 +0000 (18:16 +0000)]
Merge "Remove no-op sed step when compiling crtbrand.o"
Mark Salyzyn [Tue, 10 Feb 2015 16:34:35 +0000 (08:34 -0800)]
bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait
This test reports the overhead of sem_post to sem_wake for a low thread count
and a high thread count.
Change-Id: Ic30dcc8a78d754979117446bf3a28b7575cabac7
Colin Cross [Thu, 12 Feb 2015 01:40:45 +0000 (17:40 -0800)]
Remove no-op sed step when compiling crtbrand.o
crtbrand.c was compiled to a .s file, run through a sed script
to translate a %progbits to %note, and the compiled to .o.
However, when the sed command was copied from the original source
it was not updated to use the new name of the section (.note.ABI-tag
to .note.android.ident), so it didn't modify the file. Since the
section has been generated with type %progbits instead of %note for
two years, just delete the whole sed step.
Change-Id: Id78582e9b43b628afec4eed22a088283132f0742
Duane Sand [Mon, 26 Jan 2015 22:48:48 +0000 (14:48 -0800)]
[MIPS] Fix setjmp signals
Include full 16-byte Mips sigset_t signal mask within jump buffer.
Call sigprocmask instead of sigblockmask/sigsetmask to get/set full signal mask.
Include sigsetjmp's savesigs arg inside jmp_buf, instead of following it.
Reserve room for future extensions.
Preserve historically-large mips32 _JBLEN size.
Eliminate redundancy: code setjmp and _setjmp as tail calls into sigsetjmp,
and make longjmp and _longjmp aliases of siglongjmp.
Change-Id: Ie79137cf059228c1a51344ebb20d3a9a40b4a252
Christopher Ferris [Wed, 11 Feb 2015 21:07:46 +0000 (21:07 +0000)]
Merge "[MIPS] Fix Mips64 build of libm"
Duane Sand [Wed, 11 Feb 2015 20:51:42 +0000 (12:51 -0800)]
[MIPS] Fix Mips64 build of libm
Change-Id: Ib742b408d4f21d5ec8d455a3fea7c08165c7f321
Elliott Hughes [Tue, 10 Feb 2015 23:34:18 +0000 (23:34 +0000)]
Merge "Fix our ftw tests."
Elliott Hughes [Tue, 10 Feb 2015 22:15:33 +0000 (14:15 -0800)]
Fix our ftw tests.
SELinux denies access to some files in /sys, so we can't just trawl
through that asserting general truths. Instead, create a small known
tree.
Sadly neither ftw nor nftw takes user callback data, otherwise it would
be nice to assert that we visit all the expected nodes.
Bug:
19252748
Change-Id: Ib5309c38aaef53e6030281191a265a8d5a619044
Yabin Cui [Tue, 10 Feb 2015 17:51:33 +0000 (17:51 +0000)]
Merge "Define MAXHOSTNAMELEN explicitly in source files."
Mark Salyzyn [Tue, 10 Feb 2015 15:16:33 +0000 (15:16 +0000)]
Merge "bionic: benchmarks: Add BM_semaphore_sem_post"
Yabin Cui [Mon, 9 Feb 2015 21:58:28 +0000 (13:58 -0800)]
Define MAXHOSTNAMELEN explicitly in source files.
Bug:
19093777
Bug:
19092844
Change-Id: I0778507ca2d5c008abb9a6d6315d0909263a8817
Mark Salyzyn [Mon, 9 Feb 2015 16:18:10 +0000 (08:18 -0800)]
bionic: benchmarks: Add BM_semaphore_sem_post
This test tries its best to report the producer side underlying futex
wake syscall overhead wthin sem_post. It does not measure the time it
takes for the wakeup to propagate to the consumer. It suffers from
clock_gettime syscall overhead, so subtract that. Lock the CPU speed
for consistent results as we may not reach >50% cpu utilization.
Change-Id: I02fa9dab2e6ac27202f0290115150bd3c8de00f2
Christopher Ferris [Tue, 10 Feb 2015 00:31:05 +0000 (00:31 +0000)]
Merge "Cleanup the libm makefile."
Yabin Cui [Tue, 10 Feb 2015 00:10:45 +0000 (00:10 +0000)]
Merge "Switch pthread_cond_t to <stdatomic.h>."
Yabin Cui [Thu, 29 Jan 2015 20:13:33 +0000 (12:13 -0800)]
Switch pthread_cond_t to <stdatomic.h>.
Bug:
17574458
Change-Id: Ic7f79861df4fe751cfa6c6b20b71123cc31e7114
Christopher Ferris [Fri, 23 Jan 2015 01:16:33 +0000 (17:16 -0800)]
Cleanup the libm makefile.
Change-Id: I3d95f75da24ee3b064a9cce67586b0e6f32272d8
Yabin Cui [Mon, 9 Feb 2015 19:46:45 +0000 (19:46 +0000)]
Merge "Stop including <linux/param.h> in <sys/param.h>."
Narayan Kamath [Mon, 9 Feb 2015 18:57:50 +0000 (18:57 +0000)]
Merge "Remove stray log line."
Narayan Kamath [Mon, 9 Feb 2015 17:59:22 +0000 (17:59 +0000)]
Remove stray log line.
Change-Id: Id948ae37a91dadd9d40e91de97f18774bdccfc78
Christopher Ferris [Sat, 7 Feb 2015 02:18:39 +0000 (02:18 +0000)]
Merge "Display errors instead of running infinitely."
Christopher Ferris [Tue, 3 Feb 2015 23:16:03 +0000 (15:16 -0800)]
Display errors instead of running infinitely.
When there is an error detected, the code runs forever and then times
out without any indication of what happened. Change it so that error
messages are printed and the test fails.
Change-Id: Id3160fc2f394984de0157356594fd8b40de66b4a
Tao Bao [Fri, 6 Feb 2015 23:25:29 +0000 (23:25 +0000)]
Merge "Switch kernel header parsing to python libclang"
Tao Bao [Wed, 28 Jan 2015 18:07:51 +0000 (10:07 -0800)]
Switch kernel header parsing to python libclang
Replace the tokenizer in cpp.py with libclang.
Bug:
18937958
Change-Id: I27630904c6d2849418cd5ca3d3c612ec3078686d
Colin Cross [Fri, 6 Feb 2015 22:45:59 +0000 (22:45 +0000)]
Merge "Use LOCAL_C_INCLUDES instead of LOCAL_CFLAGS for include dirs"
Colin Cross [Fri, 6 Feb 2015 22:16:17 +0000 (14:16 -0800)]
Use LOCAL_C_INCLUDES instead of LOCAL_CFLAGS for include dirs
Change-Id: If61d6faae5d91c3bbe198e733e5922cd877ba353
Yabin Cui [Thu, 5 Feb 2015 21:55:18 +0000 (21:55 +0000)]
Merge "Add path separator in bionic-unit-tests program path."
Elliott Hughes [Thu, 5 Feb 2015 20:21:35 +0000 (20:21 +0000)]
Merge "Use the libcxxabi __cxa_demangle."
Elliott Hughes [Thu, 5 Feb 2015 20:05:45 +0000 (20:05 +0000)]
Merge "Apparently, logd does need the NULs."
Elliott Hughes [Thu, 5 Feb 2015 20:05:34 +0000 (12:05 -0800)]
Use the libcxxabi __cxa_demangle.
Bug:
18930951
Change-Id: If2ea3633ac6dfd4ec975c0f16bdf3dd58e05c614
Elliott Hughes [Thu, 5 Feb 2015 20:02:04 +0000 (12:02 -0800)]
Apparently, logd does need the NULs.
Change-Id: I04b834e65c26c5821b952f78a0de7f92527cbdba
Yabin Cui [Thu, 5 Feb 2015 04:53:56 +0000 (20:53 -0800)]
Add path separator in bionic-unit-tests program path.
Bug:
19220800
Change-Id: I4245b1270363544cd5f083fe7ea7d9b11b46cdc0
Yabin Cui [Thu, 5 Feb 2015 04:21:03 +0000 (04:21 +0000)]
Merge "Add signal handling in bionic gtest main."
Yabin Cui [Tue, 3 Feb 2015 03:14:05 +0000 (19:14 -0800)]
Add signal handling in bionic gtest main.
The two bugs are very closely related and code amount is very small,
So I think they may be fixed in one change.
Bug:
19128558
Bug:
19129994
Change-Id: I44a35398e64dfca7e9676428cb8f4026e8f6e488
Dimitry Ivanov [Thu, 5 Feb 2015 02:23:34 +0000 (02:23 +0000)]
Merge "linker: Use load_bias to adjust search address in elf_addr_lookup"
Colin Cross [Thu, 5 Feb 2015 01:57:27 +0000 (01:57 +0000)]
Merge changes Ib87855e8,I4b46ae20,I66364a5c,Id3fcf680
* changes:
Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
Fix typo in cpu variant makefile depenendency for arm64
Remove libc_static_common_src_files
Share LP32 makefile settings between arches
Colin Cross [Thu, 5 Feb 2015 01:40:29 +0000 (17:40 -0800)]
Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
LOCAL_LDFLAGS_<arch> was being set for arm64, mips64, and x86_64.
Use LOCAL_LDFLAGS_64 instead.
Change-Id: Ib87855e8a7783f82461b707fffa7f1663e6be9c8
Colin Cross [Thu, 5 Feb 2015 01:38:27 +0000 (17:38 -0800)]
Fix typo in cpu variant makefile depenendency for arm64
cpu_variank_mk -> cpu_variant_mk
Change-Id: I4b46ae20de72ed2dc8820d62ac35ddc6b915a195
Colin Cross [Thu, 5 Feb 2015 01:37:23 +0000 (17:37 -0800)]
Remove libc_static_common_src_files
libc_static_common_src_files is never set after
c3f114037dbf028896310609fd28cf2b3da99c4d, remove the remaining
references to it.
Change-Id: I66364a5c1b031ad69d608f6f44244049192944f6
Colin Cross [Thu, 5 Feb 2015 01:35:49 +0000 (17:35 -0800)]
Share LP32 makefile settings between arches
Add <var>_32 to patch-up-arch-specific-flags, and move the LP32
cruft varaibles from the 32-bit arch specific makefiles into the
top level Android.mk.
Change-Id: Id3fcf6805d4af048c2524c94b1295416ebe7d057
Chris Dearman [Thu, 14 Nov 2013 01:22:33 +0000 (17:22 -0800)]
linker: Use load_bias to adjust search address in elf_addr_lookup
load_bias is the delta between a symbols address in memory and the value
contained in the symbol table.
Change-Id: I35c87b69025b64f7e4a1418ca766618f4533fb3e
Yabin Cui [Thu, 5 Feb 2015 01:14:32 +0000 (01:14 +0000)]
Merge "Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test."
Yabin Cui [Wed, 4 Feb 2015 02:40:44 +0000 (18:40 -0800)]
Stop including <linux/param.h> in <sys/param.h>.
Bug:
19092844
Change-Id: I1a4a0c84a196a187ea32e58491de744cf3c0f404
Yabin Cui [Wed, 4 Feb 2015 01:52:32 +0000 (17:52 -0800)]
Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test.
Bug:
19220800
Change-Id: Ie75c640183c4a41a499556fefb4f824a134a5fb1
Neil Fuller [Wed, 4 Feb 2015 16:33:01 +0000 (16:33 +0000)]
Merge "Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data."
Fredrik Roubert [Wed, 4 Feb 2015 16:17:34 +0000 (17:17 +0100)]
Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data.
This is now necessary to build .dat files that are useable for ICU4J as
well, and will need to be used for any future updates of the .dat file:
https://android.googlesource.com/platform/external/icu/+/
6b52738
Change-Id: Ifa3a7469a66ab932db20876697e45814f0c5ddc3
Yabin Cui [Wed, 4 Feb 2015 02:42:15 +0000 (02:42 +0000)]
Merge "Switch sem_t from bionic atomics to stdatomic.h."
Yabin Cui [Fri, 30 Jan 2015 20:30:08 +0000 (12:30 -0800)]
Switch sem_t from bionic atomics to stdatomic.h.
Bug:
17572887
Change-Id: If66851ba9b831cdd698b9f1303289bb14448bd03
Yabin Cui [Tue, 3 Feb 2015 22:28:55 +0000 (22:28 +0000)]
Merge "Add test about pthread_mutex_t owner tid limit."
Yabin Cui [Tue, 3 Feb 2015 18:32:00 +0000 (10:32 -0800)]
Add test about pthread_mutex_t owner tid limit.
Bug:
19216648
Change-Id: I7b12955bdcad31c13bf8ec2740ff88ba15223ec0
Nick Kralevich [Tue, 3 Feb 2015 20:17:32 +0000 (20:17 +0000)]
Merge "Ensure raw fchmod/fchmodat syscalls are hidden."
Nick Kralevich [Tue, 3 Feb 2015 19:27:25 +0000 (11:27 -0800)]
Ensure raw fchmod/fchmodat syscalls are hidden.
In https://android-review.googlesource.com/#/c/127908/5/libc/SYSCALLS.TXT@116
Elliott said:
for LP64 these will be hidden. for LP32 we were cowards and left
them all public for compatibility (though i don't think we ever
dremeled to see whether it was needed). we don't have an easy
way to recognize additions, though, so we can't prevent adding
new turds.
Add a mechanism to prevent the adding of new turds, and use that
mechanism on the fchmod/fchmodat system calls.
Bug:
19233951
Change-Id: I98f98345970b631a379f348df57858f9fc3d57c0
Hans Boehm [Tue, 3 Feb 2015 02:42:53 +0000 (02:42 +0000)]
Merge "Switch pthread_mutex_t from bionic atomics to <stdatomic.h>."
Elliott Hughes [Tue, 3 Feb 2015 01:21:16 +0000 (01:21 +0000)]
Merge "Clean up SEEK_SET definitions."
Yabin Cui [Fri, 30 Jan 2015 05:50:48 +0000 (21:50 -0800)]
Switch pthread_mutex_t from bionic atomics to <stdatomic.h>.
Bug:
17574456
Change-Id: I5ce3d3dc07e804e9ce55c42920f47531b56e04de
Nick Kralevich [Mon, 2 Feb 2015 22:03:41 +0000 (22:03 +0000)]
Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support"
Elliott Hughes [Mon, 2 Feb 2015 22:02:09 +0000 (14:02 -0800)]
Clean up SEEK_SET definitions.
If we lose the #ifndef, the compiler will tell us if the definitions
of SEEK_SET and friends ever get out of sync.
Change-Id: I357cabec7c9cd451c604342344f210bba20fb6bc