OSDN Git Service
Mark Salyzyn [Fri, 2 Oct 2015 20:15:07 +0000 (13:15 -0700)]
bionic: tzset running hot
logd makes a non-insignificant number of calls to localtime, 3% of
the time in logd is spent performing __system_property_get within the
context of tzset_locked().
Bug:
23685592
Change-Id: I75f8c2d436b60374e92c166b87393abda9487af7
Stephen Hines [Thu, 1 Oct 2015 05:23:14 +0000 (05:23 +0000)]
Merge "Remove invalid left shifts of -1."
Christopher Ferris [Wed, 30 Sep 2015 23:18:32 +0000 (23:18 +0000)]
Merge "Add a no dwarf version of assembler macros."
Christopher Ferris [Wed, 30 Sep 2015 22:54:09 +0000 (22:54 +0000)]
Merge "libc: krait: Use performance version of memcpy"
Christopher Ferris [Wed, 30 Sep 2015 22:32:15 +0000 (15:32 -0700)]
Add a no dwarf version of assembler macros.
For the __release and __release_rt functions, the previous macros
would add a dwarf cfi entry for the function with no values. This works
with libunwind since it always tries the arm unwind information first.
This change removes those entries by creating a no dwarf version of the
assembler macro.
Change-Id: Ib93e42fff5a79b8d770eab0071fdee7d2afa988d
Brent DeGraaf [Wed, 2 Oct 2013 13:47:11 +0000 (13:47 +0000)]
libc: krait: Use performance version of memcpy
Change-Id: Iaa52635240da8b8746693186b66b69778e833c32
Dimitry Ivanov [Wed, 30 Sep 2015 19:11:30 +0000 (19:11 +0000)]
Merge "Optimize dlopen from a zip file"
Dmitriy Ivanov [Mon, 28 Sep 2015 23:38:31 +0000 (16:38 -0700)]
Optimize dlopen from a zip file
This change makes dynamic linker reuse ZipArchiveHandles in
ld_library_path on dlopen to optimize the lookup of dt_needed
libraries.
Bug: http://b/
21960534
Change-Id: I65f897910d46dd2ffabdcb0b7842db2f127eee30
Yabin Cui [Wed, 30 Sep 2015 01:17:32 +0000 (01:17 +0000)]
Merge "Fix the way to count online cpus."
Yabin Cui [Tue, 29 Sep 2015 23:11:45 +0000 (16:11 -0700)]
Fix the way to count online cpus.
Read /proc/stat to count online cpus is not correct for all android
kernels. Change to reading /sys/devices/system/cpu/online instead.
Bug:
24376925
Change-Id: I3785a6c7aa15a467022a9a261b457194d688fb38
Stephen Hines [Tue, 29 Sep 2015 16:28:41 +0000 (09:28 -0700)]
Remove invalid left shifts of -1.
Bug:
24492248
Shifting sign bits left is considered undefined behavior, so we need to
switch these uses to unsigned equivalents. The time_t-related code is
updated relative to upstream sources.
Change-Id: I226e5a929a10f5c57dfcb90c748fdac34eb377c2
Colin Cross [Mon, 28 Sep 2015 23:07:04 +0000 (23:07 +0000)]
Merge "Pass -q is zip for test"
Colin Cross [Mon, 28 Sep 2015 22:56:18 +0000 (15:56 -0700)]
Pass -q is zip for test
Pass -q to zip for dlext_testzip to avoid printing:
adding: empty_file.txt (stored 0%)
on every compile.
Bug:
24409581
Change-Id: I2320f31182a9a332b3ef8b32a22561092ab5aceb
Colin Cross [Mon, 28 Sep 2015 22:46:11 +0000 (22:46 +0000)]
Merge "Turn common INFO messages down to VLOG(1)"
Colin Cross [Mon, 28 Sep 2015 22:30:37 +0000 (15:30 -0700)]
Turn common INFO messages down to VLOG(1)
Turn messages that are printed on every run of relocation_packer down to
VLOG(1) to clean up ninja build output.
Bug:
24409581
Change-Id: I040aed6a7b4261eefa6f7278fa451180115b0716
Dan Willemsen [Mon, 28 Sep 2015 20:37:07 +0000 (20:37 +0000)]
Merge "Fix file-check-cxx to handle quoted arguments"
Dan Willemsen [Mon, 28 Sep 2015 20:09:04 +0000 (13:09 -0700)]
Fix file-check-cxx to handle quoted arguments
If the OVERRIDE_C_DATE_TIME environment variable is set, the build
system will add a macro to the global cflags that contains a static
quoted date, like:
-D__DATE__="\"Sep 28 2015\""
file-check-cxx needs to properly pass that through as a single, still
quoted argument. So use the quoted "$@" instead of turning each word
into an argument.
Change-Id: I6929d712c280d0452062640e0cba8a176d045c97
Dimitry Ivanov [Mon, 28 Sep 2015 17:54:23 +0000 (17:54 +0000)]
Merge "Fix bug number for linker related workarounds"
Dmitriy Ivanov [Mon, 28 Sep 2015 17:14:17 +0000 (10:14 -0700)]
Fix bug number for linker related workarounds
Bug:
24425865
Change-Id: I2021674a9df0e768f312ca024d906302db1c494f
Colin Cross [Fri, 25 Sep 2015 22:27:16 +0000 (22:27 +0000)]
Merge "Force non-color output for bionic FileCheck tests"
Colin Cross [Fri, 25 Sep 2015 22:25:58 +0000 (22:25 +0000)]
Merge "Add .PHONY for phony bionic test targets"
Christopher Ferris [Fri, 25 Sep 2015 21:50:35 +0000 (21:50 +0000)]
Merge "Force cts to only run one test at a time."
Colin Cross [Fri, 25 Sep 2015 21:42:07 +0000 (14:42 -0700)]
Force non-color output for bionic FileCheck tests
Turning on color output will break the bionic compilation tests that
check for expected warnings, as they will be matching color output
against non-color expected values. Turn off color locally.
Bug:
24273983
Change-Id: Ia3b3262ccece121217f0dc0997734b3ad65b928b
Colin Cross [Fri, 25 Sep 2015 21:36:15 +0000 (14:36 -0700)]
Add .PHONY for phony bionic test targets
Bug:
24384320
Change-Id: I41038ff8b34391d03ce1e204e30e5ae34ec56614
Christopher Ferris [Fri, 25 Sep 2015 16:29:33 +0000 (16:29 +0000)]
Merge "Add cortex-a53.a57 target for 32 bit big/little."
Christopher Ferris [Fri, 25 Sep 2015 01:45:53 +0000 (18:45 -0700)]
Force cts to only run one test at a time.
Also, slightly increase the timeout for each test run.
Bug:
24198050
Change-Id: I2b0ebdebb909023d0f179e0a433c564266a99161
Christopher Ferris [Thu, 24 Sep 2015 21:26:40 +0000 (21:26 +0000)]
Merge "Fix over read in strcpy/stpcpy/strcat."
Christopher Ferris [Thu, 24 Sep 2015 05:09:09 +0000 (22:09 -0700)]
Fix over read in strcpy/stpcpy/strcat.
This bug will happen when these circumstances are met:
- Destination address & 0x7 == 1, strlen of src is 11, 12, 13.
- Destination address & 0x7 == 2, strlen of src is 10, 11, 12.
- Destination address & 0x7 == 3, strlen of src is 9, 10, 11.
- Destination address & 0x7 == 4, strlen of src is 8, 9, 10.
In these cases, the dest alignment code does a ldr which reads 4 bytes,
and it will read past the end of the source. In most cases, this is
probably benign, but if this crosses into a new page it could cause a
crash.
Fix the labels in the cortex-a9 strcat.
Modify the overread test to vary the dst alignment to expost this bug.
Also, shrink the strcat/strlcat overread cases since the dst alignment
variation increases the runtime too much.
Bug:
24345899
Change-Id: Ib34a559bfcebd89861985b29cae6c1e47b5b5855
Christopher Ferris [Thu, 17 Sep 2015 21:11:05 +0000 (14:11 -0700)]
Add cortex-a53.a57 target for 32 bit big/little.
The routines optimized for cortex-a7 and cortex-a53 cause performance
drops on cortex-a57. Instead create a target that is the middle ground
that works relatively well on either core.
Change-Id: Ie2b6cc9a59a01c7b30602ee368b2b90f5e886289
Dan Albert [Wed, 23 Sep 2015 20:08:09 +0000 (20:08 +0000)]
Merge "Prevent the build system from hiding our ABI."
Elliott Hughes [Wed, 23 Sep 2015 18:49:22 +0000 (18:49 +0000)]
Merge "Remove libpagemap include hack."
Elliott Hughes [Wed, 23 Sep 2015 05:40:22 +0000 (22:40 -0700)]
Remove libpagemap include hack.
Change-Id: I4c75ae4e311342c9ab4f317026904f893e931384
Elliott Hughes [Wed, 23 Sep 2015 00:18:50 +0000 (00:18 +0000)]
Merge "Fix another duplicate maps parser."
Dan Albert [Tue, 22 Sep 2015 23:30:31 +0000 (16:30 -0700)]
Prevent the build system from hiding our ABI.
Unfortunately --exclude-libs (now passed globally) clobbers our
version script, so we have to prevent the build system from using this
flag.
Bug: http://b/
24166967
Change-Id: I33c766d399c418fdc17983c8c0a56608d463201e
Elliott Hughes [Tue, 22 Sep 2015 23:40:14 +0000 (16:40 -0700)]
Fix another duplicate maps parser.
Change-Id: Icb69f59ffbd0d5de7f727142260fae152d36a904
Elliott Hughes [Tue, 22 Sep 2015 22:49:20 +0000 (22:49 +0000)]
Merge "Clean up /proc/<pid>/maps sscanfs."
Elliott Hughes [Tue, 22 Sep 2015 22:45:50 +0000 (15:45 -0700)]
Clean up /proc/<pid>/maps sscanfs.
sscanf will swallow whitespace for us.
Change-Id: I59931cbad00f0144fd33ed4749ac0aaad15e6de6
Jorge Lucangeli Obes [Tue, 22 Sep 2015 21:53:39 +0000 (21:53 +0000)]
Merge "Add preliminary OEM UID/GID support."
Elliott Hughes [Tue, 22 Sep 2015 21:52:28 +0000 (21:52 +0000)]
Merge "Remove some <sys/cdefs.h> cruft."
Yabin Cui [Tue, 22 Sep 2015 20:44:05 +0000 (20:44 +0000)]
Merge "Increase alternative signal stack size on 64-bit devices."
Jorge Lucangeli Obes [Tue, 22 Sep 2015 18:46:43 +0000 (11:46 -0700)]
Add preliminary OEM UID/GID support.
Until we implement full support for passwd/group files, add a simple
way to use the new OEM UID/GID range (5000-5999).
oem_XXX -> 5000 + XXX iff 0 <= XXX < 1000.
Bug:
23225475
Change-Id: If48b88135d5df538313414f747d6c4c63bf0a103
Elliott Hughes [Tue, 22 Sep 2015 20:19:14 +0000 (20:19 +0000)]
Merge "<netinet/udp.h> should include <linux/udp.h>."
Elliott Hughes [Tue, 22 Sep 2015 20:00:21 +0000 (13:00 -0700)]
Remove some <sys/cdefs.h> cruft.
In particular, we don't need to record the peculiarities of every
version of GCC ever shipped. It just makes this file harder to follow.
Change-Id: Ie9035d78eae86b4aed9dff3576c6f54e268aaced
Elliott Hughes [Tue, 22 Sep 2015 19:34:13 +0000 (12:34 -0700)]
<netinet/udp.h> should include <linux/udp.h>.
The comment about "other stuff" referred to pre-uapi headers. Everything
in the current <linux/udp.h> should be exposed to userspace. The only
problem is that BSD and Linux use different names for the members of
struct udphdr. We can move the Linux udphdr out of the way and use an
anonymous union to get the best of both worlds. (Though unfortunately
this means that code that includes <linux/udp.h> directly instead of
using <netinet/udp.h> now won't have any definition of struct udphdr.
We've taken the stance in the past that you shouldn't include a linux/
header if there's a standard equivalent --- you should rely on us
transitively including it for you.)
Change-Id: Ie625892441b0edd8df3b76d3fcf2cbe299077bc4
Yabin Cui [Tue, 22 Sep 2015 18:16:15 +0000 (11:16 -0700)]
Increase alternative signal stack size on 64-bit devices.
Bug:
23041777
Bug:
24187462
Change-Id: I7d84c0cc775a74753a3e8e101169c0fb5dbf7437
Dan Albert [Fri, 18 Sep 2015 21:18:06 +0000 (21:18 +0000)]
Merge "Add a hint about using --no-isolate for GDB."
Christopher Ferris [Fri, 18 Sep 2015 20:44:58 +0000 (20:44 +0000)]
Merge "Import scsi headers."
Greg Hackmann [Fri, 18 Sep 2015 20:39:07 +0000 (20:39 +0000)]
Merge "Define WIFCONTINUED()"
Greg Hackmann [Fri, 18 Sep 2015 20:38:54 +0000 (20:38 +0000)]
Merge "Fix SOCK_* flag definitions"
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>
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>
Dan Albert [Fri, 18 Sep 2015 20:17:02 +0000 (13:17 -0700)]
Add a hint about using --no-isolate for GDB.
Change-Id: Ib9df5ed986a1c4082c9c7cd793a4d670be21ca66
Elliott Hughes [Fri, 18 Sep 2015 15:20:40 +0000 (15:20 +0000)]
Merge "Fix mips FP abi bug in the linker."
Christopher Ferris [Fri, 18 Sep 2015 04:22:44 +0000 (21:22 -0700)]
Import scsi headers.
Linux's scsi headers are a mix of userspace-facing and kernel-facing
declarations that can't be directly used by userspace. The glibc
maintainers manually copy-and-pasted these definitions into their own
scsi headers and haven't substantially updated them in 15 years. musl
has a similar set of definitions in its scsi headers.
This change generates the scsi headers from external/kernel-headers,
using the updated generation script so that the single modified scsi.h
takes the place of the non-modified one.
Change-Id: Ic14d155aa534b0edc1ee686d61113ce5cdf0e6af
Christopher Ferris [Fri, 18 Sep 2015 04:15:32 +0000 (04:15 +0000)]
Merge "Add 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
Dan Willemsen [Thu, 17 Sep 2015 22:34:35 +0000 (22:34 +0000)]
Merge "Update 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
Douglas Leung [Thu, 17 Sep 2015 22:16:53 +0000 (15:16 -0700)]
Fix mips FP abi bug in the linker.
Change-Id: I1ffab938eb06f9dc0963ee15bc10eca216618792
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.
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
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
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.
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
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
Dan Willemsen [Thu, 17 Sep 2015 19:31:07 +0000 (19:31 +0000)]
Merge "Add Android.bp for libc/libm/libdl"
Yabin Cui [Thu, 17 Sep 2015 02:37:20 +0000 (02:37 +0000)]
Merge "Fix the way to get main thread stack start address."
Dan Willemsen [Wed, 16 Sep 2015 23:33:27 +0000 (16:33 -0700)]
Add Android.bp for libc/libm/libdl
Change-Id: I3537363849ba1244348996ff17c5ace1b95dbeee
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>
Elliott Hughes [Tue, 15 Sep 2015 15:13:35 +0000 (15:13 +0000)]
Merge "Move several FreeBSD functions to OpenBSD."
Elliott Hughes [Tue, 15 Sep 2015 15:05:21 +0000 (15:05 +0000)]
Merge "Sync with upstream NetBSD lib/libc/regex."
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
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
Dan Albert [Fri, 11 Sep 2015 17:39:12 +0000 (17:39 +0000)]
Merge "CMSG_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
Dan Albert [Tue, 8 Sep 2015 20:24:39 +0000 (20:24 +0000)]
Merge changes Ia1777fd4,I3998d88b
* changes:
Unify unistd.h.
Use attribute availability.
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
Dan Albert [Thu, 6 Aug 2015 21:32:25 +0000 (14:32 -0700)]
Use attribute availability.
Bug: http://b/
21952040
Change-Id: I3998d88bc6076d60ae5cf7efd112817f80f17971
Elliott Hughes [Fri, 4 Sep 2015 18:02:18 +0000 (18:02 +0000)]
Merge "linker: don't pass dlextinfo to dependent loads"
Christopher Ferris [Fri, 4 Sep 2015 01:09:11 +0000 (01:09 +0000)]
Merge "Only 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
Christopher Ferris [Thu, 3 Sep 2015 17:52:47 +0000 (17:52 +0000)]
Merge "Update 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
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
Elliott Hughes [Wed, 2 Sep 2015 03:44:31 +0000 (03:44 +0000)]
Merge "Rename 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
Yabin Cui [Tue, 1 Sep 2015 22:58:23 +0000 (22:58 +0000)]
Merge "build 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
Elliott Hughes [Sat, 29 Aug 2015 04:00:21 +0000 (04:00 +0000)]
Merge "Regenerate NOTICE files."
Elliott Hughes [Sat, 29 Aug 2015 03:46:21 +0000 (03:46 +0000)]
Merge "Sync with upstream FreeBSD libm."
Elliott Hughes [Sat, 29 Aug 2015 03:23:52 +0000 (20:23 -0700)]
Regenerate NOTICE files.
Change-Id: Ia5c340220bb75e4e3166cc483ea77d19cfb08a71
Elliott Hughes [Sat, 29 Aug 2015 03:21:43 +0000 (20:21 -0700)]
Sync with upstream FreeBSD libm.
Change-Id: I97e9b23903f1d993d84825806065e85626007d31
Elliott Hughes [Thu, 27 Aug 2015 23:17:43 +0000 (23:17 +0000)]
Merge "Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64."
Dan Albert [Thu, 27 Aug 2015 22:20:51 +0000 (22:20 +0000)]
Merge "Don't re-export libunwind_llvm."
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
Chih-hung Hsieh [Wed, 26 Aug 2015 22:27:35 +0000 (22:27 +0000)]
Merge "Add test cases for __emutls_get_address."
Elliott Hughes [Wed, 26 Aug 2015 22:04:32 +0000 (22:04 +0000)]
Merge "Add 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
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
Christopher Ferris [Wed, 26 Aug 2015 19:39:36 +0000 (19:39 +0000)]
Merge "Fix the 16 bit/32 bit instruction check for arm."