android-sdk/platform-bionic.git
6 years agoMerge "support _POSIX_REALTIME_SIGNALS"
Yabin Cui [Tue, 9 Dec 2014 20:10:19 +0000 (20:10 +0000)]
Merge "support _POSIX_REALTIME_SIGNALS"

6 years agoMerge "Change _POSIX_CPUTIME macro to make it compitable with glibc."
Yabin Cui [Tue, 9 Dec 2014 17:51:37 +0000 (17:51 +0000)]
Merge "Change _POSIX_CPUTIME macro to make it compitable with glibc."

6 years agoChange _POSIX_CPUTIME macro to make it compitable with glibc.
Yabin Cui [Mon, 8 Dec 2014 19:54:12 +0000 (11:54 -0800)]
Change _POSIX_CPUTIME macro to make it compitable with glibc.

Change-Id: I7a8dbb74bd622693c9fef60bd779687207517b7d

6 years agosupport _POSIX_REALTIME_SIGNALS
Yabin Cui [Tue, 2 Dec 2014 01:41:04 +0000 (17:41 -0800)]
support _POSIX_REALTIME_SIGNALS

Bug: 18489947
Change-Id: I2e834d68bc10ca5fc7ebde047b517a3074179475

6 years agoMerge "Simplify our endian.h implementation."
Elliott Hughes [Tue, 9 Dec 2014 05:02:36 +0000 (05:02 +0000)]
Merge "Simplify our endian.h implementation."

6 years agoSimplify our endian.h implementation.
Elliott Hughes [Tue, 9 Dec 2014 04:32:11 +0000 (20:32 -0800)]
Simplify our endian.h implementation.

We can rely on the compiler's builtins. Tested on arm, arm64, mips, x86,
and x86-64.

Change-Id: I0f774ed7e85b3c791a3178d8ef17c6500e6a9ace

6 years agoMerge "Merge mips setjmp/longjmp family."
Elliott Hughes [Tue, 9 Dec 2014 01:18:32 +0000 (01:18 +0000)]
Merge "Merge mips setjmp/longjmp family."

6 years agoMerge mips setjmp/longjmp family.
Elliott Hughes [Tue, 9 Dec 2014 01:01:11 +0000 (17:01 -0800)]
Merge mips setjmp/longjmp family.

Bug: 16918359
Change-Id: I9033a7d178d431ddb09f1cfa6e4bf95ae02346e9

6 years agoMerge "Switch arch-mips64/include/machine to a symlink."
Elliott Hughes [Tue, 9 Dec 2014 00:51:49 +0000 (00:51 +0000)]
Merge "Switch arch-mips64/include/machine to a symlink."

6 years agoSwitch arch-mips64/include/machine to a symlink.
Elliott Hughes [Tue, 9 Dec 2014 00:48:34 +0000 (16:48 -0800)]
Switch arch-mips64/include/machine to a symlink.

Imagination already did the work to make the contents of these directories
identical. Let's take advantage of that fact.

Change-Id: Ib101ba39041fb500c9c618fa2020e72aa2ccd9c2

6 years agoMerge "Use 64-bit units in the aarch64 setjmp implementation."
Elliott Hughes [Tue, 9 Dec 2014 00:39:16 +0000 (00:39 +0000)]
Merge "Use 64-bit units in the aarch64 setjmp implementation."

6 years agoUse 64-bit units in the aarch64 setjmp implementation.
Elliott Hughes [Tue, 9 Dec 2014 00:23:10 +0000 (16:23 -0800)]
Use 64-bit units in the aarch64 setjmp implementation.

The use of 32-bit units for 64-bit stores and loads was driving me crazy.

Bug: 16918359
Change-Id: Ifb73aad8f8985a2adfcf5913b783ad9424f23e06

6 years agoMerge "Switch arm and arm64 over to the x86 style of jmpbuf."
Elliott Hughes [Tue, 9 Dec 2014 00:16:19 +0000 (00:16 +0000)]
Merge "Switch arm and arm64 over to the x86 style of jmpbuf."

6 years agoSwitch arm and arm64 over to the x86 style of jmpbuf.
Elliott Hughes [Tue, 9 Dec 2014 00:01:20 +0000 (16:01 -0800)]
Switch arm and arm64 over to the x86 style of jmpbuf.

