OSDN Git Service

android-x86/bionic.git
9 years agoam 07e218a4: am 3d83b189: Merge "[MIPS64] Fix mips64 build."
Elliott Hughes [Mon, 23 Feb 2015 16:12:38 +0000 (16:12 +0000)]
am 07e218a4: am 3d83b189: Merge "[MIPS64] Fix mips64 build."

* commit '07e218a484d8a1ac71c3b9317e86f5ba39aae919':
  [MIPS64] Fix mips64 build.

9 years agoam 3d83b189: Merge "[MIPS64] Fix mips64 build."
Elliott Hughes [Mon, 23 Feb 2015 16:09:17 +0000 (16:09 +0000)]
am 3d83b189: Merge "[MIPS64] Fix mips64 build."

* commit '3d83b18970f32467596830845793b18a858f59e6':
  [MIPS64] Fix mips64 build.

9 years agoMerge "[MIPS64] Fix mips64 build."
Elliott Hughes [Mon, 23 Feb 2015 16:04:20 +0000 (16:04 +0000)]
Merge "[MIPS64] Fix mips64 build."

9 years ago[MIPS64] Fix mips64 build.
Nikola Veljkovic [Mon, 23 Feb 2015 15:14:56 +0000 (16:14 +0100)]
[MIPS64] Fix mips64 build.

Build was broken by:
https://android-review.googlesource.com/133834

Use <unistd.h> to get syscall().
Remove <asm/unistd.h>, it gets included through <sys/syscall.h>.

Change-Id: Id762f6dea5f9538c19b79cdd46deda978efd50fe

9 years agoam 4602d8c7: am 04bbef37: Merge "Fix 64-bit benchmark build"
Greg Hackmann [Fri, 20 Feb 2015 19:27:13 +0000 (19:27 +0000)]
am 4602d8c7: am 04bbef37: Merge "Fix 64-bit benchmark build"

* commit '4602d8c7621ffd87e32f53c8f7e8ac5453a404ca':
  Fix 64-bit benchmark build

9 years agoam 04bbef37: Merge "Fix 64-bit benchmark build"
Greg Hackmann [Fri, 20 Feb 2015 19:21:19 +0000 (19:21 +0000)]
am 04bbef37: Merge "Fix 64-bit benchmark build"

* commit '04bbef377b9941bf6d67d9c515b6640a314fb032':
  Fix 64-bit benchmark build

9 years agoMerge "Fix 64-bit benchmark build"
Greg Hackmann [Fri, 20 Feb 2015 19:16:48 +0000 (19:16 +0000)]
Merge "Fix 64-bit benchmark build"

9 years agoFix 64-bit benchmark build
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>
9 years agoam 6421f8f5: am c39eef71: Merge "valgrind can\'t find syscall because we didn\'t...
Elliott Hughes [Fri, 20 Feb 2015 17:08:47 +0000 (17:08 +0000)]
am 6421f8f5: am c39eef71: Merge "valgrind can\'t find syscall because we didn\'t put it in <unistd.h>."

* commit '6421f8f5b21357b3f956f4b20c3622f96863a219':
  valgrind can't find syscall because we didn't put it in <unistd.h>.

9 years agoam c39eef71: Merge "valgrind can\'t find syscall because we didn\'t put it in <unistd...
Elliott Hughes [Fri, 20 Feb 2015 17:02:25 +0000 (17:02 +0000)]
am c39eef71: Merge "valgrind can\'t find syscall because we didn\'t put it in <unistd.h>."

* commit 'c39eef71a7f66b69e2216a51d0e7fbc1796d0696':
  valgrind can't find syscall because we didn't put it in <unistd.h>.

9 years agoMerge "valgrind can't find syscall because we didn't put it in <unistd.h>."
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>."

9 years agovalgrind 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

9 years agoam 479070c5: am 324313a9: Merge "Refactor the benchmark code."
Christopher Ferris [Fri, 20 Feb 2015 01:03:22 +0000 (01:03 +0000)]
am 479070c5: am 324313a9: Merge "Refactor the benchmark code."

* commit '479070c51e34f9f9f809df4daa8184e5b2947f14':
  Refactor the benchmark code.

