OSDN Git Service

android-x86/bionic.git
10 years agoHide declaration of gets(3) for C11 and later.
Dan Albert [Tue, 17 Jun 2014 23:31:21 +0000 (23:31 +0000)]
Hide declaration of gets(3) for C11 and later.

gets(3) was removed from C11.

This reverts commit 1291680c2a0c23b2163198d27e00261ca206298b.

Bug: 14500800
Change-Id: I5e5146bdbb80f2be818a17f287b112bab37d1f6d

10 years agoMerge "Revert "Hide declaration of gets(3) for C11 and later.""
Dan Albert [Tue, 17 Jun 2014 23:28:54 +0000 (23:28 +0000)]
Merge "Revert "Hide declaration of gets(3) for C11 and later.""

10 years agoRevert "Hide declaration of gets(3) for C11 and later."
Dan Albert [Tue, 17 Jun 2014 23:23:59 +0000 (23:23 +0000)]
Revert "Hide declaration of gets(3) for C11 and later."

Breaks stlport. checkbuild lied to me?

This reverts commit c0ce5908277a9bf18628946629dba4277e9a2281.

Change-Id: I72fb21aba7eaea96a7c3208236fd03411527fa5e

10 years agoHide declaration of gets(3) for C11 and later.
Dan Albert [Tue, 17 Jun 2014 22:33:31 +0000 (15:33 -0700)]
Hide declaration of gets(3) for C11 and later.

gets(3) was removed from C11.

Change-Id: I4040a8a6c6d5d2a86878e8a80ca67964fbbb82a8

10 years agoMerge "Hide declaration of gets(3) for C11 and later."
Dan Albert [Tue, 17 Jun 2014 23:19:10 +0000 (23:19 +0000)]
Merge "Hide declaration of gets(3) for C11 and later."

10 years agoMerge "Move libraries for unit-tests to separate folder"
Dmitriy Ivanov [Tue, 17 Jun 2014 23:17:20 +0000 (23:17 +0000)]
Merge "Move libraries for unit-tests to separate folder"

10 years agoMove libraries for unit-tests to separate folder
Dmitriy Ivanov [Mon, 2 Jun 2014 23:29:00 +0000 (16:29 -0700)]
Move libraries for unit-tests to separate folder

Change-Id: I1653f3f2fd63ba25525369bc725c8f7438ecf021

10 years agoMerge "Add a flag control that PRIVATE libm can be chosen"
Elliott Hughes [Tue, 17 Jun 2014 22:25:09 +0000 (22:25 +0000)]
Merge "Add a flag control that PRIVATE libm can be chosen"

10 years agoMerge "Add <linux/tty.h> to libc/include/sys/ioctl.h"
Elliott Hughes [Tue, 17 Jun 2014 21:43:57 +0000 (21:43 +0000)]
Merge "Add <linux/tty.h> to libc/include/sys/ioctl.h"

10 years agoMerge "Use a separate config.h for config like defines."
Christopher Ferris [Tue, 17 Jun 2014 18:21:30 +0000 (18:21 +0000)]
Merge "Use a separate config.h for config like defines."

10 years agoUse a separate config.h for config like defines.
Christopher Ferris [Tue, 17 Jun 2014 06:35:53 +0000 (23:35 -0700)]
Use a separate config.h for config like defines.

This allows an easier way to share config parameters between unit tests
and the bionic code.

It also fixes a problem where the 32 bit bionic tests based on glibc, or
the cts list executable did not have the pvalloc,valloc tests.

Change-Id: Ib47942cb8a278252faa7498a6ef23e9578db544f

10 years agoMerge "Move jemalloc due to whole_static_library bug."
Christopher Ferris [Tue, 17 Jun 2014 00:49:49 +0000 (00:49 +0000)]
Merge "Move jemalloc due to whole_static_library bug."

10 years agoMove jemalloc due to whole_static_library bug.
Christopher Ferris [Tue, 17 Jun 2014 00:13:09 +0000 (17:13 -0700)]
Move jemalloc due to whole_static_library bug.

Rename jemalloc.cpp to jemalloc_wrapper.cpp to avoid problems with
the libc library having two jemalloc.o files that clobber each other.

Change-Id: I9a2d966dbf414b1367ee0ef1f0d73fca6f25b518

