OSDN Git Service

android-x86/bionic.git
9 years agoam 3c1904fc: am faf5e195: am 0e61c2c0: Merge "Revert "Move use of __warnattr to __dep...
Yabin Cui [Wed, 18 Feb 2015 00:40:15 +0000 (00:40 +0000)]
am 3c1904fc: am faf5e195: am 0e61c2c0: Merge "Revert "Move use of __warnattr to __deprecated.""

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

9 years agoam 89838e6f: am 0769bb4f: am b5c23796: Merge "Move use of __warnattr to __deprecated."
Yabin Cui [Wed, 18 Feb 2015 00:30:31 +0000 (00:30 +0000)]
am 89838e6f: am 0769bb4f: am b5c23796: Merge "Move use of __warnattr to __deprecated."

* commit '89838e6f3468d9e01db30ee0d53265d2bf2b0432':
  Move use of __warnattr to __deprecated.

9 years agoam 6ead5855: am 2f86c3de: am 54b61b7c: Merge "Accuracy tests for libm"
Christopher Ferris [Wed, 18 Feb 2015 00:28:43 +0000 (00:28 +0000)]
am 6ead5855: am 2f86c3de: am 54b61b7c: Merge "Accuracy tests for libm"

* commit '6ead5855cbe9792b49c248dc649ec94ac4658b5c':
  Accuracy tests for libm

9 years agoam 7b07204d: am 515c1f23: am 89dad68e: Merge "Change getgrent error declaration messa...
Yabin Cui [Wed, 18 Feb 2015 00:28:42 +0000 (00:28 +0000)]
am 7b07204d: am 515c1f23: am 89dad68e: Merge "Change getgrent error declaration message to proper style."

* commit '7b07204d0c56c92660463e9a968e874efc746564':
  Change getgrent error declaration message to proper style.

9 years agoam e64fd0c6: am 5a973492: am c2085138: Merge "Fix sysconf for _SC_CHILD_MAX and _SC_O...
Elliott Hughes [Wed, 18 Feb 2015 00:28:35 +0000 (00:28 +0000)]
am e64fd0c6: am 5a973492: am c2085138: Merge "Fix sysconf for _SC_CHILD_MAX and _SC_OPEN_MAX."

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

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 ebaf7a25: am f8a49b04: am fb48c682: Merge "Fix memchr overflow."
Elliott Hughes [Tue, 17 Feb 2015 18:11:12 +0000 (18:11 +0000)]
am ebaf7a25: am f8a49b04: am fb48c682: Merge "Fix memchr overflow."

* commit 'ebaf7a250f6a9913e109a2ef9939c6d54de9cb63':
  Fix memchr overflow.

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 ea3fe53a: am 1084911f: am 40d06b25: Merge "POSIX says flock is in <sys/file.h...
Elliott Hughes [Tue, 17 Feb 2015 17:29:53 +0000 (17:29 +0000)]
am ea3fe53a: am 1084911f: am 40d06b25: Merge "POSIX says flock is in <sys/file.h>, not <unistd.h>."

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

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 agoam a822795f: am 66d53434: am dd5c92d4: Merge "Regression test for NDK bug 80199."
Elliott Hughes [Sun, 15 Feb 2015 00:30:15 +0000 (00:30 +0000)]
am a822795f: am 66d53434: am dd5c92d4: Merge "Regression test for NDK bug 80199."

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

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 9d7f68eb: am 4812bdf1: am 4181cc69: Merge "Declare getgrent/setgrent/endgrent...
Yabin Cui [Sat, 14 Feb 2015 02:52:50 +0000 (02:52 +0000)]
am 9d7f68eb: am 4812bdf1: am 4181cc69: Merge "Declare getgrent/setgrent/endgrent as missing."

* commit '9d7f68ebfd79b1ce54dc56bceb7346f34615e5a1':
  Declare getgrent/setgrent/endgrent as missing.

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 39c9f7bc: am 88117127: am b81a871c: Merge changes I88827aa0,Ib0b0987a
Dmitriy Ivanov [Sat, 14 Feb 2015 00:52:39 +0000 (00:52 +0000)]
am 39c9f7bc: am 88117127: am b81a871c: Merge changes I88827aa0,Ib0b0987a

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

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 15c60ccf: am d6a9f804: am 150403ca: Merge "Make .note.android.ident section type...
Colin Cross [Fri, 13 Feb 2015 20:34:29 +0000 (20:34 +0000)]
am 15c60ccf: am d6a9f804: am 150403ca: Merge "Make .note.android.ident section type SH_NOTE"

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

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 233c0da3: am fdea643a: am f9fb52ab: Merge "bionic: benchmarks: Add BM_semaphore_se...
Mark Salyzyn [Thu, 12 Feb 2015 21:36:29 +0000 (21:36 +0000)]
am 233c0da3: am fdea643a: am f9fb52ab: Merge "bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait"

