OSDN Git Service

android-x86/bionic.git
8 years agoam 96b1323a: Merge "Define WIFCONTINUED()"
Greg Hackmann [Sat, 19 Sep 2015 19:52:12 +0000 (19:52 +0000)]
am 96b1323a: Merge "Define WIFCONTINUED()"

* commit '96b1323a403bbd946487e4107a076b0a307136b1':
  Define WIFCONTINUED()

8 years agoam 7c460451: Merge "Fix SOCK_* flag definitions"
Greg Hackmann [Sat, 19 Sep 2015 19:52:09 +0000 (19:52 +0000)]
am 7c460451: Merge "Fix SOCK_* flag definitions"

* commit '7c4604518bcd27e27fb305388188275f49dea468':
  Fix SOCK_* flag definitions

8 years agoMerge "Define WIFCONTINUED()"
Greg Hackmann [Fri, 18 Sep 2015 20:39:07 +0000 (20:39 +0000)]
Merge "Define WIFCONTINUED()"

8 years agoMerge "Fix SOCK_* flag definitions"
Greg Hackmann [Fri, 18 Sep 2015 20:38:54 +0000 (20:38 +0000)]
Merge "Fix SOCK_* flag definitions"

8 years agoDefine WIFCONTINUED()
Greg Hackmann [Wed, 26 Aug 2015 00:50:29 +0000 (17:50 -0700)]
Define WIFCONTINUED()

Change-Id: Id0feebd90d0525f3b479eb119b942eae8ca568d1
Signed-off-by: Greg Hackmann <ghackmann@google.com>
8 years agoFix SOCK_* flag definitions
Greg Hackmann [Wed, 26 Aug 2015 00:45:46 +0000 (17:45 -0700)]
Fix SOCK_* flag definitions

MIPS and the rest of the world only disagree on the first two SOCK_*
constants, so restructure the #ifdef accordingly.

As a deliberate side effect, this fixes SOCK_DCCP being missing on
non-MIPS platforms.

Change-Id: I2267008f1121a7eebe1ed9097afab6e612bce7f0
Signed-off-by: Greg Hackmann <ghackmann@google.com>
8 years agoam 355f3d0c: Merge "Fix mips FP abi bug in the linker."
Elliott Hughes [Fri, 18 Sep 2015 15:29:12 +0000 (15:29 +0000)]
am 355f3d0c: Merge "Fix mips FP abi bug in the linker."

* commit '355f3d0c12a3cca3bf8304073f81b5e0d544ac59':
  Fix mips FP abi bug in the linker.

8 years agoMerge "Fix mips FP abi bug in the linker."
Elliott Hughes [Fri, 18 Sep 2015 15:20:40 +0000 (15:20 +0000)]
Merge "Fix mips FP abi bug in the linker."

8 years agoam d9639559: Merge "Add support for manually modified kernel headers."
Christopher Ferris [Fri, 18 Sep 2015 04:23:55 +0000 (04:23 +0000)]
am d9639559: Merge "Add support for manually modified kernel headers."

* commit 'd9639559ccccf055919a4d1487ca8a6cba953715':
  Add support for manually modified kernel headers.

8 years agoMerge "Add support for manually modified kernel headers."
Christopher Ferris [Fri, 18 Sep 2015 04:15:32 +0000 (04:15 +0000)]
Merge "Add support for manually modified kernel headers."

8 years agoAdd support for manually modified kernel headers.
Christopher Ferris [Tue, 15 Sep 2015 21:13:17 +0000 (14:13 -0700)]
Add support for manually modified kernel headers.

This changes the scripts so that if some kernel files exists
in external/kernel-headers/modified, that they will be preferred
over the same files found in original. This is to support the case
where the kernel headers cannot be taken without some small modifications.

Included with this change, is a general cleanup of the python scripts.

This also modifies the generate uapi headers script to indicate if the
source of the modified headers has changed.

Change-Id: Id13523b244ced52a2ecd9f1399c43996dd8296fa

8 years agoam 353e7e5d: Merge "Update Android.bp for setjmp cookies"
Dan Willemsen [Thu, 17 Sep 2015 22:44:57 +0000 (22:44 +0000)]
am 353e7e5d: Merge "Update Android.bp for setjmp cookies"

* commit '353e7e5d11fa59750c5358ad3e239765dcbeb335':
  Update Android.bp for setjmp cookies

