Daniel Micay
706186d266
fix PTRDIFF_MAX check in the 32-bit mmap wrapper
...
It wasn't making use of the page-rounded size.
Change-Id: I911345fcfd6419a4dbc18a4622b42e1b76729abb
2015-11-03 05:30:29 -05:00
Christopher Ferris
9fe02f3e3c
Merge "Fix comment to reflect the actual reality."
...
am: e07558fb80
* commit 'e07558fb80da4e196e8b7e371041c1e75c56b29b':
Fix comment to reflect the actual reality.
2015-11-02 21:10:19 +00:00
Christopher Ferris
e07558fb80
Merge "Fix comment to reflect the actual reality."
2015-11-02 21:07:04 +00:00
Christopher Ferris
384ffe3463
Fix comment to reflect the actual reality.
...
The original comment implied that Android 32 bit was the only one
using a bad time_t, but it turns out 32 bit glibc has the same time_t
as Android. Update the comment to reflect this reality.
Change-Id: I72cdd2c677a6521f7b43d4695a52fd8fdc3305bd
2015-11-02 12:56:37 -08:00
Dimitry Ivanov
86bf87c054
Merge "Generate libdl.so per-architecture version script"
...
am: 75dd3710e7
* commit '75dd3710e72e819ce6710e93672f937550ed3818':
Generate libdl.so per-architecture version script
2015-10-31 18:20:28 +00:00
Dimitry Ivanov
75dd3710e7
Merge "Generate libdl.so per-architecture version script"
2015-10-31 18:17:17 +00:00
Christopher Ferris
0ba085de2c
Merge "Make _signal hidden in all cases."
...
am: 6a8a09f7c4
* commit '6a8a09f7c40fb677a8dc8a233b58f62df8ae79dc':
Make _signal hidden in all cases.
2015-10-31 16:15:17 +00:00
Christopher Ferris
6a8a09f7c4
Merge "Make _signal hidden in all cases."
2015-10-31 16:11:48 +00:00
Dmitriy Ivanov
bc75047a1b
Generate libdl.so per-architecture version script
...
Bug: http://b/24767418
Change-Id: I3d5775ba44d4c8e7fc5f2fbebae10e022100f1e2
2015-10-30 17:43:27 -07:00
Christopher Ferris
1721cd6a74
Make _signal hidden in all cases.
...
_signal was static in 64 bit, and hidden on 32 bit. There is no
reason to have this distinction, so make it hidden in all cases.
Change-Id: I09d5d93ac8cab4fe14dc7bdfeb25aa46a3b7413d
2015-10-30 17:10:47 -07:00
Elliott Hughes
a8f69017e5
Merge "Add prlimit to LP32."
...
am: c36be975ce
* commit 'c36be975ce4525b452435f43beb1fb9fc26a7fdc':
Add prlimit to LP32.
2015-10-30 23:40:48 +00:00
Elliott Hughes
c36be975ce
Merge "Add prlimit to LP32."
2015-10-30 23:35:40 +00:00
Elliott Hughes
caa61b03b2
Merge "Remove <sys/shm.h>."
...
am: bdac9ec142
* commit 'bdac9ec142347a0dc9784bddd0f8336535e73529':
Remove <sys/shm.h>.
2015-10-30 22:16:58 +00:00
Elliott Hughes
bdac9ec142
Merge "Remove <sys/shm.h>."
2015-10-30 22:06:26 +00:00
Christopher Ferris
6297e3231c
Merge "Move __set_errno to ndk_cruft.cpp."
...
am: e75453d5dd
* commit 'e75453d5dd8b373f6e7ef61ec22a6a3074d51e02':
Move __set_errno to ndk_cruft.cpp.
2015-10-30 16:06:45 +00:00
Christopher Ferris
e75453d5dd
Merge "Move __set_errno to ndk_cruft.cpp."
2015-10-30 16:02:01 +00:00
Elliott Hughes
38eca07826
Remove <sys/shm.h>.
...
Android doesn't allow SysV IPC, so this only serves two purposes. It's
good in that it helps random code (especially code that doesn't actually
need this header) to compile anyway. But it's bad for the same reason:
it's misleading for configure scripts that test for the header but not
for the corresponding functions.
Bug: http://b/19340456
Change-Id: I4a5f319d9aecf46fc512fc94bb4f9e3f6ea64e71
2015-10-29 19:52:44 -07:00
Christopher Ferris
9978a9a82e
Move __set_errno to ndk_cruft.cpp.
...
Change-Id: I5caa1cc161961d2e4629429c0d406875b93cdbd0
2015-10-29 18:11:32 -07:00
Elliott Hughes
4151db5f99
Add prlimit to LP32.
...
Bug: http://b/24918750
Change-Id: I0151cd66ccf79a6169610de35bb9c288c0fa4917
2015-10-28 20:04:59 -07:00
Dimitry Ivanov
fedb167c55
Merge "Fix mips and x86 builds"
...
am: 50e9279589
* commit '50e92795890c0d8b4bf54c535f66f3b2edf7bd59':
Fix mips and x86 builds
2015-10-29 00:56:57 +00:00
Dimitry Ivanov
50e9279589
Merge "Fix mips and x86 builds"
2015-10-29 00:53:52 +00:00
Dmitriy Ivanov
c176440c90
Fix mips and x86 builds
...
Change-Id: Idda2494876fd6bf64b3efe6de2e384da9b6a0dbc
2015-10-28 17:51:47 -07:00
Dimitry Ivanov
bd5bf272a0
Merge "Fix LDFLAGS for arm and x86"
...
am: 5ccad497d4
* commit '5ccad497d43e7587ec5581845e5094488093f76d':
Fix LDFLAGS for arm and x86
2015-10-29 00:47:16 +00:00
Dimitry Ivanov
5ccad497d4
Merge "Fix LDFLAGS for arm and x86"
2015-10-29 00:43:00 +00:00
Dmitriy Ivanov
e85fb580c8
Fix LDFLAGS for arm and x86
...
Change-Id: I5366f4499cb4da3a51b8484ab3e4ff785f0888ab
2015-10-28 17:25:34 -07:00
Dimitry Ivanov
b420ddd27e
Merge "Generate per-architecture version scripts."
...
am: 578d949e8d
* commit '578d949e8df782134127b4ae384f731d9d7c6694':
Generate per-architecture version scripts.
2015-10-28 23:51:49 +00:00
Dimitry Ivanov
578d949e8d
Merge "Generate per-architecture version scripts."
2015-10-28 23:44:03 +00:00
Elliott Hughes
601183efaf
Merge "Remove the legacy endusershell/getusershell/setusershell stubs."
...
am: d9146c2404
* commit 'd9146c24041ad571e3725ab630d9ac94df3ff6d1':
Remove the legacy endusershell/getusershell/setusershell stubs.
2015-10-28 23:43:05 +00:00
Dmitriy Ivanov
284b468524
Generate per-architecture version scripts.
...
Bug: http://b/24767418
Change-Id: I23e49d8d30c0def3215ffbd99d09f207d9483624
2015-10-28 16:40:53 -07:00
Elliott Hughes
d9146c2404
Merge "Remove the legacy endusershell/getusershell/setusershell stubs."
2015-10-28 23:35:25 +00:00
Elliott Hughes
d7c7daada2
Remove the legacy endusershell/getusershell/setusershell stubs.
...
These don't work, aren't thread-safe, aren't in POSIX (or our header
files), and are only used by one app (whose developers I've contacted).
But the presence of these symbols causes configure to be confused, which
is a pain for Brillo.
Bug: http://b/24812426
Change-Id: I7fa6ef82864d5563929d9b8a7f8fcacb30b26d45
2015-10-28 14:20:16 -07:00
Elliott Hughes
a1be410fd7
Merge "Implement scandirat and scandirat64."
...
am: 1721be2229
* commit '1721be2229d07b5eea830f02a76e7be56d172aa9':
Implement scandirat and scandirat64.
2015-10-27 21:57:55 +00:00
Elliott Hughes
1721be2229
Merge "Implement scandirat and scandirat64."
2015-10-27 21:40:31 +00:00
Elliott Hughes
6331e806de
Implement scandirat and scandirat64.
...
Bug: http://b/12612339
Change-Id: Id3b249a884fe08964b26a017ae9574961f0cb441
2015-10-27 13:47:36 -07:00
Dimitry Ivanov
9e599956b2
Merge "Implement load at fixed address feature"
...
am: 5238eb0984
* commit '5238eb09844f9c1578353d4c9e297aadb34c71be':
Implement load at fixed address feature
2015-10-27 19:12:34 +00:00
Dimitry Ivanov
5238eb0984
Merge "Implement load at fixed address feature"
2015-10-27 19:03:53 +00:00
Dmitriy Ivanov
126af757c6
Implement load at fixed address feature
...
Bug: http://b/24683631
Change-Id: I3a39ab526c8f9e213339b60e135e5459d0f41381
2015-10-27 11:27:34 -07:00
Elliott Hughes
6e780f2f47
Merge "Fix <utmp.h> declarations."
...
am: 60752a2eea
* commit '60752a2eeab8cd0b344b27c67a47e30628962211':
Fix <utmp.h> declarations.
2015-10-27 15:11:58 +00:00
Elliott Hughes
60752a2eea
Merge "Fix <utmp.h> declarations."
2015-10-27 15:07:12 +00:00
Elliott Hughes
9216a64c90
Fix <utmp.h> declarations.
...
If we're going to keep this useless header -- and I think it's too late to
remove it -- it may as well be correct.
Bug: http://b/17700469
Change-Id: Ifec4f8f1a984483d7fa7d81d47786f75b70ff4ba
2015-10-26 19:29:12 -07:00
Elliott Hughes
00e9bfe523
Merge "Remove swap16/swap32/swap64 header pollution."
...
am: a2cf3783d4
* commit 'a2cf3783d4e9a4008ed468ef3204593f8f549934':
Remove swap16/swap32/swap64 header pollution.
2015-10-27 02:11:17 +00:00
Elliott Hughes
a2cf3783d4
Merge "Remove swap16/swap32/swap64 header pollution."
2015-10-27 02:07:35 +00:00
Elliott Hughes
bf4c32df6b
Remove swap16/swap32/swap64 header pollution.
...
This seems to be obsolete BSD stuff, and the only references to it in the
tree are people #undef'ing it.
Bug: http://b/2735009
Change-Id: Icde523ae2d15cf1025357d861f97b415e89e4f9a
2015-10-26 17:51:42 -07:00
Dimitry Ivanov
3d784087cd
Merge "Implement Library Load Order Randomization"
...
am: 6a4ddeb56e
* commit '6a4ddeb56ef2144e98437ae82f84b09ea785e411':
Implement Library Load Order Randomization
2015-10-26 22:38:01 +00:00
Dimitry Ivanov
6a4ddeb56e
Merge "Implement Library Load Order Randomization"
2015-10-26 22:30:35 +00:00
Christopher Ferris
25a7efa7e9
Merge "Fix arm64 fenv warnings, and make warnings errors."
...
am: 1ab8251030
* commit '1ab8251030407ec397009b46db025f8e9688abc8':
Fix arm64 fenv warnings, and make warnings errors.
2015-10-24 16:06:17 +00:00
Christopher Ferris
1ab8251030
Merge "Fix arm64 fenv warnings, and make warnings errors."
2015-10-24 16:00:29 +00:00
Christopher Ferris
fa7752986d
Fix arm64 fenv warnings, and make warnings errors.
...
Even though the control registers being read/written in fenv.c only
have 32 bits that are used, the instructions take a 64 bit register.
Make sure the inline assembler in the macros use 64 bit values.
Verified that before the change and after the change, the disassembly
is exactly the same.
In addition, add -Werror to the cflags.
Change-Id: I6603779327488c23e3aab13300edf2e02b101916
2015-10-23 16:41:17 -07:00
Christopher Ferris
c5b9c4d72f
Merge "Rename LIBC64_HIDDEN to LIBC32_LEGACY_PUBLIC."
...
am: ca430d9787
* commit 'ca430d9787f1c11c2df8e908c64fe2ef2e6d54ed':
Rename LIBC64_HIDDEN to LIBC32_LEGACY_PUBLIC.
2015-10-23 21:02:56 +00:00
Dimitry Ivanov
67e282d511
Merge "refactoring: introduce MappedFileFragment"
...
am: e08ab4b414
* commit 'e08ab4b4144b8c4c920221b403daa220b43df2fb':
refactoring: introduce MappedFileFragment
2015-10-23 21:02:51 +00:00