* commit '233c0da3ef17592ddd3eb05c2e0b2729fd16f947':
  bionic: benchmarks: Add BM_semaphore_sem_post_sem_wait

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"

9 years agoam 71721a31: am baf16422: am 362d6779: Merge "Remove no-op sed step when compiling...
Colin Cross [Thu, 12 Feb 2015 19:30:44 +0000 (19:30 +0000)]
am 71721a31: am baf16422: am 362d6779: Merge "Remove no-op sed step when compiling crtbrand.o"

* commit '71721a31d02ec0f6946b7924cee9d461971512c0':
  Remove no-op sed step when compiling crtbrand.o

9 years agoam baf16422: am 362d6779: Merge "Remove no-op sed step when compiling crtbrand.o"
Colin Cross [Thu, 12 Feb 2015 18:26:53 +0000 (18:26 +0000)]
am baf16422: am 362d6779: Merge "Remove no-op sed step when compiling crtbrand.o"

* commit 'baf164221b1356fe13091c2ca4b357da9a4e237c':
  Remove no-op sed step when compiling crtbrand.o

9 years agoam 362d6779: Merge "Remove no-op sed step when compiling crtbrand.o"
Colin Cross [Thu, 12 Feb 2015 18:23:08 +0000 (18:23 +0000)]
am 362d6779: Merge "Remove no-op sed step when compiling crtbrand.o"

* commit '362d677924a5f92190884ff225fe64820ad5d997':
  Remove no-op sed step when compiling crtbrand.o

9 years agoMerge "Remove no-op sed step when compiling crtbrand.o"
Colin Cross [Thu, 12 Feb 2015 18:16:47 +0000 (18:16 +0000)]
Merge "Remove no-op sed step when compiling crtbrand.o"

9 years agobionic: benchmarks: Add BM_semaphore_sem_post_sem_wait
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

9 years agoRemove no-op sed step when compiling crtbrand.o
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

9 years agoam afccaadc: am 2c0e462f: am 0046c39f: Merge "[MIPS] Fix Mips64 build of libm"
Christopher Ferris [Wed, 11 Feb 2015 22:59:35 +0000 (22:59 +0000)]
am afccaadc: am 2c0e462f: am 0046c39f: Merge "[MIPS] Fix Mips64 build of libm"

* commit 'afccaadc927fd1a5c7e85288d8ea0c63c205846a':
  [MIPS] Fix Mips64 build of libm

9 years agoam 2c0e462f: am 0046c39f: Merge "[MIPS] Fix Mips64 build of libm"
Christopher Ferris [Wed, 11 Feb 2015 21:21:48 +0000 (21:21 +0000)]
am 2c0e462f: am 0046c39f: Merge "[MIPS] Fix Mips64 build of libm"

* commit '2c0e462f9819587b6376ed90f315e4d6c0b13612':
  [MIPS] Fix Mips64 build of libm

9 years agoam 0046c39f: Merge "[MIPS] Fix Mips64 build of libm"
Christopher Ferris [Wed, 11 Feb 2015 21:15:45 +0000 (21:15 +0000)]
am 0046c39f: Merge "[MIPS] Fix Mips64 build of libm"

* commit '0046c39f9ed6d7335f06e4d866df5ae0e7b4d485':
  [MIPS] Fix Mips64 build of libm

9 years agoMerge "[MIPS] Fix Mips64 build of libm"
Christopher Ferris [Wed, 11 Feb 2015 21:07:46 +0000 (21:07 +0000)]
Merge "[MIPS] Fix Mips64 build of libm"