9 years agoam 324313a9: Merge "Refactor the benchmark code."
Christopher Ferris [Fri, 20 Feb 2015 00:59:18 +0000 (00:59 +0000)]
am 324313a9: Merge "Refactor the benchmark code."

* commit '324313a9e58c0e8d2546d124d8fcf04306a114f5':
  Refactor the benchmark code.

9 years agoMerge "Refactor the benchmark code."
Christopher Ferris [Fri, 20 Feb 2015 00:53:24 +0000 (00:53 +0000)]
Merge "Refactor the benchmark code."

9 years agoam a6395dda: Merge commit \'9d7f68ebfd79b1ce54dc56bceb7346f34615e5a1\' into HEAD
Bill Yi [Fri, 20 Feb 2015 00:22:45 +0000 (00:22 +0000)]
am a6395dda: Merge commit \'9d7f68ebfd79b1ce54dc56bceb7346f34615e5a1\' into HEAD

* commit 'a6395dda54057170fc66faf00410e983202aa7e0':

9 years agoRefactor 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

9 years agoMerge commit '9d7f68ebfd79b1ce54dc56bceb7346f34615e5a1' into HEAD
Bill Yi [Thu, 19 Feb 2015 22:30:25 +0000 (14:30 -0800)]
Merge commit '9d7f68ebfd79b1ce54dc56bceb7346f34615e5a1' into HEAD

9 years agoRevert "Modify test to avoid race condition."
Christopher Ferris [Thu, 19 Feb 2015 21:35:16 +0000 (21:35 +0000)]
Revert "Modify test to avoid race condition."

This reverts commit 3da136aa47e2d1608b98abb2580f024b36f92831.

This change is not needed any where but lmp mr1.

Change-Id: I3f38e2e8e418959a487bc0c4148d3238743e4626

9 years agoam d071b814: am 97484d3a: Merge "Add GNU extensions mempcpy and wmemcpy."
Elliott Hughes [Thu, 19 Feb 2015 16:01:31 +0000 (16:01 +0000)]
am d071b814: am 97484d3a: Merge "Add GNU extensions mempcpy and wmemcpy."

* commit 'd071b814ac5674ca032c05f369b2606cf3520332':
  Add GNU extensions mempcpy and wmemcpy.

9 years agoam 97484d3a: Merge "Add GNU extensions mempcpy and wmemcpy."
Elliott Hughes [Thu, 19 Feb 2015 15:55:12 +0000 (15:55 +0000)]
am 97484d3a: Merge "Add GNU extensions mempcpy and wmemcpy."

* commit '97484d3a9d0d822aeaaa1547aeb76d7669076082':
  Add GNU extensions mempcpy and wmemcpy.

9 years agoMerge "Add GNU extensions mempcpy and wmemcpy."
Elliott Hughes [Thu, 19 Feb 2015 15:49:53 +0000 (15:49 +0000)]
Merge "Add GNU extensions mempcpy and wmemcpy."

9 years agoAdd 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

9 years agoam 43379c9c: am 3e1b5f46: Merge "Parameterize use of clang in libc_ndk."
Dan Albert [Thu, 19 Feb 2015 02:44:25 +0000 (02:44 +0000)]
am 43379c9c: am 3e1b5f46: Merge "Parameterize use of clang in libc_ndk."

* commit '43379c9cfd7416e448b9b2834dd4f7b80697942a':
  Parameterize use of clang in libc_ndk.

9 years agoam 3e1b5f46: Merge "Parameterize use of clang in libc_ndk."
Dan Albert [Thu, 19 Feb 2015 02:37:21 +0000 (02:37 +0000)]
am 3e1b5f46: Merge "Parameterize use of clang in libc_ndk."

* commit '3e1b5f46c07aef5983ecf2feb1c3369b2cd200c0':
  Parameterize use of clang in libc_ndk.

9 years agoMerge "Parameterize use of clang in libc_ndk."
Dan Albert [Thu, 19 Feb 2015 02:33:08 +0000 (02:33 +0000)]
Merge "Parameterize use of clang in libc_ndk."

9 years agoam 3da136aa: Modify test to avoid race condition.
Christopher Ferris [Thu, 19 Feb 2015 02:12:45 +0000 (02:12 +0000)]
am 3da136aa: Modify test to avoid race condition.

