Yabin Cui
917d390510
Make pthread stack size match real range.
...
Bug: 18908062
Change-Id: I7037ac8273ebe54dd19b1561c7a376819049124c
2015-01-08 14:27:24 -08:00
Dmitriy Ivanov
b5e508cfee
Merge "Set linux 32bit personality for 32 bit processes"
2015-01-08 00:46:49 +00:00
Dmitriy Ivanov
bfa15e464e
Set linux 32bit personality for 32 bit processes
...
Bug: 18069809
Change-Id: Ie143d56b0f8f03510dc451649291067e1add1d2f
2015-01-07 16:32:05 -08:00
Dmitriy Ivanov
1d548dc95c
Merge "Print error when prelink fails for main executable"
2015-01-08 00:08:35 +00:00
Dmitriy Ivanov
6718125ac7
Print error when prelink fails for main executable
...
Bug: 18931021
Change-Id: Ib6c39a409161b20a10c3485272c73bc2abd4ee4f
(cherry picked from commit d9e211ca1f
)
2015-01-07 15:49:40 -08:00
Dmitriy Ivanov
1b8f467c02
Remove outdated list of abi bugs
...
Change-Id: I275093a7a66b53ec25317e02c4bff46c2facc030
2015-01-07 14:14:34 -08:00
Elliott Hughes
ac8f281029
Merge "_Unwind_Context is a struct."
2015-01-07 02:59:26 +00:00
Elliott Hughes
30e59c4c69
_Unwind_Context is a struct.
...
Change-Id: Iff2c52dc630eb83b931a78fdebc4494d69462db7
2015-01-06 18:48:24 -08:00
Yabin Cui
8004f735f1
Merge "Remove PTHREAD_ATTR_FLAG_USER_ALLOCATED_STACK."
2015-01-07 01:28:40 +00:00
Yabin Cui
ba8dfc2669
Remove PTHREAD_ATTR_FLAG_USER_ALLOCATED_STACK.
...
Patch for https://android-review.googlesource.com/#/c/120844/ .
Change-Id: Idca5ccd7b28e8f07f1d2d1b6e3bba6781b62f0e0
2015-01-06 17:11:23 -08:00
Elliott Hughes
d3de1ddef1
Merge "[MIPS64] Add correct mcontext_t for 64-bit MIPS"
2015-01-06 17:43:25 +00:00
Faraz Shahbazker
e247e1c89e
[MIPS64] Add correct mcontext_t for 64-bit MIPS
...
Change-Id: I76d503860d0e1d937b6913bf2c1c6ebb531617da
2015-01-06 07:58:02 -08:00
Yabin Cui
597800f1d7
Merge "better gtest runner for bionic"
2015-01-02 22:38:41 +00:00
Yabin Cui
541b0b187d
Merge "Reserve enough user request stack space in pthread_create."
2015-01-02 22:37:56 +00:00
Yabin Cui
6a7aaf4675
Reserve enough user request stack space in pthread_create.
...
Bug: 18830897
Change-Id: I1ba4aaeaf66a7ff99c5d82ad45469011171b0a3b
2015-01-02 14:33:48 -08:00
Elliott Hughes
9b6164ca8d
Merge "Remove bogus transitive includes."
2014-12-29 21:52:04 +00:00
Elliott Hughes
40360b379c
Remove bogus transitive includes.
...
<signal.h> shouldn't get you the contents of <errno.h>, and <fcntl.h>
shouldn't get you the contents of <unistd.h>.
Change-Id: I347499cd8671bfee98e6b8e875a97cab3a3655d3
2014-12-29 13:29:50 -08:00
Elliott Hughes
0a552407ad
Merge "Ensure <fcntl.h> defines the S_* constants from <sys/stat.h>."
2014-12-29 19:40:45 +00:00
Elliott Hughes
64d8382394
Ensure <fcntl.h> defines the S_* constants from <sys/stat.h>.
...
POSIX says "The <fcntl.h> header shall define the symbolic constants for file
modes for use as values of mode_t as described in <sys/stat.h>".
Needed to build ToT strace.
Change-Id: Ia85a51ef6fd86a48084fe48ce24963000a937d37
2014-12-29 11:14:38 -08:00
Elliott Hughes
50e15a2ec7
Merge "Remove more BSD cruft from the public headers."
2014-12-23 20:14:52 +00:00
Elliott Hughes
ba09edcb41
Merge "Fix nan output in the printf family."
2014-12-21 02:54:06 +00:00
Elliott Hughes
1b18aff9ba
Fix nan output in the printf family.
...
Bug: https://code.google.com/p/android/issues/detail?id=82452
Change-Id: I51f226c8b033de6e81baeea5e6db3de6ed196f73
2014-12-20 18:53:08 -08:00
Elliott Hughes
998f2d5a50
Remove more BSD cruft from the public headers.
...
Change-Id: I1e3097f745b526db448bf72fbc05fb2ba23929a0
2014-12-19 19:30:11 -08:00
Yabin Cui
4c30fedfd3
Merge "Move gethtnamaddr.c to net/ subdirectory."
2014-12-20 03:16:05 +00:00
Yabin Cui
a2177c6ccb
Move gethtnamaddr.c to net/ subdirectory.
...
It may be the better place to stay.
Change-Id: I517cc2769f63e1873191768c4732907c14f2c60e
2014-12-19 17:29:04 -08:00
Yabin Cui
7e202e4eb1
Merge "Remove t->tls==NULL check in pthread_key_delete."
2014-12-20 00:44:41 +00:00
Yabin Cui
246bcb10b6
Remove t->tls==NULL check in pthread_key_delete.
...
Change-Id: I6c0c71d30fe9d5b888752a4204abd95d5149bb96
2014-12-19 16:31:03 -08:00
Yabin Cui
cdc7ad11e9
Merge "Use mmap to create the pthread_internal_t"
2014-12-20 00:10:38 +00:00
Yabin Cui
8cf1b30567
Use mmap to create the pthread_internal_t
...
Add name to mmaped regions.
Add pthread benchmark code.
Allocate pthread_internal_t on regular stack.
Bug: 16847284
Change-Id: Id60835163bb0d68092241f1a118015b5a8f85069
2014-12-19 16:05:29 -08:00
Yabin Cui
e28a186491
Merge "Support gethostbyname_r_ERANGE."
2014-12-19 22:53:26 +00:00
Yabin Cui
7069256495
Support gethostbyname_r_ERANGE.
...
Bug: 18802601
Change-Id: Iaa64921e96f91e330f1845c5399ee8aba39d9c10
2014-12-19 14:11:29 -08:00
Dimitry Ivanov
db3146489e
Merge "Add support for DT_MIPS_RLD_MAP2 tag."
2014-12-19 21:15:02 +00:00
Raghu Gandham
688157295f
Add support for DT_MIPS_RLD_MAP2 tag.
...
Position Independent Executables cannot communicate with GDB using DT_MIPS_RLD_TAG.
Hence a new tag DT_MIPS_RLD_MAP2 got introduced to fix the issue.
Change-Id: I77ce3faf1ef2e121003b804ecd291abb25cfbb56
Signed-off-by: Nikola Veljkovic<Nikola.Veljkovic@imgtec.com>
2014-12-19 11:13:11 -08:00
Chih-Hung Hsieh
65e6985617
Merge "Must use Clang assembler for mips target."
2014-12-19 01:27:23 +00:00
Chih-Hung Hsieh
6f96d58c0d
Must use Clang assembler for mips target.
...
GNU assembler has internal error with clang's output.
BUG: 18807290
Change-Id: Iabbe991720fc562884f19d79bded903505fc891d
2014-12-18 17:10:56 -08:00
Elliott Hughes
7eb9b6c537
Merge "Update bionic NOTICE files."
2014-12-19 01:10:37 +00:00
Elliott Hughes
6b2b5856d9
Update bionic NOTICE files.
...
Change-Id: Ic280872ef3137febd9d4a87d5c7662e264692071
2014-12-18 16:27:30 -08:00
Elliott Hughes
c631bb215e
Merge "Fix the types of some of the struct stat fields."
2014-12-18 23:38:26 +00:00
Elliott Hughes
b7f0693aaa
Merge "Remove bogus #include <endian.h> from <sys/stat.h>."
2014-12-18 23:24:26 +00:00
Elliott Hughes
9257c477ae
Fix the types of some of the struct stat fields.
...
Bug: 17062519
Change-Id: I5207867939f3c2876bf6448e565fa4364aa7e4f0
2014-12-18 15:17:42 -08:00
Elliott Hughes
8597c2b3f2
Merge "Split the shared group data from the shared passwd data."
2014-12-18 23:12:45 +00:00
Elliott Hughes
0c92e8c3d1
Remove bogus #include <endian.h> from <sys/stat.h>.
...
Bug: 17062519
Change-Id: I3dc21ee8b90580f112c73c72aff5d3bec4778026
2014-12-18 15:10:19 -08:00
Elliott Hughes
a9c940a69a
Merge "Fix struct stat member types for x86-64."
2014-12-18 23:05:20 +00:00
Elliott Hughes
1c52e6c926
Fix struct stat member types for x86-64.
...
Bug: 17062519
Change-Id: I93b1e8b1d4b6918ab7c3a985e2f7da277077375e
2014-12-18 15:03:33 -08:00
Elliott Hughes
7874f1d718
Split the shared group data from the shared passwd data.
...
Found by the toybox id(1) which calls both getpwuid(3) and getgrgid(3) before
looking at either result. The use of a shared buffer in this code meant that
even on a single thread, the data for any of the passwd functions would be
clobbered by the data for any of the group functions (or vice versa).
This might seem like an insufficient fix, but POSIX explicitly says (for
getpwnam) that the result "might be overwritten by a subsequent call to
getpwent(), getpwnam(), or getpwuid()" and likewise for other members of
that group, plus equivalent text for the group-related functions.
Change-Id: I2272f47e91f72e043fdaf7c169fa9f6978ff4370
2014-12-18 15:01:10 -08:00
Dan Albert
9dd5ab4619
Merge "Disable ASAN for more of our libraries."
2014-12-18 16:07:15 +00:00
Dan Albert
da194780b1
Disable ASAN for more of our libraries.
...
Since ASAN depends on these libraries, we need to exclude them from
being instrumented.
Change-Id: I62005b6d04ee7b2283c4bd54ace5304386c67358
2014-12-18 08:03:49 -08:00
Yabin Cui
370a3e573d
Merge "Sync with upstream for gethnamaddr.c."
2014-12-18 01:06:10 +00:00
Yabin Cui
58d33a51f3
Sync with upstream for gethnamaddr.c.
...
Bug: 18566967
Change-Id: I37e7410226b49eec67614e20b2c1d5e3e47817a5
2014-12-17 16:19:27 -08:00
Dmitriy Ivanov
92b9cb2c89
Merge "Add another test for weak-reference"
2014-12-16 22:01:47 +00:00