10 years agoMerge "libc: Fix 'index' symbol export."
Dan Albert [Mon, 16 Jun 2014 20:15:41 +0000 (20:15 +0000)]
Merge "libc: Fix 'index' symbol export."

10 years agolibc: Fix 'index' symbol export.
David 'Digit' Turner [Fri, 13 Jun 2014 10:28:11 +0000 (12:28 +0200)]
libc: Fix 'index' symbol export.

The C library didn't export the 'index' symbol, but its C++ name-mangling
instead, which broke the ABI and prevented some applications from loading
properly.

The main reason was that the implementation under bionic/index.cpp relied
on the declaration to specify that the function has C linkage.

However, the declaration for index() was removed from both <string.h>
and <strings.h> in a recent patch, which made the compiler think it was
ok to compile the function with C++ linkage instead!

This patch does the following:

- Move index() definition to bionic/ndk_cruft.cpp and ensure it uses
  C linkage.

  Note that this removes index() from the 64-bit library entirely, this
  is intentional and will break source compatibility. Simply replacing
  an index() call with the equivalent strchr() should be enough to fix
  this in third-party code.

- Remove bionic/index.cpp from the tree and build files.

- Remove x86 assembly implementation from arch-x86/ to avoid conflict
  with the one in ndk_cruft.cpp

BUG=15606653

Change-Id: I816b589f69c8f8a6511f6be6195d20cf1c4e8123

10 years agoMerge "Revert "Revert "Remove ftime from bionic LP64"""
Dan Albert [Mon, 16 Jun 2014 19:45:54 +0000 (19:45 +0000)]
Merge "Revert "Revert "Remove ftime from bionic LP64"""

10 years agoRevert "Revert "Remove ftime from bionic LP64""
Dan Albert [Thu, 5 Jun 2014 02:10:49 +0000 (02:10 +0000)]
Revert "Revert "Remove ftime from bionic LP64""

This reverts commit 0921204660b9597de795065d0350a787035ad589.

Change-Id: I749af8d7d429cda9f9d09a75bd30df54e6b1dd65

10 years agoMerge "Removes getdtablesize(3) from LP64."
Dan Albert [Mon, 16 Jun 2014 19:28:25 +0000 (19:28 +0000)]
Merge "Removes getdtablesize(3) from LP64."

10 years agoRemoves getdtablesize(3) from LP64.
Dan Albert [Fri, 13 Jun 2014 23:51:24 +0000 (16:51 -0700)]
Removes getdtablesize(3) from LP64.

getdtablesize(3) was removed fro POSIX 2004. Keep the symbol around in LP32 for
binary compatibility, but remove the declaration from unistd.h.

Bug: 13935372
Change-Id: I1f96cd290bf9176f922dad58bd5a7ab2cae7ef0f

10 years agoAdd <linux/tty.h> to libc/include/sys/ioctl.h
Qiming Shi [Thu, 5 Jun 2014 07:47:34 +0000 (15:47 +0800)]
Add <linux/tty.h> to libc/include/sys/ioctl.h

This is the change to export the tty ldisc definitions (like N_TTY)
from Linux uapi kernel header. So bionic is compatbile with glibc
which has its own tty ldisc definition exported through ioctl.h

Change-Id: I44e4c7cc2eba31549e9c9c75f74961a949d4a696
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Signed-off-by: Yin, Fengwei <fengwei.yin@intel.com>
10 years agoMerge "Fix x86-64 libvpx build."
Elliott Hughes [Fri, 13 Jun 2014 03:10:08 +0000 (03:10 +0000)]
Merge "Fix x86-64 libvpx build."

10 years agoFix x86-64 libvpx build.
Elliott Hughes [Fri, 13 Jun 2014 03:07:47 +0000 (20:07 -0700)]
Fix x86-64 libvpx build.

This is now fixed upstream, but we need to wait for it to come back down
via chromium...

Bug: 15598056
Change-Id: I08f1be4296c391cfc1616a5ff0815be14071594a

10 years agoMerge "Revert "Backing this one out since the counterpart needs to be sent upstream.""
Dan Albert [Sat, 14 Jun 2014 01:08:29 +0000 (01:08 +0000)]
Merge "Revert "Backing this one out since the counterpart needs to be sent upstream.""

