Commit Graph

9522 Commits

Author SHA1 Message Date
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
Varvara Rainchik
5a92284167 Add 32-bit Silvermont-optimized string/memory functions.
Add following functions:
bcopy, memcpy, memmove, memset, bzero, memcmp, wmemcmp, strlen,
strcpy, strncpy, stpcpy, stpncpy.
Create new directories inside arch-x86 to specify architecture: atom,
silvermont and generic (non atom or silvermont architectures are treated like generic).
Due to introducing optimized versions of stpcpy and stpncpy,
c-implementations of these functions are moved from
common for architectures makefile to arm and mips specific makefiles.

Change-Id: I990f8061c3e9bca1f154119303da9e781c5d086e
Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com>
2014-05-12 13:56:59 -07:00
Dmitriy Ivanov
c133ddd209 am 92ab5010: am fe4233e5: am ebcc7207: Merge "Cleanup: updated comments"
* commit '92ab50103a6611ba7f76639fa39645ce6956af85':
  Cleanup: updated comments
2014-05-12 19:03:14 +00:00
Dmitriy Ivanov
92ab50103a am fe4233e5: am ebcc7207: Merge "Cleanup: updated comments"
* commit 'fe4233e589bbc035fae49f891b9db7e31bc8b12b':
  Cleanup: updated comments
2014-05-12 18:59:52 +00:00
Dmitriy Ivanov
fe4233e589 am ebcc7207: Merge "Cleanup: updated comments"
* commit 'ebcc72070499b2ab2d1dee990d6f52814a56600e':
  Cleanup: updated comments
2014-05-12 18:54:45 +00:00
Dmitriy Ivanov
ebcc720704 Merge "Cleanup: updated comments" 2014-05-12 18:49:35 +00:00
Dmitriy Ivanov
6275f20834 Cleanup: updated comments
Bug: 14566672
Change-Id: I49ad28e3914b7d559db1e98542fee919db768f49
2014-05-12 11:47:10 -07:00
Dmitriy Ivanov
4b204cc316 am 1a6b54fd: am 15989a2b: am e2997950: Merge "Cleanup: remove AARCH/ARM_COPY relocation support"
* commit '1a6b54fd2e67d6d2bfd54b9a188030230065b943':
  Cleanup: remove AARCH/ARM_COPY relocation support
2014-05-12 17:38:15 +00:00
Dmitriy Ivanov
1a6b54fd2e am 15989a2b: am e2997950: Merge "Cleanup: remove AARCH/ARM_COPY relocation support"
* commit '15989a2b343fa55ff9e6aa927e7ce2fbe76a86cf':
  Cleanup: remove AARCH/ARM_COPY relocation support
2014-05-12 17:33:14 +00:00
Dmitriy Ivanov
15989a2b34 am e2997950: Merge "Cleanup: remove AARCH/ARM_COPY relocation support"
* commit 'e29979503a166d51e18e557a16aa8703a0dbdbb9':
  Cleanup: remove AARCH/ARM_COPY relocation support
2014-05-12 17:28:09 +00:00
Dmitriy Ivanov
e29979503a Merge "Cleanup: remove AARCH/ARM_COPY relocation support" 2014-05-12 17:21:35 +00:00
Dmitriy Ivanov
b906e13c55 Cleanup: remove AARCH/ARM_COPY relocation support
They are only legal for ET_EXEC binaries and these are no
longer supported.

Bug: 14566672
Change-Id: I99e0ff47e8c572db474bc5e52df870a72269abb3
2014-05-12 09:06:14 -07:00
The Android Automerger
9093a5d513 merge in master-release history after reset to 3c831506cf 2014-05-12 05:49:10 -07:00
Calin Juravle
3c831506cf am 26fbede0: am e032a18c: am d67c6af2: Merge "Reserve space for the future in statvfs(64)"
* commit '26fbede03e32a679836ac0b4fabe7be0d9458759':
  Reserve space for the future in statvfs(64)
2014-05-12 10:11:57 +00:00
Calin Juravle
324f9e22ef am fc7cc469: am 60e11324: am 4d695bf5: Merge "Align struct passwd definition with other variations of libc"
* commit 'fc7cc469d320b8bb66dd40d93692cd159040a04f':
  Align struct passwd definition with other variations of libc
2014-05-12 10:07:24 +00:00
Calin Juravle
26fbede03e am e032a18c: am d67c6af2: Merge "Reserve space for the future in statvfs(64)"
* commit 'e032a18c9792a51f6690b7c6e32b0c8c4ea0411b':
  Reserve space for the future in statvfs(64)
2014-05-12 10:07:20 +00:00
Calin Juravle
e032a18c97 am d67c6af2: Merge "Reserve space for the future in statvfs(64)"
* commit 'd67c6af2f6767b057546e80cb90818e0efccce96':
  Reserve space for the future in statvfs(64)
2014-05-12 10:03:05 +00:00
Calin Juravle
fc7cc469d3 am 60e11324: am 4d695bf5: Merge "Align struct passwd definition with other variations of libc"
* commit '60e1132460aec1dbe191dc3d2c8fec6073163824':
  Align struct passwd definition with other variations of libc