8 years agoMerge "Update Android.bp for setjmp cookies"
Dan Willemsen [Thu, 17 Sep 2015 22:34:35 +0000 (22:34 +0000)]
Merge "Update Android.bp for setjmp cookies"

8 years agoUpdate Android.bp for setjmp cookies
Dan Willemsen [Thu, 17 Sep 2015 22:28:45 +0000 (15:28 -0700)]
Update Android.bp for setjmp cookies

Change-Id: I57245e4eedf9b8e1edc7de46208be5aa47c94b28

8 years agoam 57866a6d: Merge changes Iea8d03de,I2014f959
Josh Gao [Thu, 17 Sep 2015 22:22:33 +0000 (22:22 +0000)]
am 57866a6d: Merge changes Iea8d03de,I2014f959

* commit '57866a6ddef66e9c331df4f20e6c39920aba2a99':
  Implement setjmp cookies on x86_64.
  Implement setjmp cookies on x86.

8 years agoFix mips FP abi bug in the linker.
Douglas Leung [Thu, 17 Sep 2015 22:16:53 +0000 (15:16 -0700)]
Fix mips FP abi bug in the linker.

Change-Id: I1ffab938eb06f9dc0963ee15bc10eca216618792

8 years agoMerge changes Iea8d03de,I2014f959
Josh Gao [Thu, 17 Sep 2015 22:14:41 +0000 (22:14 +0000)]
Merge changes Iea8d03de,I2014f959

* changes:
  Implement setjmp cookies on x86_64.
  Implement setjmp cookies on x86.

8 years agoImplement setjmp cookies on x86_64.
Josh Gao [Thu, 17 Sep 2015 01:42:45 +0000 (18:42 -0700)]
Implement setjmp cookies on x86_64.

Bug: http://b/23942752
Change-Id: Iea8d03de1dd9ca5a128c072c94b10de3a8056348

8 years agoImplement setjmp cookies on x86.
Josh Gao [Tue, 15 Sep 2015 18:30:35 +0000 (11:30 -0700)]
Implement setjmp cookies on x86.

Bug: http://b/23942752
Change-Id: I2014f95989d0ab094b225234d98ccee477166c9d

8 years agoam 823cff84: Merge changes I81408ef0,Id0eb8d06
Josh Gao [Thu, 17 Sep 2015 21:15:57 +0000 (21:15 +0000)]
am 823cff84: Merge changes I81408ef0,Id0eb8d06

* commit '823cff847b3b202b235ddd84650338f07bc61511':
  Implement setjmp cookies on AArch64.
  Implement setjmp cookies on ARM.

8 years agoMerge changes I81408ef0,Id0eb8d06
Josh Gao [Thu, 17 Sep 2015 21:09:23 +0000 (21:09 +0000)]
Merge changes I81408ef0,Id0eb8d06

* changes:
  Implement setjmp cookies on AArch64.
  Implement setjmp cookies on ARM.

8 years agoImplement setjmp cookies on AArch64.
Josh Gao [Fri, 11 Sep 2015 22:23:32 +0000 (15:23 -0700)]
Implement setjmp cookies on AArch64.

Bug: http://b/23942752
Change-Id: I81408ef0dd53010140b51e3083d357d3f2961112

8 years agoImplement setjmp cookies on ARM.
Josh Gao [Thu, 10 Sep 2015 22:40:24 +0000 (15:40 -0700)]
Implement setjmp cookies on ARM.

Reuse the top bits of _JB_SIGFLAG field previously used to store a
boolean to store a cookie that's validated by [sig]longjmp to make it
harder to use as a ROP gadget. Additionally, encrypt saved registers
with the cookie so that an attacker can't modify a register's value to
a specific value without knowing the cookie.

Bug: http://b/23942752
Change-Id: Id0eb8d06916e89d5d776bfcaa9458f8826717ba3

8 years agoam 90fc8e24: Merge "Add Android.bp for libc/libm/libdl"
Dan Willemsen [Thu, 17 Sep 2015 19:40:42 +0000 (19:40 +0000)]
am 90fc8e24: Merge "Add Android.bp for libc/libm/libdl"

* commit '90fc8e24876412a816776d44bedc77e1f1888a13':
  Add Android.bp for libc/libm/libdl

8 years agoMerge "Add Android.bp for libc/libm/libdl"
Dan Willemsen [Thu, 17 Sep 2015 19:31:07 +0000 (19:31 +0000)]
Merge "Add Android.bp for libc/libm/libdl"