10 years agoRevert "Backing this one out since the counterpart needs to be sent upstream."
Dan Albert [Sat, 14 Jun 2014 01:04:31 +0000 (01:04 +0000)]
Revert "Backing this one out since the counterpart needs to be sent upstream."

This reverts commit a04d2bc28e7d7fcaf34ad71e4a6608a13cf84197.

Change-Id: I1b49165ca5d4bafdba7948818256a6167a363aca

10 years agoBacking this one out since the counterpart needs to be sent upstream.
Dan Albert [Sat, 14 Jun 2014 00:51:14 +0000 (00:51 +0000)]
Backing this one out since the counterpart needs to be sent upstream.

This reverts commit 5ee320dd35fafc11eaf90c62198e08c6670e35b4.

Change-Id: I1a9c6b06c3aca595f01c629f7649be743dc48e77

10 years agoHides valloc(3)/pvalloc(3) on LP64.
Dan Albert [Thu, 12 Jun 2014 17:55:13 +0000 (10:55 -0700)]
Hides valloc(3)/pvalloc(3) on LP64.

These were removed from POSIX 2004. Hides the header declarations for all
targets, and hides the symbols for LP64.

Bug: 13935372
Change-Id: Id592f67e9b7051517a05f536e1373b30162e669c

10 years agoMerge "Backing this one out since the counterpart needs to be sent upstream."
Dan Albert [Sat, 14 Jun 2014 00:51:28 +0000 (00:51 +0000)]
Merge "Backing this one out since the counterpart needs to be sent upstream."

10 years agoMerge "[MIPS64] linker64 requires startup code"
Elliott Hughes [Fri, 13 Jun 2014 02:32:37 +0000 (02:32 +0000)]
Merge "[MIPS64] linker64 requires startup code"

10 years ago[MIPS64] linker64 requires startup code
Chris Dearman [Fri, 13 Jun 2014 00:49:04 +0000 (17:49 -0700)]
[MIPS64] linker64 requires startup code

Change-Id: Iff2cd7d4dc40a67978bd9fc585b86e5a87afdbdd

10 years agoMerge "Hides valloc(3)/pvalloc(3) on LP64."
Dan Albert [Sat, 14 Jun 2014 00:20:49 +0000 (00:20 +0000)]
Merge "Hides valloc(3)/pvalloc(3) on LP64."

10 years agoMerge "Somewhere, the declaration of _resolv_delete_cache_for_net went missing."
Elliott Hughes [Fri, 13 Jun 2014 01:41:15 +0000 (01:41 +0000)]
Merge "Somewhere, the declaration of _resolv_delete_cache_for_net went missing."

10 years agoSomewhere, the declaration of _resolv_delete_cache_for_net went missing.
Elliott Hughes [Fri, 13 Jun 2014 01:40:06 +0000 (18:40 -0700)]
Somewhere, the declaration of _resolv_delete_cache_for_net went missing.

I couldn't work out where this went missing from "git log", but it became
important with the switch to hidden visibility.

Change-Id: I921f81e36642a2c65c3ec85dc9b5b87c5d977a5b

10 years agoMerge "Fix %u format that should have been %zu."
Christopher Ferris [Fri, 13 Jun 2014 01:24:53 +0000 (01:24 +0000)]
Merge "Fix %u format that should have been %zu."

10 years agoFix %u format that should have been %zu.
Christopher Ferris [Fri, 13 Jun 2014 01:20:44 +0000 (18:20 -0700)]
Fix %u format that should have been %zu.

Change-Id: Icedacf6783d6b0cf4783c838b3c4622d2e67f073

10 years agoPut all allocation functions into dispatch table.
Christopher Ferris [Tue, 10 Jun 2014 02:14:11 +0000 (19:14 -0700)]
Put all allocation functions into dispatch table.

Implement these new functions for all of the debug malloc types.

Fix a number of bugs in the debug malloc functions related to overflow
conditions.
Fix a bug in dlpvalloc due to an overflow condition.

Fix various other bugs in the debug malloc functions.

Add new tests for malloc functions.

Bug: 11225066

Change-Id: Idf50f389603e2157645565bc15cd9365eec2e9dd

10 years agoMerge "Removes wait3(2) from LP64."
Dan Albert [Sat, 14 Jun 2014 00:19:36 +0000 (00:19 +0000)]
Merge "Removes wait3(2) from LP64."