* commit '3da136aa47e2d1608b98abb2580f024b36f92831':
  Modify test to avoid race condition.

9 years agoModify test to avoid race condition.
Christopher Ferris [Thu, 19 Feb 2015 01:11:47 +0000 (17:11 -0800)]
Modify test to avoid race condition.

There is a possible race if a timer is set to trigger at nearly the same
time as it is set. Since nobody uses the timers like this, modify the test
so this doesn't happen. The race that this can provoke has been fixed in
aosp.

Bug: 19423618
Change-Id: I21084c99da5ae46f404936d673dae6bad7c82caa

9 years agoParameterize 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

9 years agoam 1cb009fb: am d3fa31a5: Merge "[MIPS] Fix setjmp signals"
Elliott Hughes [Thu, 19 Feb 2015 01:12:41 +0000 (01:12 +0000)]
am 1cb009fb: am d3fa31a5: Merge "[MIPS] Fix setjmp signals"

* commit '1cb009fb5eb513e838085d75617db676fcfa7aa7':
  [MIPS] Fix setjmp signals

9 years agoam d3fa31a5: Merge "[MIPS] Fix setjmp signals"
Elliott Hughes [Thu, 19 Feb 2015 01:06:06 +0000 (01:06 +0000)]
am d3fa31a5: Merge "[MIPS] Fix setjmp signals"

* commit 'd3fa31a55d542d51fc3f2df46af7c1b701ecb86e':
  [MIPS] Fix setjmp signals

9 years agoMerge "[MIPS] Fix setjmp signals"
Elliott Hughes [Thu, 19 Feb 2015 01:00:18 +0000 (01:00 +0000)]
Merge "[MIPS] Fix setjmp signals"

9 years agoam 37197363: am 4add77b9: Merge "Make gets() deprecated."
Yabin Cui [Wed, 18 Feb 2015 22:57:05 +0000 (22:57 +0000)]
am 37197363: am 4add77b9: Merge "Make gets() deprecated."

* commit '371973633c579a32125c4b01c4235eb5f529cb4e':
  Make gets() deprecated.

9 years agoam 08148bc9: am 1dbc6bb0: Merge "Implement _FILE_OFFSET_BITS (mostly)."
Elliott Hughes [Wed, 18 Feb 2015 22:57:04 +0000 (22:57 +0000)]
am 08148bc9: am 1dbc6bb0: Merge "Implement _FILE_OFFSET_BITS (mostly)."

* commit '08148bc9825ea337168819f3d92a0c7ef4ffe1f9':
  Implement _FILE_OFFSET_BITS (mostly).

9 years agoam 4add77b9: Merge "Make gets() deprecated."
Yabin Cui [Wed, 18 Feb 2015 22:50:54 +0000 (22:50 +0000)]
am 4add77b9: Merge "Make gets() deprecated."

* commit '4add77b93c0c61381faa9d4d8dc62f81cafcc69a':
  Make gets() deprecated.

9 years agoam 1dbc6bb0: Merge "Implement _FILE_OFFSET_BITS (mostly)."
Elliott Hughes [Wed, 18 Feb 2015 22:50:32 +0000 (22:50 +0000)]
am 1dbc6bb0: Merge "Implement _FILE_OFFSET_BITS (mostly)."

* commit '1dbc6bb02521ba1535748826eeaf28404160d788':
  Implement _FILE_OFFSET_BITS (mostly).

9 years agoMerge "Make gets() deprecated."
Yabin Cui [Wed, 18 Feb 2015 21:33:01 +0000 (21:33 +0000)]
Merge "Make gets() deprecated."

9 years agoMake 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

9 years agoMerge "Implement _FILE_OFFSET_BITS (mostly)."
Elliott Hughes [Wed, 18 Feb 2015 18:01:04 +0000 (18:01 +0000)]
Merge "Implement _FILE_OFFSET_BITS (mostly)."

9 years agoam 77f3c847: am 9ec37c7f: Merge "Update tzdata to tzdata2015a"
Neil Fuller [Wed, 18 Feb 2015 10:18:10 +0000 (10:18 +0000)]
am 77f3c847: am 9ec37c7f: Merge "Update tzdata to tzdata2015a"