Specifically, use the argument to sigsetjmp as a flag in the buffer
to indicate whether or not the signal mask is valid.

Bug: 16918359
Change-Id: I5bb1f1220f14c105c6bc57e0c28c1dc366d1438f

6 years agoMerge "Fix signal mask save/restore for x86-64."
Elliott Hughes [Mon, 8 Dec 2014 21:40:15 +0000 (21:40 +0000)]
Merge "Fix signal mask save/restore for x86-64."

6 years agoFix signal mask save/restore for x86-64.
Elliott Hughes [Sat, 6 Dec 2014 06:24:49 +0000 (22:24 -0800)]
Fix signal mask save/restore for x86-64.

Bug: 16918359
Change-Id: I30bf61e7d5f1c21daa3a1a21d361e98d77220bf3

6 years agoMerge "Fix signal mask save/restore for arm64."
Elliott Hughes [Mon, 8 Dec 2014 20:27:14 +0000 (20:27 +0000)]
Merge "Fix signal mask save/restore for arm64."

6 years agoFix signal mask save/restore for arm64.
Elliott Hughes [Sat, 6 Dec 2014 06:57:55 +0000 (22:57 -0800)]
Fix signal mask save/restore for arm64.

Bug: 16918359
Change-Id: Ieb15f7f1658f5accee05665b72ba17831a80ea9d

6 years agoMerge "Clean up the x86-64 and x86 setjmp families."
Elliott Hughes [Sat, 6 Dec 2014 06:23:09 +0000 (06:23 +0000)]
Merge "Clean up the x86-64 and x86 setjmp families."

6 years agoClean up the x86-64 and x86 setjmp families.
Elliott Hughes [Sat, 6 Dec 2014 00:25:50 +0000 (16:25 -0800)]
Clean up the x86-64 and x86 setjmp families.

Bug: 16918359
Change-Id: Ic8ca0af9ea99636bc71f19d46071f1cea6eef982

6 years agoMerge "Clean up arm setjmp family."
Elliott Hughes [Fri, 5 Dec 2014 23:53:46 +0000 (23:53 +0000)]
Merge "Clean up arm setjmp family."

6 years agoClean up arm setjmp family.
Elliott Hughes [Fri, 5 Dec 2014 23:39:51 +0000 (15:39 -0800)]
Clean up arm setjmp family.

Bug: 16918359
Change-Id: I9b986bdbdbaefe9d9896a820ee8cfe860adfe5c5

6 years agoMerge "Clean up the arm64 setjmp."
Elliott Hughes [Fri, 5 Dec 2014 23:06:16 +0000 (23:06 +0000)]
Merge "Clean up the arm64 setjmp."

6 years agoClean up the arm64 setjmp.
Elliott Hughes [Fri, 5 Dec 2014 20:17:25 +0000 (12:17 -0800)]
Clean up the arm64 setjmp.

Note that this doesn't address the fact that we don't save/restore the
real-time signals. But it does let us pass the tests we currently fail.

Bug: 16918359
Change-Id: I063a6926164289a71026a412da7f5dd2ca9a74b3

6 years agoMerge "Add cache related sysconf queries"
Tao Bao [Fri, 5 Dec 2014 18:11:53 +0000 (18:11 +0000)]
Merge "Add cache related sysconf queries"

6 years agoAdd cache related sysconf queries
Tao Bao [Thu, 4 Dec 2014 23:24:28 +0000 (15:24 -0800)]
Add cache related sysconf queries

Several cache related queries are added, such as
_SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE and etc. For the
moment, we always return 0 for these queries.

Change-Id: I36f67af8128672d8c1eef49d6f2431cca5a94719

6 years agoMerge "Restore symbols from <arpa/nameser.h>."
Elliott Hughes [Thu, 4 Dec 2014 21:39:58 +0000 (21:39 +0000)]
Merge "Restore symbols from <arpa/nameser.h>."

6 years agoMerge "implement posix_madvise"
Yabin Cui [Thu, 4 Dec 2014 21:30:43 +0000 (21:30 +0000)]
Merge "implement posix_madvise"

6 years agoRestore symbols from <arpa/nameser.h>.
Elliott Hughes [Thu, 4 Dec 2014 20:39:46 +0000 (12:39 -0800)]
Restore symbols from <arpa/nameser.h>.