8 years agoam cbd0a15b: Merge "Fix the way to get main thread stack start address."
Yabin Cui [Thu, 17 Sep 2015 02:42:52 +0000 (02:42 +0000)]
am cbd0a15b: Merge "Fix the way to get main thread stack start address."

* commit 'cbd0a15be881abb8ce1feb5b389da2f517a9a4c6':
  Fix the way to get main thread stack start address.

8 years agoMerge "Fix the way to get main thread stack start address."
Yabin Cui [Thu, 17 Sep 2015 02:37:20 +0000 (02:37 +0000)]
Merge "Fix the way to get main thread stack start address."

8 years agoAdd Android.bp for libc/libm/libdl
Dan Willemsen [Wed, 16 Sep 2015 23:33:27 +0000 (16:33 -0700)]
Add Android.bp for libc/libm/libdl

Change-Id: I3537363849ba1244348996ff17c5ace1b95dbeee

8 years agoFix the way to get main thread stack start address.
Mor-sarid, Nitzan [Fri, 11 Sep 2015 05:31:36 +0000 (05:31 +0000)]
Fix the way to get main thread stack start address.

For previous way to get the stack using the [stack] string from
/proc/self/task/<pid>/maps is not enough. On x86/x86_64, if an
alternative signal stack is used while a task switch happens,
the [stack] indicator may no longer be correct.

Instead, stack_start from /proc/self/stat which is always inside
the main stack, is used to find the main stack in /proc/self/maps.

Change-Id: Ieb010e71518b57560d541cd3b3563e5aa9660750
Signed-off-by: Nitzan Mor-sarid <nitzan.mor-sarid@intel.com>
Signed-off-by: Mingwei Shi <mingwei.shi@intel.com>
8 years agoam 14545d4c: Merge "Move several FreeBSD functions to OpenBSD."
Elliott Hughes [Tue, 15 Sep 2015 15:19:20 +0000 (15:19 +0000)]
am 14545d4c: Merge "Move several FreeBSD functions to OpenBSD."

* commit '14545d4ce3dd446f20a14dcff37d60ff8d756f7a':
  Move several FreeBSD functions to OpenBSD.

8 years agoMerge "Move several FreeBSD functions to OpenBSD."
Elliott Hughes [Tue, 15 Sep 2015 15:13:35 +0000 (15:13 +0000)]
Merge "Move several FreeBSD functions to OpenBSD."

8 years agoam 44c8ac8b: Merge "Sync with upstream NetBSD lib/libc/regex."
Elliott Hughes [Tue, 15 Sep 2015 15:12:36 +0000 (15:12 +0000)]
am 44c8ac8b: Merge "Sync with upstream NetBSD lib/libc/regex."

* commit '44c8ac8bd7747d907720c63538625a4b95245234':
  Sync with upstream NetBSD lib/libc/regex.

8 years agoMerge "Sync with upstream NetBSD lib/libc/regex."
Elliott Hughes [Tue, 15 Sep 2015 15:05:21 +0000 (15:05 +0000)]
Merge "Sync with upstream NetBSD lib/libc/regex."

8 years agoMove several FreeBSD functions to OpenBSD.
Elliott Hughes [Tue, 15 Sep 2015 02:01:58 +0000 (19:01 -0700)]
Move several FreeBSD functions to OpenBSD.

There's no difference between the two BSDs for these functions, so let's go
with the majority.

Change-Id: Ic296f23153a48bed5ad152f5b31989c4e00e60bd

8 years agoSync with upstream NetBSD lib/libc/regex.
Elliott Hughes [Tue, 15 Sep 2015 01:45:52 +0000 (18:45 -0700)]
Sync with upstream NetBSD lib/libc/regex.

Bug: http://b/22850181
Change-Id: I11a51a2031e68a953ccd5691da98c699c7d01904

8 years agoam cd0ed2f1: Merge "CMSG_DATA should return an unsigned char*."
Dan Albert [Fri, 11 Sep 2015 22:14:07 +0000 (22:14 +0000)]
am cd0ed2f1: Merge "CMSG_DATA should return an unsigned char*."

* commit 'cd0ed2f174d9015da5ae7206bc4c5190cd0bb51e':
  CMSG_DATA should return an unsigned char*.

8 years agoMerge "CMSG_DATA should return an unsigned char*."
Dan Albert [Fri, 11 Sep 2015 17:39:12 +0000 (17:39 +0000)]
Merge "CMSG_DATA should return an unsigned char*."