* commit '77f3c847c4b04c8d28f81b3cb0c2782fadf928f9':
  Update tzdata to tzdata2015a

9 years agoam 9ec37c7f: Merge "Update tzdata to tzdata2015a"
Neil Fuller [Wed, 18 Feb 2015 10:13:59 +0000 (10:13 +0000)]
am 9ec37c7f: Merge "Update tzdata to tzdata2015a"

* commit '9ec37c7fa979c573e5743c343d38370cab1a67e4':
  Update tzdata to tzdata2015a

9 years agoMerge "Update tzdata to tzdata2015a"
Neil Fuller [Wed, 18 Feb 2015 09:42:31 +0000 (09:42 +0000)]
Merge "Update tzdata to tzdata2015a"

9 years agoImplement _FILE_OFFSET_BITS (mostly).
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

9 years agoam a9751801: am 5890ec3e: Merge "Update NDK compatlib for 4.1.2."
Dan Albert [Wed, 18 Feb 2015 01:17:12 +0000 (01:17 +0000)]
am a9751801: am 5890ec3e: Merge "Update NDK compatlib for 4.1.2."

* commit 'a9751801481e112bbe1fe97e7300a395f418b96a':
  Update NDK compatlib for 4.1.2.

9 years agoam 814bce07: am 21ba1d4c: Merge "Update the NDK compatlib for 4.4.4 and ToT."
Dan Albert [Wed, 18 Feb 2015 01:17:11 +0000 (01:17 +0000)]
am 814bce07: am 21ba1d4c: Merge "Update the NDK compatlib for 4.4.4 and ToT."

* commit '814bce074dac0359a7251904000d2f89ad6164a4':
  Update the NDK compatlib for 4.4.4 and ToT.

9 years agoam 5890ec3e: Merge "Update NDK compatlib for 4.1.2."
Dan Albert [Wed, 18 Feb 2015 01:10:42 +0000 (01:10 +0000)]
am 5890ec3e: Merge "Update NDK compatlib for 4.1.2."

* commit '5890ec3e229cbe115308e103111fec471f2319b7':
  Update NDK compatlib for 4.1.2.

9 years agoam 21ba1d4c: Merge "Update the NDK compatlib for 4.4.4 and ToT."
Dan Albert [Wed, 18 Feb 2015 01:10:41 +0000 (01:10 +0000)]
am 21ba1d4c: Merge "Update the NDK compatlib for 4.4.4 and ToT."

* commit '21ba1d4ce43b1619e0d0a8248f6249810cabe374':
  Update the NDK compatlib for 4.4.4 and ToT.

9 years agoMerge "Update NDK compatlib for 4.1.2."
Dan Albert [Wed, 18 Feb 2015 01:05:48 +0000 (01:05 +0000)]
Merge "Update NDK compatlib for 4.1.2."

9 years agoMerge "Update the NDK compatlib for 4.4.4 and ToT."
Dan Albert [Wed, 18 Feb 2015 01:05:43 +0000 (01:05 +0000)]
Merge "Update the NDK compatlib for 4.4.4 and ToT."

9 years agoUpdate NDK compatlib for 4.1.2.
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

9 years agoUpdate the NDK compatlib for 4.4.4 and ToT.
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

9 years agoam faf5e195: am 0e61c2c0: Merge "Revert "Move use of __warnattr to __deprecated.""
Yabin Cui [Wed, 18 Feb 2015 00:03:45 +0000 (00:03 +0000)]
am faf5e195: am 0e61c2c0: Merge "Revert "Move use of __warnattr to __deprecated.""

* commit 'faf5e195e1a06f8c738b34cc939e6432535c8ff3':
  Revert "Move use of __warnattr to __deprecated."

9 years agoam 0e61c2c0: Merge "Revert "Move use of __warnattr to __deprecated.""
Yabin Cui [Tue, 17 Feb 2015 23:59:58 +0000 (23:59 +0000)]
am 0e61c2c0: Merge "Revert "Move use of __warnattr to __deprecated.""

* commit '0e61c2c0ea201e157d0d3d3c04564588bcfb7c66':
  Revert "Move use of __warnattr to __deprecated."