Bug: 18627252
Bug: https://code.google.com/p/android/issues/detail?id=81690
Change-Id: I45b6c09cf2b5aabb80900e267d27cc0ec93d4dd8

6 years agoMerge "Make the missing symbols script more useful."
Elliott Hughes [Thu, 4 Dec 2014 20:04:39 +0000 (20:04 +0000)]
Merge "Make the missing symbols script more useful."

6 years agoMake the missing symbols script more useful.
Elliott Hughes [Thu, 4 Dec 2014 19:24:48 +0000 (11:24 -0800)]
Make the missing symbols script more useful.

If something's in POSIX, we don't need to show it in the glibc list.

If something's not implemented by glibc, we don't need to show it in the
POSIX list (because it's probably either a macro or obsolete).

Change-Id: Ied0f8d97d3fffb280c22e9cdf6782430d776c02f

6 years agoimplement posix_madvise
Yabin Cui [Wed, 26 Nov 2014 04:17:27 +0000 (20:17 -0800)]
implement posix_madvise

Bug: 18472477
Change-Id: I8183de6c281acf69ed5f7f88351b056b9827b162

6 years agoMerge "Code using neon uses ARCH_ARM_HAVE_NEON."
Elliott Hughes [Thu, 4 Dec 2014 01:45:54 +0000 (01:45 +0000)]
Merge "Code using neon uses ARCH_ARM_HAVE_NEON."

6 years agoCode using neon uses ARCH_ARM_HAVE_NEON.
Elliott Hughes [Thu, 4 Dec 2014 01:41:26 +0000 (17:41 -0800)]
Code using neon uses ARCH_ARM_HAVE_NEON.

Bug: 18556103
Change-Id: Ia8674dda223f81d616d15ee47b402ab4a3f98079

6 years agoMerge "Remove __ARM_HAVE_VFP."
Elliott Hughes [Thu, 4 Dec 2014 01:11:08 +0000 (01:11 +0000)]
Merge "Remove __ARM_HAVE_VFP."

6 years agoRemove __ARM_HAVE_VFP.
Elliott Hughes [Thu, 4 Dec 2014 01:07:01 +0000 (17:07 -0800)]
Remove __ARM_HAVE_VFP.

Bug: 18556103
Change-Id: I6d4cc6a1b359ad2df1ce6687fd26f392059f6efd

6 years agoMerge "Implement <pty.h>."
Elliott Hughes [Thu, 4 Dec 2014 00:45:42 +0000 (00:45 +0000)]
Merge "Implement <pty.h>."

6 years agoImplement <pty.h>.
Elliott Hughes [Wed, 3 Dec 2014 22:39:20 +0000 (14:39 -0800)]
Implement <pty.h>.

Based on the package/apps/Terminal implementation. I'll switch them over
shortly. This also lets us build the toybox version of netcat.

Change-Id: Ia922a100141a67409264b43b937eeca07b21f344

6 years agoMerge "change argument type in madvise"
Yabin Cui [Wed, 3 Dec 2014 19:57:50 +0000 (19:57 +0000)]
Merge "change argument type in madvise"

6 years agochange argument type in madvise
Yabin Cui [Wed, 3 Dec 2014 19:11:50 +0000 (11:11 -0800)]
change argument type in madvise

Make madvise prototype the same as linux man page.

Bug: 18539500
Change-Id: If3fd0e1d9539b9e10531ab9087bc4040e32b6e9b

6 years agoMerge "Fix warning: overriding commands for target"
Dmitriy Ivanov [Wed, 3 Dec 2014 18:55:55 +0000 (18:55 +0000)]
Merge "Fix warning: overriding commands for target"

6 years agoFix warning: overriding commands for target
Dmitriy Ivanov [Wed, 3 Dec 2014 17:50:10 +0000 (09:50 -0800)]
Fix warning: overriding commands for target

Change-Id: I00fb4d6a8ff388722b75de9a0f4316619aaf9320

6 years agoMerge "Switch x86 and x86-64 to __builtin_bswap*."
Elliott Hughes [Wed, 3 Dec 2014 16:20:05 +0000 (16:20 +0000)]
Merge "Switch x86 and x86-64 to __builtin_bswap*."

6 years agoMerge "Switch aarch64 to __builtin_bswap16."
Elliott Hughes [Wed, 3 Dec 2014 16:15:44 +0000 (16:15 +0000)]
Merge "Switch aarch64 to __builtin_bswap16."

6 years agoSwitch x86 and x86-64 to __builtin_bswap*.
Elliott Hughes [Wed, 3 Dec 2014 04:16:05 +0000 (20:16 -0800)]
Switch x86 and x86-64 to __builtin_bswap*.

Bug: 18597513
Change-Id: I0781208efb3b560d7c6fa48f41be7bc6fc83521e

6 years agoSwitch aarch64 to __builtin_bswap16.
Elliott Hughes [Wed, 3 Dec 2014 03:55:38 +0000 (19:55 -0800)]
Switch aarch64 to __builtin_bswap16.

It generates the same code.

Bug: 18597513
Change-Id: I164296da8c676668983dd93697c6dfa05f10ec56

6 years agoMerge "Fix soinfo_unload"
Dmitriy Ivanov [Wed, 3 Dec 2014 03:25:56 +0000 (03:25 +0000)]
Merge "Fix soinfo_unload"

6 years agoFix soinfo_unload
Dmitriy Ivanov [Wed, 3 Dec 2014 01:08:42 +0000 (17:08 -0800)]
Fix soinfo_unload

 1. Take into consideration that the local_group_root_
    is not set for all of not linked libraries.
 2. We need to check visited list earlier to avoid double
    soinfo_free.

Change-Id: Iabc0a06a97c63f7e6bd4641731f50bb1466fed4f

6 years agoMerge "Remove __ARM_HAVE_HALFWORD_MULTIPLY."
Elliott Hughes [Wed, 3 Dec 2014 01:12:47 +0000 (01:12 +0000)]
Merge "Remove __ARM_HAVE_HALFWORD_MULTIPLY."

6 years agoRemove __ARM_HAVE_HALFWORD_MULTIPLY.
Elliott Hughes [Wed, 3 Dec 2014 00:58:17 +0000 (16:58 -0800)]
Remove __ARM_HAVE_HALFWORD_MULTIPLY.

Bug: 18556103
Change-Id: I17e498539f77ddf7d1fb980ee93155d3c3ccd85e

6 years agoMerge "Remove __ARM_HAVE_LDREXD."
Elliott Hughes [Wed, 3 Dec 2014 00:57:27 +0000 (00:57 +0000)]
Merge "Remove __ARM_HAVE_LDREXD."

6 years agoRemove __ARM_HAVE_LDREXD.
Elliott Hughes [Wed, 3 Dec 2014 00:52:46 +0000 (16:52 -0800)]
Remove __ARM_HAVE_LDREXD.

No one uses this.

Bug: 18556103
Change-Id: Icecc3a7b5cb0a36960f27d030d8f4f8ee471f86c

6 years agoMerge "Kill <machine/exec.h>."
Elliott Hughes [Wed, 3 Dec 2014 00:42:55 +0000 (00:42 +0000)]
Merge "Kill <machine/exec.h>."

6 years agoKill <machine/exec.h>.
Elliott Hughes [Wed, 3 Dec 2014 00:16:29 +0000 (16:16 -0800)]
Kill <machine/exec.h>.

Bug: 18546535
Change-Id: I479e003deab21e31eb5caa5393067ed1dc558387

6 years agoMerge "Extract bionic-prepare-run-on-host to inc file."
Dmitriy Ivanov [Wed, 3 Dec 2014 00:02:13 +0000 (00:02 +0000)]
Merge "Extract bionic-prepare-run-on-host to inc file."

6 years agoExtract bionic-prepare-run-on-host to inc file.
Dmitriy Ivanov [Tue, 2 Dec 2014 22:00:13 +0000 (14:00 -0800)]
Extract bionic-prepare-run-on-host to inc file.

 Make benchmark run-on-host depend on bionic-prepare-run-on-host.

Change-Id: I0bdbf561b2580d607a49b7c83cc273320ac55429

6 years agoMerge "Avoid pathological behavior in OpenBSD's fread."
Elliott Hughes [Tue, 2 Dec 2014 22:40:52 +0000 (22:40 +0000)]
Merge "Avoid pathological behavior in OpenBSD's fread."

6 years agoAvoid pathological behavior in OpenBSD's fread.
Elliott Hughes [Tue, 2 Dec 2014 00:13:30 +0000 (16:13 -0800)]
Avoid pathological behavior in OpenBSD's fread.

Bug: https://code.google.com/p/android/issues/detail?id=81155
Bug: 18556607
Change-Id: Idc60976b79610e2202cc42dc393dcb4ca6c42e05

6 years agoMerge "Fix mips build"
Dmitriy Ivanov [Tue, 2 Dec 2014 21:37:49 +0000 (21:37 +0000)]
Merge "Fix mips build"

6 years agoMerge "Create /system/lib(64)? symlinks for host tests."
Dmitriy Ivanov [Tue, 2 Dec 2014 21:30:12 +0000 (21:30 +0000)]
Merge "Create /system/lib(64)? symlinks for host tests."

6 years agoFix mips build
Dmitriy Ivanov [Tue, 2 Dec 2014 21:27:40 +0000 (13:27 -0800)]
Fix mips build

Change-Id: Iddbf06784d19556a55d833e20a68e6ccf5a7c5be

6 years agoCreate /system/lib(64)? symlinks for host tests.
Dmitriy Ivanov [Tue, 2 Dec 2014 20:08:49 +0000 (12:08 -0800)]
Create /system/lib(64)? symlinks for host tests.

  Replace LD_LIBRARY_PATH with default path for
  the tests run on host.

Bug: 18589961

Change-Id: Id4a84b73d25c2ca9c557fcfa19b8169daeaa016b

6 years agoMerge "Use mmap to create the pthread_internal_t."
Yabin Cui [Tue, 2 Dec 2014 19:45:47 +0000 (19:45 +0000)]
Merge "Use mmap to create the pthread_internal_t."

6 years agoMerge "Count references for groups instead of instances"
Dmitriy Ivanov [Tue, 2 Dec 2014 19:10:03 +0000 (19:10 +0000)]
Merge "Count references for groups instead of instances"

6 years agoCount references for groups instead of instances
Dmitriy Ivanov [Sat, 29 Nov 2014 21:57:41 +0000 (13:57 -0800)]
Count references for groups instead of instances

  Count references on the group level to avoid
  partially unloading function that might be
  referenced by other libraries in the local_group

  Bonus: with this change we can correctly unload recursively
  linked libraries. is_recursive check is removed.

  Also dynamic executables (not .so) with 0 DT_NEEDED libraries
  are now correctly linked.

Change-Id: Idfa83baef402840599b93a875f2881d9f020dbcd

6 years agoUse mmap to create the pthread_internal_t.
Yabin Cui [Tue, 2 Dec 2014 06:37:56 +0000 (22:37 -0800)]
Use mmap to create the pthread_internal_t.

Bug: 16847284
Change-Id: I488fa236f57aa3acb29b4ffbbab2fab51b0653be

6 years agoMerge "restore sigprocmask in setjmp/longjmp test."
Yabin Cui [Tue, 2 Dec 2014 18:37:28 +0000 (18:37 +0000)]
Merge "restore sigprocmask in setjmp/longjmp test."

6 years agorestore sigprocmask in setjmp/longjmp test.
Yabin Cui [Tue, 2 Dec 2014 17:57:45 +0000 (09:57 -0800)]
restore sigprocmask in setjmp/longjmp test.

Bug: 18571921
Change-Id: Ib8ca7a36abd3ccc729c20c0e32d45b1b33069f65

6 years agoMerge "Resolve "unused DT entry" warnings for DT_VERNEED and DT_VERNEEDNUM."
Dmitriy Ivanov [Tue, 2 Dec 2014 17:37:17 +0000 (17:37 +0000)]
Merge "Resolve "unused DT entry" warnings for DT_VERNEED and DT_VERNEEDNUM."

6 years agoResolve "unused DT entry" warnings for DT_VERNEED and DT_VERNEEDNUM.
Alexander Ivchenko [Tue, 2 Dec 2014 12:32:25 +0000 (15:32 +0300)]
Resolve "unused DT entry" warnings for DT_VERNEED and DT_VERNEEDNUM.

Change-Id: Id18310811a6d183878a1d4d26cc2498f4fd00c55
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
6 years agoMerge "Specify .cpu cortex-a15"
Christopher Ferris [Tue, 2 Dec 2014 02:29:51 +0000 (02:29 +0000)]
Merge "Specify .cpu cortex-a15"

6 years agoMerge "Build our benchmarks against glibc too."
Elliott Hughes [Tue, 2 Dec 2014 00:57:44 +0000 (00:57 +0000)]
Merge "Build our benchmarks against glibc too."

6 years agoBuild our benchmarks against glibc too.
Elliott Hughes [Tue, 2 Dec 2014 00:43:51 +0000 (16:43 -0800)]
Build our benchmarks against glibc too.

Bug: 18556607
Change-Id: I455ac8b93c0835836180e549486bc52d393ee6a6

6 years agoMerge "Benchmark fread/fwrite both buffered and unbuffered."
Elliott Hughes [Mon, 1 Dec 2014 21:43:31 +0000 (21:43 +0000)]
Merge "Benchmark fread/fwrite both buffered and unbuffered."

6 years agoMerge "Fix running the bionic benchmarks on the host."
Elliott Hughes [Mon, 1 Dec 2014 21:40:24 +0000 (21:40 +0000)]
Merge "Fix running the bionic benchmarks on the host."

6 years agoBenchmark fread/fwrite both buffered and unbuffered.
Elliott Hughes [Mon, 1 Dec 2014 21:12:18 +0000 (13:12 -0800)]
Benchmark fread/fwrite both buffered and unbuffered.

Bug: 18556607
Change-Id: I53905aedcea75fe550d9c423fb701c2c9bf8e831

6 years agoFix running the bionic benchmarks on the host.
Elliott Hughes [Mon, 1 Dec 2014 21:11:38 +0000 (13:11 -0800)]
Fix running the bionic benchmarks on the host.

Bug: 18556607
Change-Id: I4e75bfcde788b43e1926be1b0146acf09b496390

6 years agoMerge "support _POSIX_CPUTIME"
Yabin Cui [Mon, 1 Dec 2014 17:06:01 +0000 (17:06 +0000)]
Merge "support _POSIX_CPUTIME"

6 years agoMerge "libc: Fix headers to allow direct inclusion."
David 'Digit' Turner [Mon, 1 Dec 2014 16:50:04 +0000 (16:50 +0000)]
Merge "libc: Fix headers to allow direct inclusion."

6 years agolibc: Fix headers to allow direct inclusion.
David 'Digit' Turner [Tue, 18 Nov 2014 11:21:55 +0000 (12:21 +0100)]
libc: Fix headers to allow direct inclusion.

These headers are missing a few #includes to allow their direct
inclusion from C

http://b.android.com/79841

Change-Id: Ifc712c17f4da70b26adb67d4d49ed659f53c3621

6 years agoSpecify .cpu cortex-a15
Bernhard Rosenkränzer [Sun, 30 Nov 2014 21:17:30 +0000 (22:17 +0100)]
Specify .cpu cortex-a15

When building with clang without this change, as errors out saying pldw
is an unsupported instruction (because it isn't part of the ARMv7 core
instruction set).
Let as know using pldw is fine.

Change-Id: Ie1f9c4b873e93ab2b3b374d2d46e476a4e581710
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
6 years agoMerge "Add error-check when mapping socket to fd"
Elliott Hughes [Thu, 27 Nov 2014 19:05:13 +0000 (19:05 +0000)]
Merge "Add error-check when mapping socket to fd"

6 years agoAdd error-check when mapping socket to fd
Robert Alm [Tue, 25 Nov 2014 12:28:11 +0000 (13:28 +0100)]
Add error-check when mapping socket to fd

The call to fdopen can fail in several ways.
The fprintf on the next line will then dereference a
NULL-pointer FILE*.
Added a NULL-check, closed the socket, returned system error
and added a comment about it.

Change-Id: I7a6b26aa3c79452b1fdd76af12dfa75da88cbad7

6 years agoMerge "Move a private x86-64 header file out of the limelight."
Elliott Hughes [Thu, 27 Nov 2014 17:20:49 +0000 (17:20 +0000)]
Merge "Move a private x86-64 header file out of the limelight."

6 years agoMove a private x86-64 header file out of the limelight.
Elliott Hughes [Thu, 27 Nov 2014 03:31:19 +0000 (19:31 -0800)]
Move a private x86-64 header file out of the limelight.

Currently this is on everyone's include path and is getting exported
via the NDK.

Change-Id: Ia417839fb65c7e0afddcd9fae3438665dae8e752

6 years agoMerge "[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6"
Elliott Hughes [Thu, 27 Nov 2014 02:28:49 +0000 (02:28 +0000)]
Merge "[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6"

6 years agoMerge "bionic tests: add setjmp/_setjmp/sigsetjmp tests."
Elliott Hughes [Thu, 27 Nov 2014 01:33:08 +0000 (01:33 +0000)]
Merge "bionic tests: add setjmp/_setjmp/sigsetjmp tests."

6 years agobionic tests: add setjmp/_setjmp/sigsetjmp tests.
Yongqin Liu [Fri, 31 Oct 2014 08:37:09 +0000 (16:37 +0800)]
bionic tests: add setjmp/_setjmp/sigsetjmp tests.

Bug: 17288973
Change-Id: I2808eee58cbddae1b16fbe19a715b72d6dbaaec3
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
6 years agosupport _POSIX_CPUTIME
Yabin Cui [Wed, 26 Nov 2014 22:04:26 +0000 (14:04 -0800)]
support _POSIX_CPUTIME

Bug: 18490039
Change-Id: I01fa83b48e1b908de1f227b6e4f98e280bcd50ee

6 years agoMerge "Revert "Use mmap to create the pthread_internal_t.""
Nicolas Geoffray [Wed, 26 Nov 2014 11:57:46 +0000 (11:57 +0000)]
Merge "Revert "Use mmap to create the pthread_internal_t.""

6 years agoRevert "Use mmap to create the pthread_internal_t."
Nicolas Geoffray [Wed, 26 Nov 2014 11:53:44 +0000 (11:53 +0000)]
Revert "Use mmap to create the pthread_internal_t."

Unfortunately, this change provokes random crashes for ART, and
I have seen libc crashes on the device that might be related to it.

Reverting it fixes the ART crashes. there is unfortunately no
stack trace for the crashes, but just a "Segmentation fault" message.

This reverts commit cc5f6543e3f91385b9a912438965b7e8265df54a.

Change-Id: I68dca8e1e9b9edcce7eb84596e8db619e40e8052

6 years ago[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6
Duane Sand [Wed, 26 Nov 2014 01:33:10 +0000 (17:33 -0800)]
[MIPS] Rewrite of setjmp/longjmp for mips64 and mipsr6

Change-Id: Idcd13413520dd503bc9cf782553675313e500a83

6 years agoMerge "Use mmap to create the pthread_internal_t."
Yabin Cui [Tue, 25 Nov 2014 23:53:43 +0000 (23:53 +0000)]
Merge "Use mmap to create the pthread_internal_t."

6 years agoUse mmap to create the pthread_internal_t.
Yabin Cui [Tue, 25 Nov 2014 22:18:12 +0000 (14:18 -0800)]
Use mmap to create the pthread_internal_t.

Bug: 16847284
Change-Id: Ic8c85f95afac1d8422ecb69674c688d1fecb6a44

6 years agoMerge "flesh out sysconf(3) and the _POSIX_* constants"
Yabin Cui [Mon, 24 Nov 2014 01:59:22 +0000 (01:59 +0000)]
Merge "flesh out sysconf(3) and the _POSIX_* constants"

6 years agoMerge "Sync with upstream OpenBSD fts.c."
Elliott Hughes [Sun, 23 Nov 2014 18:06:28 +0000 (18:06 +0000)]
Merge "Sync with upstream OpenBSD fts.c."

6 years agoMerge "Move some pthread functions to signal.h."
Dan Albert [Sat, 22 Nov 2014 22:38:50 +0000 (22:38 +0000)]
Merge "Move some pthread functions to signal.h."

6 years agoSync with upstream OpenBSD fts.c.
Elliott Hughes [Sat, 22 Nov 2014 03:25:27 +0000 (19:25 -0800)]
Sync with upstream OpenBSD fts.c.

Change-Id: Ia7e26b603f6461095b5a8d7e8a6cdf4f8279fa84

6 years agoflesh out sysconf(3) and the _POSIX_* constants
Yabin Cui [Thu, 20 Nov 2014 03:49:14 +0000 (19:49 -0800)]
flesh out sysconf(3) and the _POSIX_* constants

Bug: 17571891
Change-Id: I81036615486bde65969ae5662587fcc88348474e

6 years agoMerge "Bring our <machine/endian.h> files back in sync."
Elliott Hughes [Sat, 22 Nov 2014 02:41:44 +0000 (02:41 +0000)]
Merge "Bring our <machine/endian.h> files back in sync."