8 years agoCMSG_DATA should return an unsigned char*.
Dan Albert [Fri, 11 Sep 2015 16:47:27 +0000 (09:47 -0700)]
CMSG_DATA should return an unsigned char*.

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
> CMSG_DATA(cmsg)
>    If the argument is a pointer to a cmsghdr structure, this macro
>    shall return an unsigned character pointer to the data array
>    associated with the cmsghdr structure.

Change-Id: I3f89ba19cbca4e6727abc65a2bbcd59267892ba8

8 years agoam 1c7b84ca: Merge changes Ia1777fd4,I3998d88b
Dan Albert [Tue, 8 Sep 2015 20:32:37 +0000 (20:32 +0000)]
am 1c7b84ca: Merge changes Ia1777fd4,I3998d88b

* commit '1c7b84ca0095e0dc4da8434e9e0c59cd2326f763':
  Unify unistd.h.
  Use attribute availability.

8 years agoMerge changes Ia1777fd4,I3998d88b
Dan Albert [Tue, 8 Sep 2015 20:24:39 +0000 (20:24 +0000)]
Merge changes Ia1777fd4,I3998d88b

* changes:
  Unify unistd.h.
  Use attribute availability.

8 years agoUnify unistd.h.
Dan Albert [Fri, 4 Sep 2015 19:59:53 +0000 (12:59 -0700)]
Unify unistd.h.

Make unistd.h usable from all platform versions.

Also name all function parameters for Android Studio.

Bug: http://b/21952040
Change-Id: Ia1777fd4a6d4e37f25cc402c28fb78c003e481e3

8 years agoUse attribute availability.
Dan Albert [Thu, 6 Aug 2015 21:32:25 +0000 (14:32 -0700)]
Use attribute availability.

Bug: http://b/21952040
Change-Id: I3998d88bc6076d60ae5cf7efd112817f80f17971

8 years agoam ba9c1705: Merge "linker: don\'t pass dlextinfo to dependent loads"
Elliott Hughes [Fri, 4 Sep 2015 18:12:33 +0000 (18:12 +0000)]
am ba9c1705: Merge "linker: don\'t pass dlextinfo to dependent loads"

* commit 'ba9c17053456aed4452a349cf45c5960d9231f25':
  linker: don't pass dlextinfo to dependent loads

8 years agoMerge "linker: don't pass dlextinfo to dependent loads"
Elliott Hughes [Fri, 4 Sep 2015 18:02:18 +0000 (18:02 +0000)]
Merge "linker: don't pass dlextinfo to dependent loads"

8 years agoam cb0d96e6: Merge "Only close stdin/stdout/stderr for debug malloc."
Christopher Ferris [Fri, 4 Sep 2015 01:17:48 +0000 (01:17 +0000)]
am cb0d96e6: Merge "Only close stdin/stdout/stderr for debug malloc."

* commit 'cb0d96e6a218cc37eb0ab764740a8bf1ea385511':
  Only close stdin/stdout/stderr for debug malloc.

8 years agoMerge "Only close stdin/stdout/stderr for debug malloc."
Christopher Ferris [Fri, 4 Sep 2015 01:09:11 +0000 (01:09 +0000)]
Merge "Only close stdin/stdout/stderr for debug malloc."

8 years agoOnly close stdin/stdout/stderr for debug malloc.
Christopher Ferris [Thu, 3 Sep 2015 22:01:59 +0000 (15:01 -0700)]
Only close stdin/stdout/stderr for debug malloc.

The debug malloc code unconditionally closes stdin/stdout/stderr,
which means that other atexit functions cannot use them. Only
close these if there is a debug malloc final function to call.

This doesn't appear to be a problem on most normal applications or the
atexit_exit bionic unit test would be failing. However, if you
enable stat dumping in jemalloc, nothing prints. Most likely trying
to add an atexit function from within libc is causing that atexit
to run after the debug malloc atexit function.

Change-Id: I963720d4ccaaa511e44af07a7461f17eb3f84e8e

8 years agoam b423ffa6: Merge "Update to v3.18.21 kernel headers."
Christopher Ferris [Thu, 3 Sep 2015 18:00:09 +0000 (18:00 +0000)]
am b423ffa6: Merge "Update to v3.18.21 kernel headers."

* commit 'b423ffa6c27ade8485f1f061fd3775553e9bb457':
  Update to v3.18.21 kernel headers.

8 years agoMerge "Update to v3.18.21 kernel headers."
Christopher Ferris [Thu, 3 Sep 2015 17:52:47 +0000 (17:52 +0000)]
Merge "Update to v3.18.21 kernel headers."

8 years agoUpdate to v3.18.21 kernel headers.
Christopher Ferris [Thu, 3 Sep 2015 00:23:31 +0000 (17:23 -0700)]
Update to v3.18.21 kernel headers.

Change-Id: I4ade68d62981c7f6f361750cc811e8d84be9d5b9

8 years agolinker: don't pass dlextinfo to dependent loads
Dmitriy Ivanov [Wed, 2 Sep 2015 23:32:02 +0000 (16:32 -0700)]
linker: don't pass dlextinfo to dependent loads

Don't pass the parent load's dlextinfo to dependent loads, since this
causes the linker to try to load the dependencies using the same
addresses/relro/fds/etc as the main library, which is never going to
work. This was how it worked before ae69a95 which broke this.

Bug: http://b/23742664
Bug: http://b/20948231
Bug: http://b/20841817
Change-Id: I340ebae1127666d5c6c6f9c6521b89fb93f15bdd

8 years agoam cc251966: Merge "Rename debug_stacktrace to debug_backtrace."
Elliott Hughes [Wed, 2 Sep 2015 03:52:24 +0000 (03:52 +0000)]
am cc251966: Merge "Rename debug_stacktrace to debug_backtrace."

* commit 'cc25196662cab824117e7cb79e435bd3aaf37dcc':
  Rename debug_stacktrace to debug_backtrace.

8 years agoMerge "Rename debug_stacktrace to debug_backtrace."
Elliott Hughes [Wed, 2 Sep 2015 03:44:31 +0000 (03:44 +0000)]
Merge "Rename debug_stacktrace to debug_backtrace."

8 years agoam 32c85daa: Merge "build bionic gtest runner on mac."
Yabin Cui [Tue, 1 Sep 2015 23:08:34 +0000 (23:08 +0000)]
am 32c85daa: Merge "build bionic gtest runner on mac."

* commit '32c85daa1570e589ce953c42b40fb34cf2b5e989':
  build bionic gtest runner on mac.

8 years agoRename debug_stacktrace to debug_backtrace.
Elliott Hughes [Tue, 1 Sep 2015 23:01:50 +0000 (16:01 -0700)]
Rename debug_stacktrace to debug_backtrace.

All the functions say "backtrace", so it's weird that the filename
says "stacktrace".

Change-Id: I1c88a56c1f9adb1bae4615edc8af3e73db270a8c

8 years agoMerge "build bionic gtest runner on mac."
Yabin Cui [Tue, 1 Sep 2015 22:58:23 +0000 (22:58 +0000)]
Merge "build bionic gtest runner on mac."

8 years agobuild bionic gtest runner on mac.
Yabin Cui [Tue, 1 Sep 2015 22:06:39 +0000 (15:06 -0700)]
build bionic gtest runner on mac.

Change-Id: I39a7e94b6662256646dfaeb8f9ecd5c03cd5fbc6

8 years agoam a992004c: Merge "Regenerate NOTICE files."
Elliott Hughes [Sat, 29 Aug 2015 04:07:20 +0000 (04:07 +0000)]
am a992004c: Merge "Regenerate NOTICE files."

* commit 'a992004c9edf4db0c11aae8610cce6ebf13d53b4':
  Regenerate NOTICE files.

8 years agoMerge "Regenerate NOTICE files."
Elliott Hughes [Sat, 29 Aug 2015 04:00:21 +0000 (04:00 +0000)]
Merge "Regenerate NOTICE files."

8 years agoam cb58f528: Merge "Sync with upstream FreeBSD libm."
Elliott Hughes [Sat, 29 Aug 2015 03:55:19 +0000 (03:55 +0000)]
am cb58f528: Merge "Sync with upstream FreeBSD libm."

* commit 'cb58f528bfc19bbc32d8a8b9d7e954f61d622c52':
  Sync with upstream FreeBSD libm.

8 years agoMerge "Sync with upstream FreeBSD libm."
Elliott Hughes [Sat, 29 Aug 2015 03:46:21 +0000 (03:46 +0000)]
Merge "Sync with upstream FreeBSD libm."

8 years agoRegenerate NOTICE files.
Elliott Hughes [Sat, 29 Aug 2015 03:23:52 +0000 (20:23 -0700)]
Regenerate NOTICE files.

Change-Id: Ia5c340220bb75e4e3166cc483ea77d19cfb08a71

8 years agoSync with upstream FreeBSD libm.
Elliott Hughes [Sat, 29 Aug 2015 03:21:43 +0000 (20:21 -0700)]
Sync with upstream FreeBSD libm.

Change-Id: I97e9b23903f1d993d84825806065e85626007d31

8 years agoam c2e634dd: Merge "Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64."
Elliott Hughes [Thu, 27 Aug 2015 23:24:33 +0000 (23:24 +0000)]
am c2e634dd: Merge "Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64."

* commit 'c2e634dd303a44b11e30ab31e39ffc4eae5467f8':
  Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64.

8 years agoMerge "Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64."
Elliott Hughes [Thu, 27 Aug 2015 23:17:43 +0000 (23:17 +0000)]
Merge "Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64."

8 years agoam 46c7bc83: Merge "Don\'t re-export libunwind_llvm."
Dan Albert [Thu, 27 Aug 2015 22:27:38 +0000 (22:27 +0000)]
am 46c7bc83: Merge "Don\'t re-export libunwind_llvm."

* commit '46c7bc83ab0324983312f16bd40cc1cdfe11cce6':
  Don't re-export libunwind_llvm.

8 years agoMerge "Don't re-export libunwind_llvm."
Dan Albert [Thu, 27 Aug 2015 22:20:51 +0000 (22:20 +0000)]
Merge "Don't re-export libunwind_llvm."

8 years agoFix regoff_t for LP32 and _FILE_OFFSET_BITS=64.
Elliott Hughes [Thu, 27 Aug 2015 21:48:32 +0000 (14:48 -0700)]
Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64.

bionic is built without _FILE_OFFSET_BITS=64, so internally regoff_t
was 32-bit on LP32, but code compiled with _FILE_OFFSET_BITS would
expect rm_so and rm_eo in struct regmatch_t to be 64-bit, leading to
confusion.

Bug: http://b/23566443
Change-Id: Iae92fa545104068e4f64ce1977f5ec616859638c

8 years agoam bfaee4bd: Merge "Add test cases for __emutls_get_address."
Chih-hung Hsieh [Thu, 27 Aug 2015 05:22:56 +0000 (05:22 +0000)]
am bfaee4bd: Merge "Add test cases for __emutls_get_address."

* commit 'bfaee4bd6ad901a699df21fd44d95f34e2e7444d':
  Add test cases for __emutls_get_address.

8 years agoam 848808c6: Merge "Add preadv/pwritev."
Elliott Hughes [Thu, 27 Aug 2015 05:22:55 +0000 (05:22 +0000)]
am 848808c6: Merge "Add preadv/pwritev."

* commit '848808c660ec4811f4ff5a2748b6f754b008cd21':
  Add preadv/pwritev.

8 years agoMerge "Add test cases for __emutls_get_address."
Chih-hung Hsieh [Wed, 26 Aug 2015 22:27:35 +0000 (22:27 +0000)]
Merge "Add test cases for __emutls_get_address."

8 years agoMerge "Add preadv/pwritev."
Elliott Hughes [Wed, 26 Aug 2015 22:04:32 +0000 (22:04 +0000)]
Merge "Add preadv/pwritev."

8 years agoAdd preadv/pwritev.
Elliott Hughes [Wed, 26 Aug 2015 20:27:43 +0000 (13:27 -0700)]
Add preadv/pwritev.

Bug: http://b/12612572
Change-Id: I38ff2684d69bd0fe3f21b1d371b88fa60d5421cb

8 years agoAdd test cases for __emutls_get_address.
Chih-Hung Hsieh [Fri, 14 Aug 2015 21:11:53 +0000 (14:11 -0700)]
Add test cases for __emutls_get_address.

BUG: 22984770
Change-Id: I193c3612190260a08f3b3ad8b856c0ae8f94e03d

8 years agoam d518a6d3: Merge "Fix the 16 bit/32 bit instruction check for arm."
Christopher Ferris [Wed, 26 Aug 2015 19:55:21 +0000 (19:55 +0000)]
am d518a6d3: Merge "Fix the 16 bit/32 bit instruction check for arm."

* commit 'd518a6d3bccc82cffb61fb7615b8ba09a564dec0':
  Fix the 16 bit/32 bit instruction check for arm.

8 years agoMerge "Fix the 16 bit/32 bit instruction check for arm."
Christopher Ferris [Wed, 26 Aug 2015 19:39:36 +0000 (19:39 +0000)]
Merge "Fix the 16 bit/32 bit instruction check for arm."

8 years agoam 629ed517: Merge "Add strchrnul."
Elliott Hughes [Wed, 26 Aug 2015 18:42:45 +0000 (18:42 +0000)]
am 629ed517: Merge "Add strchrnul."

* commit '629ed517126b3be32f2b2e8b710e63358691c296':
  Add strchrnul.

8 years agoam 4d5c4f08: Merge "Add the missing aarch64 user structs."
Elliott Hughes [Wed, 26 Aug 2015 18:42:45 +0000 (18:42 +0000)]
am 4d5c4f08: Merge "Add the missing aarch64 user structs."

* commit '4d5c4f085bc880af838d50f6bbd60d86e800b6e1':
  Add the missing aarch64 user structs.

8 years agoMerge "Add strchrnul."
Elliott Hughes [Wed, 26 Aug 2015 18:27:05 +0000 (18:27 +0000)]
Merge "Add strchrnul."

8 years agoFix the 16 bit/32 bit instruction check for arm.
Christopher Ferris [Wed, 26 Aug 2015 03:48:46 +0000 (20:48 -0700)]
Fix the 16 bit/32 bit instruction check for arm.

The current code only looks for a branch, instead make this more
general.

Change-Id: Ib442d6f2f04074e274b320ca0cf04734cc78e5d2

8 years agoAdd strchrnul.
Elliott Hughes [Wed, 26 Aug 2015 16:59:29 +0000 (09:59 -0700)]
Add strchrnul.

Bug: http://b/18374026
Change-Id: Iea923309c090a51a2d41c5a83320ab3789f40f1c

8 years agoMerge "Add the missing aarch64 user structs."
Elliott Hughes [Wed, 26 Aug 2015 01:39:38 +0000 (01:39 +0000)]
Merge "Add the missing aarch64 user structs."

8 years agoDon't re-export libunwind_llvm.
Dan Albert [Tue, 25 Aug 2015 23:29:00 +0000 (16:29 -0700)]
Don't re-export libunwind_llvm.

Change-Id: Ic16be4ada4cff374209d5eea89a7f81ed2fff398

8 years agoAdd the missing aarch64 user structs.
Elliott Hughes [Tue, 25 Aug 2015 21:18:26 +0000 (14:18 -0700)]
Add the missing aarch64 user structs.

Bug: http://b/23377194
Change-Id: I7d36717e129d2e044dc2cf24de4227c3bcdd60ce

8 years agoam 82911942: Update timezone data to 2015f
Neil Fuller [Tue, 25 Aug 2015 19:48:50 +0000 (19:48 +0000)]
am 82911942: Update timezone data to 2015f

* commit '829119425bcc2b5fcec8fdf219026a5192c81234':
  Update timezone data to 2015f

8 years agoUpdate timezone data to 2015f
Neil Fuller [Tue, 25 Aug 2015 11:46:33 +0000 (12:46 +0100)]
Update timezone data to 2015f

  Changes affecting future time stamps

    North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
    The abbreviation remains "KST".  (Thanks to Robert Elz.)

    Uruguay no longer observes DST.  (Thanks to Steffen Thorsen
    and Pablo Camargo.)

  Changes affecting past and future time stamps

    Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC.
    (Thanks to Roman Tudos.)

Bug: 23480367
(cherry-picked from commit 6e7bc700e287f5d46165862a7031236670fa94d5)

Change-Id: I4d82604366e9e30a2100e09433e2772fe6957fff

8 years agoam 53f2abb5: Merge "Update timezone data to 2015f"
Neil Fuller [Tue, 25 Aug 2015 18:55:00 +0000 (18:55 +0000)]
am 53f2abb5: Merge "Update timezone data to 2015f"

* commit '53f2abb5ffc103b9ea7fbe2fee13edead2553f3a':
  Update timezone data to 2015f

8 years agoMerge "Update timezone data to 2015f"
Neil Fuller [Tue, 25 Aug 2015 18:31:26 +0000 (18:31 +0000)]
Merge "Update timezone data to 2015f"