9 years agoMerge "Revert "Move use of __warnattr to __deprecated.""
Yabin Cui [Tue, 17 Feb 2015 23:56:29 +0000 (23:56 +0000)]
Merge "Revert "Move use of __warnattr to __deprecated.""

9 years agoRevert "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

9 years agoam 0769bb4f: am b5c23796: Merge "Move use of __warnattr to __deprecated."
Yabin Cui [Tue, 17 Feb 2015 23:20:55 +0000 (23:20 +0000)]
am 0769bb4f: am b5c23796: Merge "Move use of __warnattr to __deprecated."

* commit '0769bb4fcf5dfcc346330430a7f649d3be8f2346':
  Move use of __warnattr to __deprecated.

9 years agoam b5c23796: Merge "Move use of __warnattr to __deprecated."
Yabin Cui [Tue, 17 Feb 2015 23:16:01 +0000 (23:16 +0000)]
am b5c23796: Merge "Move use of __warnattr to __deprecated."

* commit 'b5c23796872dee26d7fa88f0a41801dcc6090d99':
  Move use of __warnattr to __deprecated.

9 years agoMerge "Move use of __warnattr to __deprecated."
Yabin Cui [Tue, 17 Feb 2015 23:10:30 +0000 (23:10 +0000)]
Merge "Move use of __warnattr to __deprecated."

9 years agoMove 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

9 years agoam 2f86c3de: am 54b61b7c: Merge "Accuracy tests for libm"
Christopher Ferris [Tue, 17 Feb 2015 21:50:27 +0000 (21:50 +0000)]
am 2f86c3de: am 54b61b7c: Merge "Accuracy tests for libm"

* commit '2f86c3deb52bfd46614b16b9debbadac41baec89':
  Accuracy tests for libm

9 years agoam 515c1f23: am 89dad68e: Merge "Change getgrent error declaration message to proper...
Yabin Cui [Tue, 17 Feb 2015 21:46:39 +0000 (21:46 +0000)]
am 515c1f23: am 89dad68e: Merge "Change getgrent error declaration message to proper style."

* commit '515c1f234bade0ad63d25c07cf57f058fa5934ea':
  Change getgrent error declaration message to proper style.

9 years agoam 54b61b7c: Merge "Accuracy tests for libm"
Christopher Ferris [Tue, 17 Feb 2015 21:46:38 +0000 (21:46 +0000)]
am 54b61b7c: Merge "Accuracy tests for libm"

* commit '54b61b7ca7d7c9c7474e2beb35d20a9ab635529f':
  Accuracy tests for libm

9 years agoMerge "Accuracy tests for libm"
Christopher Ferris [Tue, 17 Feb 2015 21:41:41 +0000 (21:41 +0000)]
Merge "Accuracy tests for libm"

9 years agoam 89dad68e: Merge "Change getgrent error declaration message to proper style."
Yabin Cui [Tue, 17 Feb 2015 21:36:33 +0000 (21:36 +0000)]
am 89dad68e: Merge "Change getgrent error declaration message to proper style."

* commit '89dad68efb07ef0868c2ac35737a4b2c83aea326':
  Change getgrent error declaration message to proper style.

9 years agoam 5a973492: am c2085138: Merge "Fix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX."
Elliott Hughes [Tue, 17 Feb 2015 21:32:28 +0000 (21:32 +0000)]
am 5a973492: am c2085138: Merge "Fix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX."

* commit '5a9734920c25ebb1aed389fd87fa9a26904aa239':
  Fix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX.

9 years agoMerge "Change getgrent error declaration message to proper style."
Yabin Cui [Tue, 17 Feb 2015 21:29:21 +0000 (21:29 +0000)]
Merge "Change getgrent error declaration message to proper style."

9 years agoam c2085138: Merge "Fix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX."
Elliott Hughes [Tue, 17 Feb 2015 21:26:25 +0000 (21:26 +0000)]
am c2085138: Merge "Fix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX."

* commit 'c20851380cf5466a8bc422e7c26d3868a95423a9':
  Fix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX.

9 years agoMerge "Fix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX."
Elliott Hughes [Tue, 17 Feb 2015 21:20:39 +0000 (21:20 +0000)]
Merge "Fix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX."