2014-05-12 10:02:49 +00:00
Calin Juravle
d67c6af2f6 Merge "Reserve space for the future in statvfs(64)" 2014-05-12 09:59:57 +00:00
Calin Juravle
60e1132460 am 4d695bf5: Merge "Align struct passwd definition with other variations of libc"
* commit '4d695bf5606f2cf4029a7ff4e6dd61073407d3b0':
  Align struct passwd definition with other variations of libc
2014-05-12 09:58:20 +00:00
Calin Juravle
7bec1212c7 Reserve space for the future in statvfs(64)
The kernel struct has some spare space at the end too, and some extra
fields, so having a bit of flexibility in statvfs might be worthwhile.

Bug: 14681331
Bug: 12875898
Change-Id: I5b502c5dd9d2e3bb8f34804f83c02669cefce01e
2014-05-12 10:56:39 +01:00
Calin Juravle
4d695bf560 Merge "Align struct passwd definition with other variations of libc" 2014-05-12 09:53:41 +00:00
The Android Automerger
7a3538df42 merge in master-release history after reset to d35f1b508e 2014-05-11 05:49:11 -07:00
The Android Automerger
da749ec7aa merge in master-release history after reset to d35f1b508e 2014-05-10 05:49:24 -07:00
Elliott Hughes
d35f1b508e am 5ce362b4: am cf113ab9: am 4b57305a: Merge "Bring in google3-style DISALLOW_* macros."
* commit '5ce362b4c5a942beea8dc90542f00d19b3b49845':
  Bring in google3-style DISALLOW_* macros.
2014-05-10 03:46:15 +00:00
Elliott Hughes
5ce362b4c5 am cf113ab9: am 4b57305a: Merge "Bring in google3-style DISALLOW_* macros."
* commit 'cf113ab91d30d7c984889b1ee26131aeac71c6d4':
  Bring in google3-style DISALLOW_* macros.
2014-05-10 03:41:53 +00:00
Elliott Hughes
cf113ab91d am 4b57305a: Merge "Bring in google3-style DISALLOW_* macros."
* commit '4b57305afe2b54a6afb733361f6fd93cb92ccfa8':
  Bring in google3-style DISALLOW_* macros.
2014-05-10 03:37:14 +00:00
Elliott Hughes
4b57305afe Merge "Bring in google3-style DISALLOW_* macros." 2014-05-10 03:32:28 +00:00
Elliott Hughes
8eac9af24e Bring in google3-style DISALLOW_* macros.
I've been meaning to do this for a very long time...

Change-Id: Ia8c16eee7c026c3c9505399948485fb778fb0152
2014-05-09 19:12:08 -07:00
Elliott Hughes
4e499eb7bf am f05495fd: am c66df5e9: am b2c3c803: Merge "Align the child stack in clone(2)."
* commit 'f05495fdab6a73575560190ae88cc0f2ba0a5a74':
  Align the child stack in clone(2).
2014-05-10 00:51:17 +00:00
Elliott Hughes
f05495fdab am c66df5e9: am b2c3c803: Merge "Align the child stack in clone(2)."
* commit 'c66df5e92d5ccb7ee6dce58107f042b367f074dc':
  Align the child stack in clone(2).
2014-05-10 00:47:04 +00:00
Elliott Hughes
c66df5e92d am b2c3c803: Merge "Align the child stack in clone(2)."
* commit 'b2c3c803f0f4a50acfdc31eb28bd83b48a0026fe':
  Align the child stack in clone(2).
2014-05-10 00:42:01 +00:00
Elliott Hughes
b2c3c803f0 Merge "Align the child stack in clone(2)." 2014-05-10 00:38:51 +00:00
Elliott Hughes
0d236aa3f1 Align the child stack in clone(2).
Also let clone(2) set the TLS for x86.

Also ensure we initialize the TLS before we clone(2) for all architectures.

Change-Id: Ie5fa4466e1c9ee116a281dfedef574c5ba60c0b5
2014-05-09 17:06:51 -07:00
Elliott Hughes
656e405f8b am 1bca28eb: am 0db4c690: am 8fa5c252: Merge "Align arm64 stacks to 16 bytes in __bionic_clone."
* commit '1bca28eb0d75763ba1813bed65b68f913dc6d79e':
  Align arm64 stacks to 16 bytes in __bionic_clone.
2014-05-09 21:54:56 +00:00
Christopher Ferris
e58f9950ae am 262700ac: am aabcf287: am b222097d: Merge "Use larger neon instructions for moving data."
* commit '262700ac96e4cdb299f542e7e7723b980dd2244f':
  Use larger neon instructions for moving data.
2014-05-09 21:54:55 +00:00
Elliott Hughes
1bca28eb0d am 0db4c690: am 8fa5c252: Merge "Align arm64 stacks to 16 bytes in __bionic_clone."
* commit '0db4c69087fab71cfe3f4874721af36330ea3d8d':
  Align arm64 stacks to 16 bytes in __bionic_clone.
2014-05-09 21:36:11 +00:00