10 years agoRemoves wait3(2) from LP64.
Dan Albert [Fri, 13 Jun 2014 23:04:41 +0000 (16:04 -0700)]
Removes wait3(2) from LP64.

wait3(2) was removed from POSIX 2004. Keep the symbol around in LP32 for binary
compatibility, but remove the declaration in sys/wait.h.

Bug: 13935372
Change-Id: Ic715fce6781aae43b4ac6d745dc6d1e6b9914e71

10 years agoMerge "Add a hack to <stdlib.h> until we can fix libvpx."
Elliott Hughes [Fri, 13 Jun 2014 01:02:46 +0000 (01:02 +0000)]
Merge "Add a hack to <stdlib.h> until we can fix libvpx."

10 years agoAdd a hack to <stdlib.h> until we can fix libvpx.
Elliott Hughes [Fri, 13 Jun 2014 00:50:52 +0000 (17:50 -0700)]
Add a hack to <stdlib.h> until we can fix libvpx.

libvpx should probably change its assembler to refer to lrand48 directly,
because that will work on old and new versions of Android. This keeps things
building until that happens.

Bug: 15598056
Change-Id: I4a1f59e710a083b9f9a707ceeb9ca0a28141a954

10 years agoMerge "Remove __memcmp16 from bionic."
Elliott Hughes [Fri, 13 Jun 2014 00:44:19 +0000 (00:44 +0000)]
Merge "Remove __memcmp16 from bionic."

10 years agoRemove __memcmp16 from bionic.
Elliott Hughes [Thu, 12 Jun 2014 22:35:22 +0000 (15:35 -0700)]
Remove __memcmp16 from bionic.

Change-Id: I2486d667d96c8900dd368d855f37c1327161efb7

10 years agoMerge "Use default hidden visibility to build libc_dns."
Elliott Hughes [Fri, 13 Jun 2014 00:40:06 +0000 (00:40 +0000)]
Merge "Use default hidden visibility to build libc_dns."

10 years agoMerge "Put all allocation functions into dispatch table."
Christopher Ferris [Fri, 13 Jun 2014 00:40:04 +0000 (00:40 +0000)]
Merge "Put all allocation functions into dispatch table."

10 years agoUse default hidden visibility to build libc_dns.
Elliott Hughes [Fri, 16 May 2014 19:04:10 +0000 (12:04 -0700)]
Use default hidden visibility to build libc_dns.

Bug: 11156955
Change-Id: Ia443705f5fbee0681039d4480abc89850968f475

10 years agoMerge "Fix GCC 4.9 complaint about int/size_t mismatch."
Elliott Hughes [Thu, 12 Jun 2014 19:54:00 +0000 (19:54 +0000)]
Merge "Fix GCC 4.9 complaint about int/size_t mismatch."

10 years agoFix GCC 4.9 complaint about int/size_t mismatch.
Elliott Hughes [Thu, 12 Jun 2014 19:52:58 +0000 (12:52 -0700)]
Fix GCC 4.9 complaint about int/size_t mismatch.

Change-Id: Ib13857f98658dc8760cff15adb5829e8e140008a

10 years agoMerge "Remove ioprio_get(2) and ioprio_set(2) from LP64."
Dan Albert [Fri, 13 Jun 2014 20:52:56 +0000 (20:52 +0000)]
Merge "Remove ioprio_get(2) and ioprio_set(2) from LP64."

10 years agoRemove ioprio_get(2) and ioprio_set(2) from LP64.
Dan Albert [Fri, 13 Jun 2014 01:02:48 +0000 (18:02 -0700)]
Remove ioprio_get(2) and ioprio_set(2) from LP64.

Bug: 11156955
Change-Id: I07b596d85e4bd6347d488d1a92c8d0a00b5ef3b3

10 years agoMerge "Get the full set of PRNG functions in <stdlib.h>"
Elliott Hughes [Thu, 12 Jun 2014 21:56:54 +0000 (21:56 +0000)]
Merge "Get the full set of PRNG functions in <stdlib.h>"

10 years agoGet the full set of PRNG functions in <stdlib.h>
Elliott Hughes [Thu, 12 Jun 2014 18:48:04 +0000 (11:48 -0700)]
Get the full set of PRNG functions in <stdlib.h>

Bug: https://code.google.com/p/android/issues/detail?id=58888
Change-Id: I435250bdae302e8bd7e29977d0fde7b9afbfca5e

10 years agoMerge "Bring our "libresolv" stuff in line with glibc."
Elliott Hughes [Fri, 13 Jun 2014 18:57:26 +0000 (18:57 +0000)]
Merge "Bring our "libresolv" stuff in line with glibc."

10 years agoBring our "libresolv" stuff in line with glibc.
Elliott Hughes [Fri, 13 Jun 2014 18:50:07 +0000 (11:50 -0700)]
Bring our "libresolv" stuff in line with glibc.

Despite the name, most of resolv_private.h is actually in glibc; it's just
that there it's tucked away in libresolv whereas we have it in libc.

Change-Id: Ibcf6603f1141ffd2661cee0bffa83052d4f9e549

10 years agoMerge "Upgrade to tzdata2014e."
Elliott Hughes [Fri, 13 Jun 2014 17:58:50 +0000 (17:58 +0000)]
Merge "Upgrade to tzdata2014e."

10 years agoUpgrade to tzdata2014e.
Elliott Hughes [Fri, 13 Jun 2014 17:55:19 +0000 (10:55 -0700)]
Upgrade to tzdata2014e.

From the release notes:

  Changes affecting near-future time stamps

    Egypt's 2014 Ramadan-based transitions are June 26 and July 31 at 24:00.
    (Thanks to Imed Chihi.)  Guess that from 2015 on Egypt will temporarily
    switch to standard time at 24:00 the last Thursday before Ramadan, and
    back to DST at 00:00 the first Friday after Ramadan.

    Similarly, Morocco's are June 28 at 03:00 and August 2 at 02:00. (Thanks
    to Milamber Space Network.)  Guess that from 2015 on Morocco will
    temporarily switch to standard time at 03:00 the last Saturday before
    Ramadan, and back to DST at 02:00 the first Saturday after Ramadan.

  Changes affecting past time stamps

    The abbreviation "MSM" (Moscow Midsummer Time) is now used instead of
    "MSD" for Moscow's double daylight time in summer 1921.  Also, a typo
    "VLASST" has been repaired to be "VLAST" for Vladivostok summer time
    in 1991.  (Thanks to Hank W. for reporting the problems.)

Change-Id: Iaca5e8c2d572559b464b10d24f4315405e413ada

10 years agoMerge "Add/Remove mmap tests."
Christopher Ferris [Thu, 12 Jun 2014 21:00:22 +0000 (21:00 +0000)]
Merge "Add/Remove mmap tests."

10 years agoAdd/Remove mmap tests.
Christopher Ferris [Thu, 12 Jun 2014 20:16:36 +0000 (13:16 -0700)]
Add/Remove mmap tests.

Remove the incorrect tests that use a negative offset for mmap without
a fd.

Add a small set of tests for mmap.

Bug: 15436969

Change-Id: Id537d33cd4cdc26dee6cdfa9bf9cf35754bce335

10 years agoMerge "Remove declaration for putw(3)/getw(3)."
Dan Albert [Thu, 12 Jun 2014 20:22:53 +0000 (20:22 +0000)]
Merge "Remove declaration for putw(3)/getw(3)."

10 years agoRemove declaration for putw(3)/getw(3).
Dan Albert [Wed, 11 Jun 2014 21:17:35 +0000 (14:17 -0700)]
Remove declaration for putw(3)/getw(3).

These were both removed from POSIX 2004, and we don't define an
implementation for getw(3). Keep the definition of put(3) on LP32 for
binary compatibility.

Bug: 13935372
Change-Id: Iba384b45093ac6d2d7c2d81f7980cd7701dd6f56

10 years agoMerge "Fix most of the tzcode warnings."
Elliott Hughes [Thu, 12 Jun 2014 18:18:24 +0000 (18:18 +0000)]
Merge "Fix most of the tzcode warnings."

10 years agoFix most of the tzcode warnings.
Elliott Hughes [Thu, 12 Jun 2014 00:15:56 +0000 (17:15 -0700)]
Fix most of the tzcode warnings.

There's one left, but that's not fixed upstream yet.