9 years agoChange getgrent error declaration message to proper style.
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

9 years agoam f8a49b04: am fb48c682: Merge "Fix memchr overflow."
Elliott Hughes [Tue, 17 Feb 2015 18:04:53 +0000 (18:04 +0000)]
am f8a49b04: am fb48c682: Merge "Fix memchr overflow."

* commit 'f8a49b04a981d867c4deda6f27deaf702711cfc1':
  Fix memchr overflow.

9 years agoam fb48c682: Merge "Fix memchr overflow."
Elliott Hughes [Tue, 17 Feb 2015 17:58:51 +0000 (17:58 +0000)]
am fb48c682: Merge "Fix memchr overflow."

* commit 'fb48c68221afb1f9e7c63a15a20cca0857d1b9f9':
  Fix memchr overflow.

9 years agoFix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX.
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

9 years agoMerge "Fix memchr overflow."
Elliott Hughes [Tue, 17 Feb 2015 17:54:39 +0000 (17:54 +0000)]
Merge "Fix memchr overflow."

9 years agoam 1084911f: am 40d06b25: Merge "POSIX says flock is in <sys/file.h>, not <unistd...
Elliott Hughes [Tue, 17 Feb 2015 17:23:26 +0000 (17:23 +0000)]
am 1084911f: am 40d06b25: Merge "POSIX says flock is in <sys/file.h>, not <unistd.h>."

* commit '1084911fc297b262600a5caed9a94d6ddde7cc66':
  POSIX says flock is in <sys/file.h>, not <unistd.h>.

9 years agoam 40d06b25: Merge "POSIX says flock is in <sys/file.h>, not <unistd.h>."
Elliott Hughes [Tue, 17 Feb 2015 17:19:06 +0000 (17:19 +0000)]
am 40d06b25: Merge "POSIX says flock is in <sys/file.h>, not <unistd.h>."

* commit '40d06b25ac86260e9c1701540420c9634bab8bad':
  POSIX says flock is in <sys/file.h>, not <unistd.h>.

9 years agoMerge "POSIX says flock is in <sys/file.h>, not <unistd.h>."
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>."

9 years agoPOSIX 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

9 years agoUpdate tzdata to tzdata2015a
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

9 years agoam 66d53434: am dd5c92d4: Merge "Regression test for NDK bug 80199."
Elliott Hughes [Sun, 15 Feb 2015 00:26:58 +0000 (00:26 +0000)]
am 66d53434: am dd5c92d4: Merge "Regression test for NDK bug 80199."

* commit '66d534347748cec93ea214ebc8d2291b59b58b8d':
  Regression test for NDK bug 80199.

9 years agoam dd5c92d4: Merge "Regression test for NDK bug 80199."
Elliott Hughes [Sun, 15 Feb 2015 00:24:03 +0000 (00:24 +0000)]
am dd5c92d4: Merge "Regression test for NDK bug 80199."

* commit 'dd5c92d4b0cb6c43002112ab50c1df73d06ab2aa':
  Regression test for NDK bug 80199.

9 years agoMerge "Regression test for NDK bug 80199."
Elliott Hughes [Sun, 15 Feb 2015 00:18:22 +0000 (00:18 +0000)]
Merge "Regression test for NDK bug 80199."

9 years agoRegression 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

9 years agoFix memchr overflow.
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

9 years agoam 4812bdf1: am 4181cc69: Merge "Declare getgrent/setgrent/endgrent as missing."
Yabin Cui [Sat, 14 Feb 2015 02:46:43 +0000 (02:46 +0000)]
am 4812bdf1: am 4181cc69: Merge "Declare getgrent/setgrent/endgrent as missing."

* commit '4812bdf1b160fb803dd86a393daf2ae725029c2e':
  Declare getgrent/setgrent/endgrent as missing.

9 years agoam 4181cc69: Merge "Declare getgrent/setgrent/endgrent as missing."
Yabin Cui [Sat, 14 Feb 2015 02:42:32 +0000 (02:42 +0000)]
am 4181cc69: Merge "Declare getgrent/setgrent/endgrent as missing."

* commit '4181cc691e36546c556274d46d389d7e0cb9cfab':
  Declare getgrent/setgrent/endgrent as missing.

