OSDN Git Service
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."
Elliott Hughes [Wed, 26 Aug 2015 18:27:05 +0000 (18:27 +0000)]
Merge "Add strchrnul."
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
Elliott Hughes [Wed, 26 Aug 2015 16:59:29 +0000 (09:59 -0700)]
Add strchrnul.
Bug: http://b/
18374026
Change-Id: Iea923309c090a51a2d41c5a83320ab3789f40f1c
Elliott Hughes [Wed, 26 Aug 2015 01:39:38 +0000 (01:39 +0000)]
Merge "Add the missing aarch64 user structs."
Dan Albert [Tue, 25 Aug 2015 23:29:00 +0000 (16:29 -0700)]
Don't re-export libunwind_llvm.
Change-Id: Ic16be4ada4cff374209d5eea89a7f81ed2fff398
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
Neil Fuller [Tue, 25 Aug 2015 18:31:26 +0000 (18:31 +0000)]
Merge "Update 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
Neil Fuller [Tue, 25 Aug 2015 09:22:36 +0000 (09:22 +0000)]
Merge "Move tzdata scripts from bionic to external/icu"
Elliott Hughes [Mon, 24 Aug 2015 23:12:49 +0000 (23:12 +0000)]
Merge "Revert "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
Elliott Hughes [Mon, 24 Aug 2015 21:08:28 +0000 (21:08 +0000)]
Merge "Revert "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
Josh Gao [Mon, 24 Aug 2015 20:49:05 +0000 (20:49 +0000)]
Merge "Add exported __popcount_tab for libgcc compat under compiler-rt."
Josh Gao [Mon, 24 Aug 2015 20:47:46 +0000 (20:47 +0000)]
Merge "Improve .clang-format."
Elliott Hughes [Mon, 24 Aug 2015 20:33:15 +0000 (20:33 +0000)]
Merge "Use compiler builtins for fabs."
Elliott Hughes [Fri, 21 Aug 2015 18:04:23 +0000 (11:04 -0700)]
Use compiler builtins for fabs.
Change-Id: Id3bf761d6dfc187f218b5215c53d76bddc83d50b
Josh Gao [Fri, 21 Aug 2015 23:59:31 +0000 (16:59 -0700)]
Add exported __popcount_tab for libgcc compat under compiler-rt.
Change-Id: I8df09e8f199761edbba290d7f1ea530781054b03
Josh Gao [Mon, 24 Aug 2015 19:56:48 +0000 (12:56 -0700)]
Improve .clang-format.
Change-Id: Idfd7879cc3bf1a1cdbe33262c2506fac2f07b428
Dan Albert [Mon, 24 Aug 2015 19:47:16 +0000 (19:47 +0000)]
Merge "Add a .clang-format file."
Dan Albert [Mon, 24 Aug 2015 18:27:58 +0000 (11:27 -0700)]
Add a .clang-format file.
Change-Id: I6c4c492d9b571dd654b4993d1de1827813963ce1
Neil Fuller [Mon, 24 Aug 2015 16:52:56 +0000 (17:52 +0100)]
Move tzdata scripts from bionic to external/icu
The scripts affect files in external/icu, bionic
and the generated files affect libcore. The files must
be updated together so there is no "obvious" home.
OEM developers seem to want to update ICU
themselves and have been asking how. Moving the
scripts to external/icu and splitting the ICU generation
code into a sub-script they can run makes some sense.
Bug:
23419215
Change-Id: Ia26fa526fd2b560a79f36d327a10e262a85db752
Nick Kralevich [Mon, 24 Aug 2015 06:59:43 +0000 (06:59 +0000)]
Merge "Revert "fix incompatibility with -fstack-protector-strong""
Nick Kralevich [Mon, 24 Aug 2015 06:58:39 +0000 (06:58 +0000)]
Revert "fix incompatibility with -fstack-protector-strong"
Reports of devices not booting with a build range including
this patch. Reverting while I investigate.
This reverts commit
96dd2b6e85e03ca9ab2600c2031490c22d5626ad.
Bug:
23470962
Change-Id: I056f1d8668f52d31412868975f2143249fc7e8f0
Nick Kralevich [Sun, 23 Aug 2015 16:21:18 +0000 (16:21 +0000)]
Merge "fix incompatibility with -fstack-protector-strong"
Yabin Cui [Fri, 21 Aug 2015 03:03:22 +0000 (03:03 +0000)]
Merge "add fortified implementations of write/pwrite{,64}"
Elliott Hughes [Thu, 20 Aug 2015 23:13:15 +0000 (23:13 +0000)]
Merge "Fix a mistype in segment overrange checking"
Daniel Micay [Tue, 21 Jul 2015 01:37:29 +0000 (21:37 -0400)]
add fortified implementations of write/pwrite{,64}
These are just based on the read/pread{,64} implementations with the
function calls and error messages adjusted as appropriate. The only
difference is that the buffer parameters are const.
Change-Id: Ida1597a903807f583f230d74bcedffdb7b24fcf6
skvalex [Wed, 19 Aug 2015 22:06:42 +0000 (01:06 +0300)]
Fix a mistype in segment overrange checking
Change-Id: Ibea93514aa7ba3b1ac2bc00420f5124fb34f5f66
Signed-off-by: skvalex <skvalex@gmail.com>
Christopher Ferris [Wed, 19 Aug 2015 18:25:38 +0000 (18:25 +0000)]
Merge "Modify ip to get the instr being executed."
Dan Albert [Tue, 18 Aug 2015 22:43:47 +0000 (22:43 +0000)]
Merge "Add a TLS slot for TSAN."
Christopher Ferris [Tue, 18 Aug 2015 22:41:31 +0000 (15:41 -0700)]
Modify ip to get the instr being executed.
The ip values being reported are always pointing at the next
instruction to execute, not the currently executing instruction.
Change the ip address to point at the currently executing instruction.
This fixes a problem where the next instruction is not actually
part of the same function, so if an addr2line is used, it reports
the wrong value.
This does not modify the ip for mips.
Bug:
22565486
Change-Id: Ie0df4c9727f62ce06948b9a2b0e4b7956eb6e752
Dan Albert [Tue, 18 Aug 2015 22:09:00 +0000 (15:09 -0700)]
Add a TLS slot for TSAN.
This is so TSAN won't need to rely on pthread_getspecific for finding
the current thread state.
Change-Id: Id3befeabec0a9f7ca77b5549fbc427e22e6aaa34
Christopher Ferris [Tue, 18 Aug 2015 17:18:11 +0000 (17:18 +0000)]
Merge "Add optimized cortex-a7/cortex-a53 memset/memcpy."
Elliott Hughes [Tue, 18 Aug 2015 00:23:49 +0000 (00:23 +0000)]
Merge "libc: remove bcopy from memmove on 64-bit architectures"
Ying Wang [Tue, 18 Aug 2015 00:07:03 +0000 (00:07 +0000)]
Merge "Don't attach linker_asan to linker in module definition."
Ying Wang [Mon, 17 Aug 2015 23:17:03 +0000 (16:17 -0700)]
Don't attach linker_asan to linker in module definition.
With this change, we only define the rules to create the symlinks in
this Android.mk but without attaching the symlinks to the module linker.
Instead the core build system will set up the dependency whenever a
module needs these symlinks.
Bug:
22850550
Change-Id: I36c58fd411f1c27f3f638b229699d7dc1d66abb2
Jake Weinstein [Sun, 16 Aug 2015 00:44:40 +0000 (00:44 +0000)]
libc: remove bcopy from memmove on 64-bit architectures
* bcopy is deprecated on LP64 by the following commit:
https://android.googlesource.com/platform/bionic/+/
ce9ce28e5d760e32ab6c894dfaf7b8dad6de7ff6
Change-Id: I6849916f0ec4a2d0db9a360999ad1dc8edda952b
Christopher Ferris [Fri, 24 Jul 2015 03:27:42 +0000 (20:27 -0700)]
Add optimized cortex-a7/cortex-a53 memset/memcpy.
Add an optimized memset that is ~20% faster for cortex-a7 and
cortex-a53.
Add a 32 bit optimized cortex-a53 memcpy that is about ~20% faster
on cached data.
Fix the cortex-a15 __str{cat,cpy}_chk.S, memcpy_base.S to remove
the phony functions, since they aren't needed any more. Then add
a direct include of these for cortex-a53.
Verified the new functions by stepping through all of the major
paths and verifying the backtrace is still correct.
Bug:
22696180
Change-Id: Iec92a3f82d51243cca76c9aff9f35d920ff865ae
Elliott Hughes [Fri, 14 Aug 2015 22:57:10 +0000 (22:57 +0000)]
Merge "Use __builtin_* in <math.h>."
Elliott Hughes [Fri, 14 Aug 2015 21:04:30 +0000 (14:04 -0700)]
Use __builtin_* in <math.h>.
Also remove cruft meant to support long-obsolete compilers. More
benchmarks.
Bug: http://b/
23195789
Change-Id: Ief538e41e77a77e8013b2f4f359584e8df2c47d8
Elliott Hughes [Fri, 14 Aug 2015 21:09:26 +0000 (21:09 +0000)]
Merge "libm: ARM: reorganize a bit to match ARM64"
Jake Weinstein [Thu, 13 Aug 2015 23:00:49 +0000 (23:00 +0000)]
libm: ARM: reorganize a bit to match ARM64
* Cleaner naming, especially if there are more ARM-specific routines in
the future.
Change-Id: Id29db728800ccd612a906e86ccb95c1e7620514d
Elliott Hughes [Wed, 12 Aug 2015 02:28:25 +0000 (02:28 +0000)]
Merge "[MIPS] Invalidate cached pid in vfork."
Duane Sand [Wed, 12 Aug 2015 00:00:56 +0000 (17:00 -0700)]
[MIPS] Invalidate cached pid in vfork.
Bug: http://b/
23008979
Change-Id: I43e0c7db42602441313af4607a992caa8c7d6221
Dan Albert [Wed, 12 Aug 2015 01:58:18 +0000 (01:58 +0000)]
Merge "Fix test steps for 64-bit bionic"
Dan Albert [Wed, 12 Aug 2015 00:28:07 +0000 (00:28 +0000)]
Merge "Add missing include."
Duane Sand [Wed, 12 Aug 2015 00:21:27 +0000 (17:21 -0700)]
Fix test steps for 64-bit bionic
Change-Id: Ibe76f22cdb5c0dbc69a24ffd0acffff89686ca35
Dan Albert [Tue, 11 Aug 2015 23:46:26 +0000 (16:46 -0700)]
Add missing include.
libc++ cleaned up a leaky header.
Change-Id: I5ac0f43a075257a9138a82be379c9cffe96e0ab9
Dan Albert [Mon, 10 Aug 2015 23:45:48 +0000 (23:45 +0000)]
Merge "Move up to C++14."
Dan Albert [Mon, 10 Aug 2015 23:40:06 +0000 (16:40 -0700)]
Move up to C++14.
The default standard version is now ahead of us. Stop specifying C++11
so we get that too.
Change-Id: Ic96942cd7fd134118e29b744601b0119e49b6ac4
Yabin Cui [Mon, 10 Aug 2015 22:01:07 +0000 (22:01 +0000)]
Merge "Omit comment when reading --gtest_list_tests option's output."
Elliott Hughes [Mon, 10 Aug 2015 19:47:11 +0000 (19:47 +0000)]
Merge "Invalidate cached pid in vfork."
Yabin Cui [Mon, 10 Aug 2015 19:12:39 +0000 (12:12 -0700)]
Omit comment when reading --gtest_list_tests option's output.
Gtest add comments when listing typed tests. And we should omit them.
Bug:
23040880
Change-Id: If6034af301337fc06eeab294d2dbe5317a6b7f91
Elliott Hughes [Sat, 8 Aug 2015 01:27:47 +0000 (18:27 -0700)]
Invalidate cached pid in vfork.
Bug: http://b/
23008979
Change-Id: I1dd900ac988cdbe10aad3abc53240c5d352891d5
Andreas Gampe [Tue, 4 Aug 2015 22:35:34 +0000 (22:35 +0000)]
Merge "Bionic: Add a TLS slot for ART for Thread self"
Elliott Hughes [Tue, 4 Aug 2015 00:58:57 +0000 (00:58 +0000)]
Merge "name the arc4random structure mappings"
Elliott Hughes [Mon, 3 Aug 2015 18:22:42 +0000 (18:22 +0000)]
Merge "Cherrypick upstream fnmatch.c fix."
Elliott Hughes [Mon, 3 Aug 2015 18:11:22 +0000 (11:11 -0700)]
Cherrypick upstream fnmatch.c fix.
Bug: http://b/
22855370
Change-Id: I3865cff1e2ffeb6709cea092be3770c1bebf1623
Elliott Hughes [Mon, 3 Aug 2015 15:17:18 +0000 (15:17 +0000)]
Merge "[MIPS] Link .dex or .oat code lacking .MIPS.abiflags segment"
Daniel Micay [Sun, 2 Aug 2015 02:25:42 +0000 (22:25 -0400)]
name the arc4random structure mappings
Change-Id: I6e150e526f6ceee31aa9bd219fa45317d5a729cb
Yabin Cui [Sat, 1 Aug 2015 05:14:20 +0000 (05:14 +0000)]
Merge "add a fortified implementation of getcwd"
Daniel Micay [Wed, 20 May 2015 19:31:26 +0000 (15:31 -0400)]
add a fortified implementation of getcwd
Change-Id: Ice3e6d3e1ff07788305dc85f8ee4059baad5fac4
Duane Sand [Tue, 28 Jul 2015 21:04:29 +0000 (14:04 -0700)]
[MIPS] Link .dex or .oat code lacking .MIPS.abiflags segment
This corrects an issue with mips32 Art on mips64r6 Android, where
Java ran slowly due to unintended use of kernel-trap emulation of
single-precision floating point registers. This also regressed all
Art tests due to an extra logcat line
WARNING: linker: Using FRE=1 mode to run "..."
When targeting mips32r6, Art generates modeless or FR=1 floating point
code, same as Android's own native mips32r6 modules. So the trapping was
unneeded. Linker was confusing Art-generated modules with those from
old NDK compilers, which do need that trapping mode.
This linker filename check may become unnecessary, if Art learns how to
generate .MIPS.abiflags segments in its generated elf-like codefiles.
Change-Id: I18069d1234960c680c5df739514da09015a7fdb6
Elliott Hughes [Fri, 31 Jul 2015 18:04:38 +0000 (18:04 +0000)]
Merge "Sync current upstream fnmatch.c."
Elliott Hughes [Fri, 31 Jul 2015 17:57:27 +0000 (10:57 -0700)]
Sync current upstream fnmatch.c.
Bug: http://b/
22855370
Change-Id: I589f849aaede3b69b6b3682989bab7d8649dcd97
Elliott Hughes [Fri, 31 Jul 2015 17:33:05 +0000 (17:33 +0000)]
Merge "Revert "add a fortified implementation of getcwd""
Elliott Hughes [Fri, 31 Jul 2015 17:32:50 +0000 (17:32 +0000)]
Revert "add a fortified implementation of getcwd"
This reverts commit
89a121d43a274131cf9f84b0e685bebf1e70cc1b.
Change-Id: Ib6f6fd424acea68a063777e9f324405450e23316
Yabin Cui [Fri, 31 Jul 2015 16:55:12 +0000 (16:55 +0000)]
Merge "add a fortified implementation of getcwd"
Daniel Micay [Wed, 20 May 2015 19:31:26 +0000 (15:31 -0400)]
add a fortified implementation of getcwd
Change-Id: I95001ae4fe8f206db83e5c44d129ba11310695ce
Elliott Hughes [Thu, 30 Jul 2015 15:10:59 +0000 (15:10 +0000)]
Merge "Stop sending SIGPIPE to debuggerd."
Elliott Hughes [Thu, 30 Jul 2015 05:24:13 +0000 (22:24 -0700)]
Stop sending SIGPIPE to debuggerd.
SIGPIPE is a pretty normal way for command-line apps to die, but because
we catch it and report it via debuggerd, we get a lot of bogus bugs. We
could catch SIGPIPE in our tools, but that's not really legit and slightly
misleading.
"But", you say, "catching SIGPIPE is useful for app bugs!". Except a trawl
through buganizer suggests it's misleading there too. Not least because
it's usually an innocent victim that dies --- the problem is usually on the
other end of the pipe (which you learn nothing about because that process
already died, which is what closed the pipe).
We also don't catch SIGALRM, which is another signal that will terminate
your process if you don't catch it, but that one actually represents a
logic error in the crashing process, so there's a stronger argument for
catching that. (Except it too is not a real source of bugs.)
Bug: http://b/
20659371
Change-Id: I79820b36573ddaa9a7bad0561a52f23e7a8d15ac
Elliott Hughes [Thu, 30 Jul 2015 00:22:48 +0000 (00:22 +0000)]
Merge "Prevent buffer over-read in linker.cpp's parse_path."
tony.ys_liu [Wed, 29 Jul 2015 10:00:22 +0000 (18:00 +0800)]
Prevent buffer over-read in linker.cpp's parse_path.
Also, the old behavior of skipping empty entries doesn't match glibc.
Change-Id: I497774377113ab6c5d962e0f20066e2192748f06
Elliott Hughes [Wed, 29 Jul 2015 15:18:06 +0000 (15:18 +0000)]
Merge "Remove PAGE_SIZE from <limits.h>."
Elliott Hughes [Wed, 29 Jul 2015 02:52:31 +0000 (19:52 -0700)]
Remove PAGE_SIZE from <limits.h>.
It turns out that everyone's still getting PAGE_SIZE from <sys/user.h> via
<sys/ucontext.h> via <signal.h> anyway.
glibc has PAGE_SIZE in <sys/user.h> rather than <limits.h> so this part is
good. The bad part is that we have such wide transitive inclusion of
<sys/user.h>!
Bug: http://b/
22735893
Change-Id: I363adffe4a27b4ca1eedf695ea621f5dd2d5ca10
Andreas Gampe [Wed, 29 Jul 2015 02:53:54 +0000 (19:53 -0700)]
Bionic: Add a TLS slot for ART for Thread self
To improve the performance of Thread::Current(), add a tls slot so
ART can avoid a pthreads call.
Change-Id: Icc86a2b7590734637366f9d5e41a5c6d18cc5772
Elliott Hughes [Wed, 29 Jul 2015 01:02:37 +0000 (01:02 +0000)]
Merge "Don't transitively include <limits.h> from <sys/user.h>."
Elliott Hughes [Wed, 29 Jul 2015 00:44:32 +0000 (17:44 -0700)]
Don't transitively include <limits.h> from <sys/user.h>.
Bug: http://b/
22735893
Change-Id: I27d0a1f7e2d477b8038e76bfc7fe05dd7e187344
Elliott Hughes [Wed, 29 Jul 2015 00:09:20 +0000 (00:09 +0000)]
Merge "Remove PAGESIZE."
Elliott Hughes [Tue, 28 Jul 2015 23:46:06 +0000 (16:46 -0700)]
Remove PAGESIZE.
This was pretty much unused, and isn't in glibc.
Bug: http://b/
22735893
Change-Id: If17f0dcd931c90ef1ccb134a3950c3b0011a03f4
Elliott Hughes [Tue, 28 Jul 2015 23:11:18 +0000 (23:11 +0000)]
Merge "Move PAGE_MASK into <sys/user.h>."
Elliott Hughes [Tue, 28 Jul 2015 21:58:37 +0000 (14:58 -0700)]
Move PAGE_MASK into <sys/user.h>.
I'm removing the TODO on the assumption that being compatible with glibc
is more useful than BSD. The new internal "bionic_page.h" header factors
out some duplication between libc and the linker.
Bug: http://b/
22735893
Change-Id: I4aec4dcba5886fb6f6b9290a8f85660643261321