Change-Id: Iba920cb7b156357c7f5e8220eb55ff1637ff48a1

10 years agoMerge "Add __pure2 to a few more functions, most notably gettid and pthread_self."
Elliott Hughes [Wed, 11 Jun 2014 23:34:40 +0000 (23:34 +0000)]
Merge "Add __pure2 to a few more functions, most notably gettid and pthread_self."

10 years agoAdd __pure2 to a few more functions, most notably gettid and pthread_self.
Elliott Hughes [Wed, 11 Jun 2014 03:47:49 +0000 (20:47 -0700)]
Add __pure2 to a few more functions, most notably gettid and pthread_self.

Change-Id: I7eee9f26f45130038af09d8285782b07f70a996f

10 years agoMerge "Fix mbrtoc32 test from tests/uchar_test.cpp for x86."
Elliott Hughes [Wed, 11 Jun 2014 22:59:29 +0000 (22:59 +0000)]
Merge "Fix mbrtoc32 test from tests/uchar_test.cpp for x86."

10 years agoFix mbrtoc32 test from tests/uchar_test.cpp for x86.
Alexander Ivchenko [Wed, 11 Jun 2014 12:20:54 +0000 (16:20 +0400)]
Fix mbrtoc32 test from tests/uchar_test.cpp for x86.

Without that fix the test fails with:
"error: comparison between signed and unsigned integer expressions" on x86,
due to the fact that char is signed on x86.

Change-Id: I44462d67c15c7e9b730ad5da52eb9c05e207d34b
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
10 years agoMerge "Remove declarations related to cuserid(3)."
Dan Albert [Wed, 11 Jun 2014 21:26:19 +0000 (21:26 +0000)]
Merge "Remove declarations related to cuserid(3)."

10 years agoRemove declarations related to cuserid(3).
Dan Albert [Wed, 11 Jun 2014 20:20:18 +0000 (13:20 -0700)]
Remove declarations related to cuserid(3).

cuserid(3) was removed from POSIX 2004, and we don't have an
implementation anyway.

Bug: 13935372
Change-Id: I7ac7cde931ba802d0d5b917c22f5116618b21d2f

10 years agoMerge "Add a couple more system call benchmarks."
Elliott Hughes [Wed, 11 Jun 2014 03:17:19 +0000 (03:17 +0000)]
Merge "Add a couple more system call benchmarks."

10 years agoMerge "Revert "Temporarily expose dlmalloc_usable_size.""
Elliott Hughes [Wed, 11 Jun 2014 03:15:22 +0000 (03:15 +0000)]
Merge "Revert "Temporarily expose dlmalloc_usable_size.""

10 years agoMerge "Allow bionic-unit-tests-glibc to be built again."
Christopher Ferris [Wed, 11 Jun 2014 03:07:27 +0000 (03:07 +0000)]
Merge "Allow bionic-unit-tests-glibc to be built again."

10 years agoAllow bionic-unit-tests-glibc to be built again.
Christopher Ferris [Wed, 11 Jun 2014 02:46:07 +0000 (19:46 -0700)]
Allow bionic-unit-tests-glibc to be built again.

When we switched to 64 bit host build be default, we no longer build
the glibc unit tests. Fix that, and also set all host targets to build
multilib.

This change also changes the name of bionic-unit-tests-glibc to add
the suffix of 32 or 64 depending on the host type built.

Change-Id: Ife13f9d80f351750ff02825b086d44bb0c2df828

10 years agoMerge "Replaces vfork() implementation with fork()"
Dan Albert [Wed, 11 Jun 2014 16:59:53 +0000 (16:59 +0000)]
Merge "Replaces vfork() implementation with fork()"

10 years agoReplaces vfork() implementation with fork()
Dan Albert [Fri, 6 Jun 2014 01:07:03 +0000 (18:07 -0700)]
Replaces vfork() implementation with fork()

vfork() was removed from POSIX 2008, so this replaces its implementation
with a call to fork().

Bug: 13935372
Change-Id: I6d99ac9e52a2efc5ee9bda1cab908774b830cedc

10 years agoMerge "Size the benchmark name column appropriately."
Elliott Hughes [Thu, 12 Jun 2014 18:10:33 +0000 (18:10 +0000)]
Merge "Size the benchmark name column appropriately."