9 years agoMerge "Declare getgrent/setgrent/endgrent as missing."
Yabin Cui [Sat, 14 Feb 2015 02:37:19 +0000 (02:37 +0000)]
Merge "Declare getgrent/setgrent/endgrent as missing."

9 years agoam 88117127: am b81a871c: Merge changes I88827aa0,Ib0b0987a
Dmitriy Ivanov [Sat, 14 Feb 2015 00:49:33 +0000 (00:49 +0000)]
am 88117127: am b81a871c: Merge changes I88827aa0,Ib0b0987a

* commit '88117127defa6aeb26840ec8547486aefd5edd73':
  Fix: DT_DEBUG was acting as DT_REL on mips64
  Add missing SHT_LOOS/SHT_HIOS values

9 years agoam b81a871c: Merge changes I88827aa0,Ib0b0987a
Dmitriy Ivanov [Sat, 14 Feb 2015 00:43:56 +0000 (00:43 +0000)]
am b81a871c: Merge changes I88827aa0,Ib0b0987a

* commit 'b81a871cbb2d99168bdb8380b6142139135f418f':
  Fix: DT_DEBUG was acting as DT_REL on mips64
  Add missing SHT_LOOS/SHT_HIOS values

9 years agoMerge changes I88827aa0,Ib0b0987a
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

9 years agoFix: DT_DEBUG was acting as DT_REL on mips64
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

9 years agoAdd missing SHT_LOOS/SHT_HIOS values
Dmitriy Ivanov [Sat, 14 Feb 2015 00:25:43 +0000 (16:25 -0800)]
Add missing SHT_LOOS/SHT_HIOS values

Change-Id: Ib0b0987a7e85af7863c6ef894263b5980e32344d

9 years agoam d6a9f804: am 150403ca: Merge "Make .note.android.ident section type SH_NOTE"
Colin Cross [Fri, 13 Feb 2015 20:29:34 +0000 (20:29 +0000)]
am d6a9f804: am 150403ca: Merge "Make .note.android.ident section type SH_NOTE"

* commit 'd6a9f804a9c95942bddc9afa243c339d72371008':
  Make .note.android.ident section type SH_NOTE

9 years agoam 150403ca: Merge "Make .note.android.ident section type SH_NOTE"
Colin Cross [Fri, 13 Feb 2015 20:23:24 +0000 (20:23 +0000)]
am 150403ca: Merge "Make .note.android.ident section type SH_NOTE"

* commit '150403caa8135bef5d5df37e288276ac4f95a234':
  Make .note.android.ident section type SH_NOTE

9 years agoDeclare getgrent/setgrent/endgrent as missing.
Yabin Cui [Fri, 13 Feb 2015 18:52:35 +0000 (10:52 -0800)]
Declare getgrent/setgrent/endgrent as missing.

Bug: 19340053
Change-Id: I42bfeda95e6f262e2e74ab47336ea346c2de7e4a

9 years agoMerge "Make .note.android.ident section type SH_NOTE"
Colin Cross [Fri, 13 Feb 2015 18:38:02 +0000 (18:38 +0000)]
Merge "Make .note.android.ident section type SH_NOTE"

9 years agoAccuracy tests for libm
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>
9 years agoMake .note.android.ident section type SH_NOTE
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

9 years agoam fdea643a: am f9fb52ab: Merge "bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait"
Mark Salyzyn [Thu, 12 Feb 2015 21:03:12 +0000 (21:03 +0000)]
am fdea643a: am f9fb52ab: Merge "bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait"

* commit 'fdea643af96379b5a19968d91ba6dc1758d8dcdf':
  bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait

9 years agoam f9fb52ab: Merge "bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait"
Mark Salyzyn [Thu, 12 Feb 2015 20:57:41 +0000 (20:57 +0000)]
am f9fb52ab: Merge "bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait"

* commit 'f9fb52ab309c97d5b2ef4f8e1daff3eed4cf4024':
  bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait

9 years agoMerge "bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait"
Mark Salyzyn [Thu, 12 Feb 2015 20:52:57 +0000 (20:52 +0000)]
Merge "bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait"