Elliott Hughes
2fbb0fb751
am 2b5503b5
: am dbcba8f5
: Merge "Reduce stack usage of tmpfile(3)."
...
* commit '2b5503b578adb2a86dccf08b86bc0b30ec8b93a4':
Reduce stack usage of tmpfile(3).
2014-05-13 17:42:37 +00:00
Elliott Hughes
2b5503b578
am dbcba8f5
: Merge "Reduce stack usage of tmpfile(3)."
...
* commit 'dbcba8f5f9a59fac3d22dfc17a14d3d5cfb4f4b0':
Reduce stack usage of tmpfile(3).
2014-05-13 17:37:22 +00:00
Elliott Hughes
dbcba8f5f9
Merge "Reduce stack usage of tmpfile(3)."
2014-05-13 17:32:48 +00:00
Calin Juravle
1b530a9f80
am 493f718d
: am 66faa0c2
: am f34f0ccb
: Merge "Use __LP64__ instead of __LP32__ in sched.h"
...
* commit '493f718d87722615b2657dc6a0254dc3c3714a16':
Use __LP64__ instead of __LP32__ in sched.h
2014-05-13 17:29:56 +00:00
Calin Juravle
493f718d87
am 66faa0c2
: am f34f0ccb
: Merge "Use __LP64__ instead of __LP32__ in sched.h"
...
* commit '66faa0c21fcf8e0283167606bdfea32a99ff5bbc':
Use __LP64__ instead of __LP32__ in sched.h
2014-05-13 17:24:08 +00:00
Calin Juravle
66faa0c21f
am f34f0ccb
: Merge "Use __LP64__ instead of __LP32__ in sched.h"
...
* commit 'f34f0ccb0e1d1c6df5f60bbfc44983263f89164d':
Use __LP64__ instead of __LP32__ in sched.h
2014-05-13 17:21:29 +00:00
Calin Juravle
f34f0ccb0e
Merge "Use __LP64__ instead of __LP32__ in sched.h"
2014-05-13 17:16:30 +00:00
Elliott Hughes
b6943186ce
Reduce stack usage of tmpfile(3).
...
Also ensure that none of our home-grown code uses more than 2KiB per frame.
Change-Id: I8987a17d72f4b7f082bb7fa25e137c8433664c14
2014-05-13 10:14:22 -07:00
Dmitriy Ivanov
61c5dc3998
am b6c0ef26
: am f4846a3a
: am d44927b8
: Merge "Refactor linker allocator"
...
* commit 'b6c0ef2635adcb898317b68fb1a28caf59da9d01':
Refactor linker allocator
2014-05-13 15:59:06 +00:00
Dmitriy Ivanov
b6c0ef2635
am f4846a3a
: am d44927b8
: Merge "Refactor linker allocator"
...
* commit 'f4846a3ab6cc0f4787b684cf887e7ce462b7f2b6':
Refactor linker allocator
2014-05-13 15:55:07 +00:00
Dmitriy Ivanov
f4846a3ab6
am d44927b8
: Merge "Refactor linker allocator"
...
* commit 'd44927b8e9f4b2bcd376d1f84bad46f3ba9094de':
Refactor linker allocator
2014-05-13 15:52:15 +00:00
Dmitriy Ivanov
d44927b8e9
Merge "Refactor linker allocator"
2014-05-13 15:49:18 +00:00
Calin Juravle
dd09699fae
Use __LP64__ instead of __LP32__ in sched.h
...
Gcc defines only __LP64__ so testing __LP32__ will always be false.
Bug: 14881256
Change-Id: Ic63c1d562be09c3eb4b9e17c9e5ef2d9e404db80
2014-05-13 16:07:28 +01:00
Calin Juravle
b55f2631dc
Change wctype_t from int to long.
...
On LP64 this brings us on par with the other libcs where wctype_t is 8
bytes.
Bug: 12875898
Change-Id: Ice4f538ccf0634ef6667a8d90d0f7f09cec9e1b0
2014-05-13 13:11:27 +01:00
Calin Juravle
0c472479a2
Change wctype_t from enum to int
...
This increases bionic source compatibility with other libcs where
"wctype_t foo = 0;" is valid without -fpermissive.
Bug: 14646243
Change-Id: Ia9bd0785bc42c7b46e2bb6c3d9b9a9d3f769d983
2014-05-13 12:47:27 +01:00
Calin Juravle
3b0d098df1
am d0c625f5
: am d9f0e8f2
: am ddda264f
: Merge "Undef private *_BODY defines after use"
...
* commit 'd0c625f5de63e659e524710fe49ae1061d585dc6':
Undef private *_BODY defines after use
2014-05-13 10:41:10 +00:00
Calin Juravle
d0c625f5de
am d9f0e8f2
: am ddda264f
: Merge "Undef private *_BODY defines after use"
...
* commit 'd9f0e8f2e0810a9ed0b3799d9ab61d56d837276d':
Undef private *_BODY defines after use
2014-05-13 10:38:08 +00:00
Calin Juravle
d9f0e8f2e0
am ddda264f
: Merge "Undef private *_BODY defines after use"
...
* commit 'ddda264f1b3bf7627042c2d197d85044cac04564':
Undef private *_BODY defines after use
2014-05-13 10:34:20 +00:00
Calin Juravle
ddda264f1b
Merge "Undef private *_BODY defines after use"
2014-05-13 10:31:07 +00:00
Calin Juravle
f963da22ec
Undef private *_BODY defines after use
...
Bug: 14865741
Change-Id: I1398f7b3f64e3c94f2714cede5b61205dfa78a24
2014-05-13 11:01:11 +01:00
Calin Juravle
1410e398eb
am 17bc470c
: am c291db12
: am 38967f3d
: Merge "Add fpos_t tests."
...
* commit '17bc470c312aef0c403e1dac029c80856da94c40':
Add fpos_t tests.
2014-05-13 09:49:40 +00:00
Calin Juravle
e1a15335be
am df45321d
: am e0913cd4
: am e788f5e0
: Merge "Support mb sequences across calls to mb*to*wcs* functions"
...
* commit 'df45321da1b41ee3fb6c2a5504f6e84ea3599361':
Support mb sequences across calls to mb*to*wcs* functions
2014-05-13 09:49:39 +00:00
Calin Juravle
17bc470c31
am c291db12
: am 38967f3d
: Merge "Add fpos_t tests."
...
* commit 'c291db129b20cac08514e6767e88b911e025168d':
Add fpos_t tests.
2014-05-13 09:45:37 +00:00
Calin Juravle
df45321da1
am e0913cd4
: am e788f5e0
: Merge "Support mb sequences across calls to mb*to*wcs* functions"
...
* commit 'e0913cd44936c09b12aa66a6ac11ef127d60409e':
Support mb sequences across calls to mb*to*wcs* functions
2014-05-13 09:45:37 +00:00
Calin Juravle
c291db129b
am 38967f3d
: Merge "Add fpos_t tests."
...
* commit '38967f3d1fbc9326beb7eef8c084b334e9bd65f5':
Add fpos_t tests.
2014-05-13 09:40:29 +00:00
Calin Juravle
e0913cd449
am e788f5e0
: Merge "Support mb sequences across calls to mb*to*wcs* functions"
...
* commit 'e788f5e04b4618a2f51865f60b2d482dac50e05a':
Support mb sequences across calls to mb*to*wcs* functions
2014-05-13 09:40:28 +00:00
Calin Juravle
38967f3d1f
Merge "Add fpos_t tests."
2014-05-13 09:37:08 +00:00
Calin Juravle
e788f5e04b
Merge "Support mb sequences across calls to mb*to*wcs* functions"
2014-05-13 09:36:01 +00:00
Dmitriy Ivanov
d597d263bc
Refactor linker allocator
...
Makes it reusable for different fixed sized and not very
big structures (<PAGE_SIZE).
Change-Id: Id5ec13fc6541b1935ef7fe3671c22b98685abbae
2014-05-12 21:40:09 -07:00
Christopher Ferris
823074c5e4
am 66d0e685
: am 199e830a
: am 1abb1b93
: Merge "Add 64-bit Silvermont-optimized string/memory functions."
...
* commit '66d0e685145a400b08f5e4ec6bbc61ed8185cd39':
Add 64-bit Silvermont-optimized string/memory functions.
2014-05-13 00:59:29 +00:00
Christopher Ferris
66d0e68514
am 199e830a
: am 1abb1b93
: Merge "Add 64-bit Silvermont-optimized string/memory functions."
...
* commit '199e830a88548acf49f472ffa412b9d2d66bd4b1':
Add 64-bit Silvermont-optimized string/memory functions.
2014-05-13 00:54:52 +00:00
Christopher Ferris
199e830a88
am 1abb1b93
: Merge "Add 64-bit Silvermont-optimized string/memory functions."
...
* commit '1abb1b939d318513066ef580377cc3659ceac8ef':
Add 64-bit Silvermont-optimized string/memory functions.
2014-05-13 00:52:06 +00:00
Christopher Ferris
1abb1b939d
Merge "Add 64-bit Silvermont-optimized string/memory functions."
2014-05-13 00:48:40 +00:00
Christopher Ferris
64010b8f7e
am 19e15c5b
: am 5a3303da
: am c1d26965
: Merge "Add 32-bit Silvermont-optimized string/memory functions."
...
* commit '19e15c5bf6eecf2baa5bf8dd50fcf028477991bf':
Add 32-bit Silvermont-optimized string/memory functions.
2014-05-13 00:38:59 +00:00
Varvara Rainchik
a020a244ae
Add 64-bit Silvermont-optimized string/memory functions.
...
Add following functions:
bcopy, bzero, memcpy, memmove, memset, stpcpy, stpncpy, strcat, strcpy,
strlen, strncat, strncpy, memcmp, strcmp, strncmp.
Set all these functions as the default ones.
Change-Id: Ic66b250ad8c349a43d25e2d4dea075604f6df6ac
Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com>
2014-05-12 17:37:07 -07:00
Christopher Ferris
19e15c5bf6
am 5a3303da
: am c1d26965
: Merge "Add 32-bit Silvermont-optimized string/memory functions."
...
* commit '5a3303dad514bcb5fdb0b44d89ce78d0a5db5b1e':
Add 32-bit Silvermont-optimized string/memory functions.
2014-05-13 00:34:26 +00:00
Elliott Hughes
3ff9c0246c
am 5a19b361
: am 0b1a2ee7
: am 8b307e0e
: Merge "Remove the useless indirection in mips\' __set_tls."
...
* commit '5a19b361684283e51e00d532af231f5e9e4a9456':
Remove the useless indirection in mips' __set_tls.
2014-05-13 00:33:52 +00:00
Christopher Ferris
5a3303dad5
am c1d26965
: Merge "Add 32-bit Silvermont-optimized string/memory functions."
...
* commit 'c1d26965ae12f94c7b0dc64b2548c3c29d180296':
Add 32-bit Silvermont-optimized string/memory functions.
2014-05-13 00:30:07 +00:00
Christopher Ferris
c1d26965ae
Merge "Add 32-bit Silvermont-optimized string/memory functions."
2014-05-13 00:26:50 +00:00
Calin Juravle
03e4ebee8d
Add fpos_t tests.
...
Bug: 13077905
Change-Id: I86bb0ee95660f69f9971231c6f828a3a067d1ac8
2014-05-13 00:39:08 +01:00
Calin Juravle
15a6310e4b
Support mb sequences across calls to mb*to*wcs* functions
...
Bug: 13077905
Change-Id: I5abdc7cc3c27c109b7900c94b112f18a95c35763
2014-05-13 00:24:25 +01:00
Elliott Hughes
5a19b36168
am 0b1a2ee7
: am 8b307e0e
: Merge "Remove the useless indirection in mips\' __set_tls."
...
* commit '0b1a2ee7811dd1c9fcbad067a9b972d6c1844c39':
Remove the useless indirection in mips' __set_tls.
2014-05-12 23:23:39 +00:00
Elliott Hughes
0b1a2ee781
am 8b307e0e
: Merge "Remove the useless indirection in mips\' __set_tls."
...
* commit '8b307e0e9843aad7e1816eb631208117df2e787b':
Remove the useless indirection in mips' __set_tls.
2014-05-12 23:18:32 +00:00
Elliott Hughes
8b307e0e98
Merge "Remove the useless indirection in mips' __set_tls."
2014-05-12 23:14:51 +00:00
Elliott Hughes
dcbef06ce6
Remove the useless indirection in mips' __set_tls.
...
Change-Id: I12e9d6716c42ccbccc9a186441aca0736bb22d05
2014-05-12 16:11:06 -07:00
Elliott Hughes
b47d8cd12a
am 04211b2c
: am 14d02ac7
: am 2b18b107
: Merge "Fix use-after-free errors in stdio_test."
...
* commit '04211b2c47bcae733ffb875ee9d205c3d675bc00':
Fix use-after-free errors in stdio_test.
2014-05-12 22:44:16 +00:00
Elliott Hughes
04211b2c47
am 14d02ac7
: am 2b18b107
: Merge "Fix use-after-free errors in stdio_test."
...
* commit '14d02ac74cd3cd1cb22e7d1b12a555e38df2402a':
Fix use-after-free errors in stdio_test.
2014-05-12 22:39:25 +00:00
Elliott Hughes
14d02ac74c
am 2b18b107
: Merge "Fix use-after-free errors in stdio_test."
...
* commit '2b18b10710995834e955658aedad3fdb2f994af8':
Fix use-after-free errors in stdio_test.
2014-05-12 22:35:02 +00:00
Elliott Hughes
2b18b10710
Merge "Fix use-after-free errors in stdio_test."
2014-05-12 22:30:41 +00:00
Elliott Hughes
20f8aec897
Fix use-after-free errors in stdio_test.
...
fclose(3) frees the passed-in FILE*. We should close(2) the underlying fd,
not fclose(3) the stream, if we want to test what happens with a stream
we can't read from.
Bug: 14466691
Change-Id: I99fed5904b0266b9c6ae05d0b9cf2e926446c064
2014-05-12 15:15:37 -07:00