10 years agoSize the benchmark name column appropriately.
Elliott Hughes [Wed, 11 Jun 2014 23:48:29 +0000 (16:48 -0700)]
Size the benchmark name column appropriately.

Nobody likes misaligned output.

Change-Id: Ifbfd7beec755e91e204426a96c054d4ea20d3fae

10 years agoMerge "AArch64: Fix memcmp16() test"
Elliott Hughes [Tue, 10 Jun 2014 18:25:40 +0000 (18:25 +0000)]
Merge "AArch64: Fix memcmp16() test"

10 years agoAArch64: Fix memcmp16() test
Serban Constantinescu [Tue, 10 Jun 2014 13:50:16 +0000 (14:50 +0100)]
AArch64: Fix memcmp16() test

__memcmp16() should return an integer less than, equal to, or greater than
zero. However the tests looks for a specific value.

Change-Id: I06052f58f9ccc67146a3df9abb349c4bc19f090e
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoAdd a couple more system call benchmarks.
Elliott Hughes [Tue, 10 Jun 2014 01:35:21 +0000 (18:35 -0700)]
Add a couple more system call benchmarks.

Bug: 15387103
Change-Id: I13419ddf77d201fdbde4c784259c0cb0dcfb9a77

10 years agoMerge "Hide rand48 implementation details."
Elliott Hughes [Tue, 10 Jun 2014 01:28:08 +0000 (01:28 +0000)]
Merge "Hide rand48 implementation details."

10 years agoHide rand48 implementation details.
Elliott Hughes [Tue, 10 Jun 2014 01:10:20 +0000 (18:10 -0700)]
Hide rand48 implementation details.

Bug: 11156955
Change-Id: I130272286989487dc22e246fb4ffbee5230225c4

10 years agoMerge "Hide non-standard syslog API."
Elliott Hughes [Tue, 10 Jun 2014 01:09:09 +0000 (01:09 +0000)]
Merge "Hide non-standard syslog API."

10 years agoHide non-standard syslog API.
Elliott Hughes [Tue, 10 Jun 2014 00:16:19 +0000 (17:16 -0700)]
Hide non-standard syslog API.

The definitions are still available on LP32 for binary compatibility, but
they're gone on LP64, and the declarations are gone everywhere.

We should probably just make syslog(3) log to the regular Android log,
but that's a job for another day.

Bug: 11156955
Change-Id: I74a98c92f7922ea733549ec6d37c6fa8b7014860

10 years agoMerge "Use PRIVATE_POST_INSTALL_CMD to create symlink."
Ying Wang [Mon, 9 Jun 2014 23:55:19 +0000 (23:55 +0000)]
Merge "Use PRIVATE_POST_INSTALL_CMD to create symlink."

10 years agoUse PRIVATE_POST_INSTALL_CMD to create symlink.
Ying Wang [Mon, 9 Jun 2014 23:32:51 +0000 (16:32 -0700)]
Use PRIVATE_POST_INSTALL_CMD to create symlink.

Bug: 15520908
Change-Id: Ib3349f7adb6def81abf07bfb9d37093e4a599d09

10 years agoMerge "Remove the MD5 implementation that was only used by toolbox."
Elliott Hughes [Mon, 9 Jun 2014 23:29:21 +0000 (23:29 +0000)]
Merge "Remove the MD5 implementation that was only used by toolbox."

10 years agoRemove the MD5 implementation that was only used by toolbox.
Elliott Hughes [Mon, 9 Jun 2014 23:26:29 +0000 (16:26 -0700)]
Remove the MD5 implementation that was only used by toolbox.

I've already moved toolbox over to openssl.

Change-Id: Ia75fba5b5e3335a975b97787f653bf4df78e1b4e

10 years agoMerge "Add a regression test for two libm bugs we didn't have."
Elliott Hughes [Mon, 9 Jun 2014 23:18:35 +0000 (23:18 +0000)]
Merge "Add a regression test for two libm bugs we didn't have."

10 years agoMerge "Move mips fenv implementation details into fenv.c."
Elliott Hughes [Mon, 9 Jun 2014 22:27:29 +0000 (22:27 +0000)]
Merge "Move mips fenv implementation details into fenv.c."

10 years agoMove mips fenv implementation details into fenv.c.
Elliott Hughes [Mon, 9 Jun 2014 21:33:39 +0000 (14:33 -0700)]
Move mips fenv implementation details into fenv.c.

Change-Id: I2415e4808e40c2981d016c01969ba14ea22bf82e

10 years agoMerge "Move x86 fenv implementation details into fenv.c."
Elliott Hughes [Mon, 9 Jun 2014 22:22:10 +0000 (22:22 +0000)]
Merge "Move x86 fenv implementation details into fenv.c."

10 years agoMove x86 fenv implementation details into fenv.c.
Elliott Hughes [Mon, 9 Jun 2014 21:29:25 +0000 (14:29 -0700)]
Move x86 fenv implementation details into fenv.c.

Change-Id: I6cb8c730483c325dc3cb75c2b2fbdd2d8455a54c

10 years agoMerge "Clean up the ARM fenv.h, moving implementation details into fenv.c."
Elliott Hughes [Mon, 9 Jun 2014 21:16:14 +0000 (21:16 +0000)]
Merge "Clean up the ARM fenv.h, moving implementation details into fenv.c."

10 years agoClean up the ARM fenv.h, moving implementation details into fenv.c.
Elliott Hughes [Mon, 9 Jun 2014 20:57:57 +0000 (13:57 -0700)]
Clean up the ARM fenv.h, moving implementation details into fenv.c.

Change-Id: I919d35db27ec16a6f54a7a5c3c070f33f03d9bb9

10 years agoMerge "AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation."
Elliott Hughes [Mon, 9 Jun 2014 20:54:22 +0000 (20:54 +0000)]
Merge "AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation."

10 years agoAArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation.
Serban Constantinescu [Sun, 8 Jun 2014 15:55:22 +0000 (16:55 +0100)]
AArch64: libm: Fix ARM64 fenv_t and refactor ARM64 libm implementation.

This patch fixes the ARM64 ABI for libm. fenv_t is now split in 32bit status
and 32bit control. This mirrors the AArch64 FPU control and status
registers (FPCR, FPSR).

The patch also refactors the libm implementation for ARM64 into a finer
grained control over the FPU registers.

Bionic-benchmarks has been expanded with 3 more benchmarks for floating
point operations. The new libm implementation for ARM64 performs better
over all the math benchmarks available.

Change-Id: I2a7f81d6b4e55c91f8a63a4c69614fc8b1bcf2db
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoMerge "AArch64: Remove Frame Record from ARM64 syscalls"
Elliott Hughes [Mon, 9 Jun 2014 19:29:46 +0000 (19:29 +0000)]
Merge "AArch64: Remove Frame Record from ARM64 syscalls"

10 years agoAArch64: Remove Frame Record from ARM64 syscalls
Serban Constantinescu [Sat, 7 Jun 2014 17:15:49 +0000 (18:15 +0100)]
AArch64: Remove Frame Record from ARM64 syscalls

This patch removes the frame record created on svc calls.

Change-Id: I67cf926ba59540e824fb9749d30538e332df7c1e
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoMerge "Add the missing issetugid binary compatibility stub."
Elliott Hughes [Sat, 7 Jun 2014 05:37:25 +0000 (05:37 +0000)]
Merge "Add the missing issetugid binary compatibility stub."

10 years agoAdd a regression test for two libm bugs we didn't have.
Elliott Hughes [Sat, 7 Jun 2014 04:43:33 +0000 (21:43 -0700)]
Add a regression test for two libm bugs we didn't have.

Reported on the OpenBSD list, but we already had the fix for one from FreeBSD,
and I think the other only affected ld80 anyway. Worth having tests thuogh.

Change-Id: Ic4bbeb2384fd578a3ef13e4907be83deda50815f

10 years agoAdd the missing issetugid binary compatibility stub.
Elliott Hughes [Sat, 7 Jun 2014 03:41:42 +0000 (20:41 -0700)]
Add the missing issetugid binary compatibility stub.

Bug: 14569474
Change-Id: I3bedc1a0acf356af76424ceaf62ae7e85239f617

10 years agoMerge "Rewrite and hide longjmperror."
Elliott Hughes [Sat, 7 Jun 2014 03:35:27 +0000 (03:35 +0000)]
Merge "Rewrite and hide longjmperror."