8 years agoUpdate timezone data to 2015f
Neil Fuller [Tue, 25 Aug 2015 11:46:33 +0000 (12:46 +0100)]
Update timezone data to 2015f

  Changes affecting future time stamps

    North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
    The abbreviation remains "KST".  (Thanks to Robert Elz.)

    Uruguay no longer observes DST.  (Thanks to Steffen Thorsen
    and Pablo Camargo.)

  Changes affecting past and future time stamps

    Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC.
    (Thanks to Roman Tudos.)

Bug: 23480367
Change-Id: I6a46b79be3a547d4af5f3f7ca1452640ed764e1c

8 years agoam f7286a26: Merge "Move tzdata scripts from bionic to external/icu"
Neil Fuller [Tue, 25 Aug 2015 10:04:11 +0000 (10:04 +0000)]
am f7286a26: Merge "Move tzdata scripts from bionic to external/icu"

* commit 'f7286a26deba0da370003eb97918176a69b6cfa6':
  Move tzdata scripts from bionic to external/icu

8 years agoMerge "Move tzdata scripts from bionic to external/icu"
Neil Fuller [Tue, 25 Aug 2015 09:22:36 +0000 (09:22 +0000)]
Merge "Move tzdata scripts from bionic to external/icu"

8 years agoam 5bf79420: Merge "Revert "Revert "Use compiler builtins for fabs."""
Elliott Hughes [Mon, 24 Aug 2015 23:23:02 +0000 (23:23 +0000)]
am 5bf79420: Merge "Revert "Revert "Use compiler builtins for fabs."""

* commit '5bf7942008287381e6d2aa2216d9ded24f639142':
  Revert "Revert "Use compiler builtins for fabs.""

8 years agoMerge "Revert "Revert "Use compiler builtins for fabs."""
Elliott Hughes [Mon, 24 Aug 2015 23:12:49 +0000 (23:12 +0000)]
Merge "Revert "Revert "Use compiler builtins for fabs."""

8 years agoRevert "Revert "Use compiler builtins for fabs.""
Elliott Hughes [Mon, 24 Aug 2015 22:57:08 +0000 (22:57 +0000)]
Revert "Revert "Use compiler builtins for fabs.""

Don't enable the inlines when building libm itself. Otherwise clang gets
upset by seeing both an inline and a non-inline definition.

This reverts commit c5deb0f883cbdca7e5ab75f92f82c31d21367f49.

Change-Id: If7abdb351f5a5549d6a331b33af408e8fcfa9868

8 years agoam c868b4c3: Merge "Revert "Use compiler builtins for fabs.""
Elliott Hughes [Mon, 24 Aug 2015 21:22:06 +0000 (21:22 +0000)]
am c868b4c3: Merge "Revert "Use compiler builtins for fabs.""

* commit 'c868b4c35184683fe74ff8c8d780d021c2b07464':
  Revert "Use compiler builtins for fabs."

8 years agoMerge "Revert "Use compiler builtins for fabs.""
Elliott Hughes [Mon, 24 Aug 2015 21:08:28 +0000 (21:08 +0000)]
Merge "Revert "Use compiler builtins for fabs.""

8 years agoRevert "Use compiler builtins for fabs."
Elliott Hughes [Mon, 24 Aug 2015 21:08:13 +0000 (21:08 +0000)]
Revert "Use compiler builtins for fabs."

Use of "extern inline" breaks clang build.

This reverts commit d76f16973a9d06765fb1f482239b9559f893ffd0.

Change-Id: I995d0d38c3776f5c50b060f16770741c92a2acac

8 years agoam 0f8f9300: Merge "Add exported __popcount_tab for libgcc compat under compiler...
Josh Gao [Mon, 24 Aug 2015 20:59:46 +0000 (20:59 +0000)]
am 0f8f9300: Merge "Add exported __popcount_tab for libgcc compat under compiler-rt."

* commit '0f8f9300b84fff37088218c69cc13bdc489963eb':
  Add exported __popcount_tab for libgcc compat under compiler-rt.

8 years agoam fad8370c: Merge "Improve .clang-format."
Josh Gao [Mon, 24 Aug 2015 20:59:45 +0000 (20:59 +0000)]
am fad8370c: Merge "Improve .clang-format."

* commit 'fad8370cfbf24c8913fc898950698c3675133e23':
  Improve .clang-format.

8 years agoMerge "Add exported __popcount_tab for libgcc compat under compiler-rt."
Josh Gao [Mon, 24 Aug 2015 20:49:05 +0000 (20:49 +0000)]
Merge "Add exported __popcount_tab for libgcc compat under compiler-rt."