9 years ago[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

9 years agoam a6754cf2: am fac5e95c: am ddae78fb: Merge "Fix our ftw tests."
Elliott Hughes [Wed, 11 Feb 2015 02:55:05 +0000 (02:55 +0000)]
am a6754cf2: am fac5e95c: am ddae78fb: Merge "Fix our ftw tests."

* commit 'a6754cf2d88cc411591d2d212e905bfb5e37c8af':
  Fix our ftw tests.

9 years agoam 8dc24ee5: am 3a31e697: am ee17e880: Merge "Define MAXHOSTNAMELEN explicitly in...
Yabin Cui [Wed, 11 Feb 2015 02:50:46 +0000 (02:50 +0000)]
am 8dc24ee5: am 3a31e697: am ee17e880: Merge "Define MAXHOSTNAMELEN explicitly in source files."

* commit '8dc24ee55e05cfb54af5ef29d9f8a19ef65462c1':
  Define MAXHOSTNAMELEN explicitly in source files.

9 years agoam 37529bc8: am 445c2020: am a57fd419: Merge "bionic: benchmarks: Add BM_semaphore_se...
Mark Salyzyn [Wed, 11 Feb 2015 02:49:09 +0000 (02:49 +0000)]
am 37529bc8: am 445c2020: am a57fd419: Merge "bionic: benchmarks: Add BM_semaphore_sem_post"

* commit '37529bc8451dbb4adbcc93234d064e576c456324':
  bionic: benchmarks: Add BM_semaphore_sem_post

9 years agoam 2cfbcb63: am 6fd3bcf6: am 6d99da04: Merge "Cleanup the libm makefile."
Christopher Ferris [Wed, 11 Feb 2015 02:49:08 +0000 (02:49 +0000)]
am 2cfbcb63: am 6fd3bcf6: am 6d99da04: Merge "Cleanup the libm makefile."

* commit '2cfbcb6364492ae95bda724fb7f4256014b11ccc':
  Cleanup the libm makefile.

9 years agoam c9f8c073: am fa592b2a: am e375ecaa: Merge "Switch pthread_cond_t to <stdatomic...
Yabin Cui [Wed, 11 Feb 2015 02:49:06 +0000 (02:49 +0000)]
am c9f8c073: am fa592b2a: am e375ecaa: Merge "Switch pthread_cond_t to <stdatomic.h>."

* commit 'c9f8c07373b2a71d682e3214c65e0c14c7c3f875':
  Switch pthread_cond_t to <stdatomic.h>.

9 years agoam 88c0719f: am 6a32443a: am a4fc89ba: Merge "Stop including <linux/param.h> in ...
Yabin Cui [Wed, 11 Feb 2015 02:49:05 +0000 (02:49 +0000)]
am 88c0719f: am 6a32443a: am a4fc89ba: Merge "Stop including <linux/param.h> in <sys/param.h>."

* commit '88c0719f8fa7c4127ffdf1a304716e3a63117bf7':
  Stop including <linux/param.h> in <sys/param.h>.

9 years agoam 17710068: am e163cb28: am f69139e1: Merge "Remove stray log line."
Narayan Kamath [Wed, 11 Feb 2015 02:49:03 +0000 (02:49 +0000)]
am 17710068: am e163cb28: am f69139e1: Merge "Remove stray log line."

* commit '1771006863186e19ddfcc55f5f870dc56c650177':
  Remove stray log line.

9 years agoam fac5e95c: am ddae78fb: Merge "Fix our ftw tests."
Elliott Hughes [Tue, 10 Feb 2015 23:46:48 +0000 (23:46 +0000)]
am fac5e95c: am ddae78fb: Merge "Fix our ftw tests."

* commit 'fac5e95c218381cb0c5748aadf70adfcc9414f83':
  Fix our ftw tests.

9 years agoam ddae78fb: Merge "Fix our ftw tests."
Elliott Hughes [Tue, 10 Feb 2015 23:40:39 +0000 (23:40 +0000)]
am ddae78fb: Merge "Fix our ftw tests."

* commit 'ddae78fba1ef7291d6a84bce11b0b8fff46f3547':
  Fix our ftw tests.

9 years agoMerge "Fix our ftw tests."
Elliott Hughes [Tue, 10 Feb 2015 23:34:18 +0000 (23:34 +0000)]
Merge "Fix our ftw tests."

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

9 years agoam 3a31e697: am ee17e880: Merge "Define MAXHOSTNAMELEN explicitly in source files."
Yabin Cui [Tue, 10 Feb 2015 18:09:57 +0000 (18:09 +0000)]
am 3a31e697: am ee17e880: Merge "Define MAXHOSTNAMELEN explicitly in source files."

* commit '3a31e697ca3c1207bfec64b555bcff7b129348a3':
  Define MAXHOSTNAMELEN explicitly in source files.

9 years agoam ee17e880: Merge "Define MAXHOSTNAMELEN explicitly in source files."
Yabin Cui [Tue, 10 Feb 2015 18:00:39 +0000 (18:00 +0000)]
am ee17e880: Merge "Define MAXHOSTNAMELEN explicitly in source files."

* commit 'ee17e8800418a74e21dba11658234363cf6f6032':
  Define MAXHOSTNAMELEN explicitly in source files.

9 years agoMerge "Define MAXHOSTNAMELEN explicitly in source files."
Yabin Cui [Tue, 10 Feb 2015 17:51:33 +0000 (17:51 +0000)]
Merge "Define MAXHOSTNAMELEN explicitly in source files."

9 years agoam 445c2020: am a57fd419: Merge "bionic: benchmarks: Add BM_semaphore_sem_post"
Mark Salyzyn [Tue, 10 Feb 2015 16:54:32 +0000 (16:54 +0000)]
am 445c2020: am a57fd419: Merge "bionic: benchmarks: Add BM_semaphore_sem_post"

* commit '445c202073f4fd35e1171dc11bcd13a7accf7018':
  bionic: benchmarks: Add BM_semaphore_sem_post

9 years agoam 6fd3bcf6: am 6d99da04: Merge "Cleanup the libm makefile."
Christopher Ferris [Tue, 10 Feb 2015 16:53:33 +0000 (16:53 +0000)]
am 6fd3bcf6: am 6d99da04: Merge "Cleanup the libm makefile."

* commit '6fd3bcf6ce2290f4e44547fb875af4ac3c741130':
  Cleanup the libm makefile.

9 years agoam fa592b2a: am e375ecaa: Merge "Switch pthread_cond_t to <stdatomic.h>."
Yabin Cui [Tue, 10 Feb 2015 16:53:28 +0000 (16:53 +0000)]
am fa592b2a: am e375ecaa: Merge "Switch pthread_cond_t to <stdatomic.h>."

* commit 'fa592b2a903a6e5110c6daf0959cc7211fc476d7':
  Switch pthread_cond_t to <stdatomic.h>.

9 years agoam 6a32443a: am a4fc89ba: Merge "Stop including <linux/param.h> in <sys/param.h>."
Yabin Cui [Tue, 10 Feb 2015 16:51:48 +0000 (16:51 +0000)]
am 6a32443a: am a4fc89ba: Merge "Stop including <linux/param.h> in <sys/param.h>."

* commit '6a32443aa3e2544000314adf80d4e081d36d170d':
  Stop including <linux/param.h> in <sys/param.h>.

9 years agoam e163cb28: am f69139e1: Merge "Remove stray log line."
Narayan Kamath [Tue, 10 Feb 2015 16:51:44 +0000 (16:51 +0000)]
am e163cb28: am f69139e1: Merge "Remove stray log line."

* commit 'e163cb28b9b89f315000c1c480ee0cb2b3c26744':
  Remove stray log line.

9 years agoam a57fd419: Merge "bionic: benchmarks: Add BM_semaphore_sem_post"
Mark Salyzyn [Tue, 10 Feb 2015 15:24:48 +0000 (15:24 +0000)]
am a57fd419: Merge "bionic: benchmarks: Add BM_semaphore_sem_post"

* commit 'a57fd419bc56add6752cd9fa6f53fe2b43dff019':
  bionic: benchmarks: Add BM_semaphore_sem_post

9 years agoMerge "bionic: benchmarks: Add BM_semaphore_sem_post"
Mark Salyzyn [Tue, 10 Feb 2015 15:16:33 +0000 (15:16 +0000)]
Merge "bionic: benchmarks: Add BM_semaphore_sem_post"

9 years agoDefine MAXHOSTNAMELEN explicitly in source files.
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

9 years agobionic: benchmarks: Add BM_semaphore_sem_post
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

9 years agoam 6d99da04: Merge "Cleanup the libm makefile."
Christopher Ferris [Tue, 10 Feb 2015 00:38:39 +0000 (00:38 +0000)]
am 6d99da04: Merge "Cleanup the libm makefile."

* commit '6d99da0477f8589df01307067823c3925e40bd91':
  Cleanup the libm makefile.

9 years agoMerge "Cleanup the libm makefile."
Christopher Ferris [Tue, 10 Feb 2015 00:31:05 +0000 (00:31 +0000)]
Merge "Cleanup the libm makefile."

9 years agoam e375ecaa: Merge "Switch pthread_cond_t to <stdatomic.h>."
Yabin Cui [Tue, 10 Feb 2015 00:18:47 +0000 (00:18 +0000)]
am e375ecaa: Merge "Switch pthread_cond_t to <stdatomic.h>."

* commit 'e375ecaa39213ec01464dac9d0ffebaac70b4e9d':
  Switch pthread_cond_t to <stdatomic.h>.

9 years agoMerge "Switch pthread_cond_t to <stdatomic.h>."
Yabin Cui [Tue, 10 Feb 2015 00:10:45 +0000 (00:10 +0000)]
Merge "Switch pthread_cond_t to <stdatomic.h>."

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

9 years agoCleanup the libm makefile.
Christopher Ferris [Fri, 23 Jan 2015 01:16:33 +0000 (17:16 -0800)]
Cleanup the libm makefile.

Change-Id: I3d95f75da24ee3b064a9cce67586b0e6f32272d8