9080 Commits

Author SHA1 Message Date
Christopher Ferris
d35cac4a2e am b6481ffb: am 5c34b003: am 78c3e11e: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
* commit 'b6481ffb63820b759369da2e6836b1ecc453889f':
  Add optimized AArch64 versions of bcopy and wmemmove based on memmove
2014-05-24 01:07:31 +00:00
Christopher Ferris
b6481ffb63 am 5c34b003: am 78c3e11e: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
* commit '5c34b003dca903f0308da9a2e07a5cd99bc7ebf1':
  Add optimized AArch64 versions of bcopy and wmemmove based on memmove
2014-05-24 01:04:06 +00:00
Ben Cheng
a937f5246f am 50049943: am 50348295: am f4985b14: Merge "Clear link register in __bionic_clone."
* commit '500499435f04b8617e0756f71a37736bdc1ef9ad':
  Clear link register in __bionic_clone.
2014-05-24 01:04:03 +00:00
Christopher Ferris
5c34b003dc am 78c3e11e: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
* commit '78c3e11e78e7d2643ec25e2be1cfc258aeb6d9d7':
  Add optimized AArch64 versions of bcopy and wmemmove based on memmove
2014-05-24 01:01:01 +00:00
Ben Cheng
500499435f am 50348295: am f4985b14: Merge "Clear link register in __bionic_clone."
* commit '50348295048b25b06140b4d34edb7932973addfd':
  Clear link register in __bionic_clone.
2014-05-24 01:00:40 +00:00
Christopher Ferris
78c3e11e78 Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove" 2014-05-24 00:58:15 +00:00
Ben Cheng
5034829504 am f4985b14: Merge "Clear link register in __bionic_clone."
* commit 'f4985b14cfed187376a24dd4a0cd16206e746bd9':
  Clear link register in __bionic_clone.
2014-05-24 00:57:39 +00:00
Ben Cheng
f4985b14cf Merge "Clear link register in __bionic_clone." 2014-05-24 00:54:16 +00:00
Bernhard Rosenkraenzer
8167dd7cb9 Add optimized AArch64 versions of bcopy and wmemmove based on memmove
Add optimized versions of bcopy and wmemmove for AArch64 based on the
memmove implementation

Change-Id: Ie43d0ff4f8ec4edba5b4fb5ccacd941f81ac6557
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2014-05-23 17:54:08 -07:00
Ben Cheng
8df0fe0c74 Clear link register in __bionic_clone.
Since __bionic_clone uses tail-call to invoke __bionic_clone_entry,
at runtime the unwinder will reach the stack of the clone() function,
which belongs to the parent thread, if the link register is not cleared.

BUG: 14270816
Change-Id: Ia3711c87f8b619debe73748c28b9fb8691ea698e
2014-05-23 16:35:21 -07:00
Elliott Hughes
8adf95857b am 28bfc84e: am 764ebf8a: am a486632e: Merge "Remove <sys/atomics.h>."
* commit '28bfc84e42a91a4960844ea36c90dc7c936ef292':
  Remove <sys/atomics.h>.
2014-05-23 22:33:40 +00:00
Elliott Hughes
28bfc84e42 am 764ebf8a: am a486632e: Merge "Remove <sys/atomics.h>."
* commit '764ebf8a901ac2d3b04279ea7f8d77c51e1024ea':
  Remove <sys/atomics.h>.
2014-05-23 22:27:27 +00:00
Elliott Hughes
764ebf8a90 am a486632e: Merge "Remove <sys/atomics.h>."
* commit 'a486632e789c6db4c35f969485ebb57f503bcf48':
  Remove <sys/atomics.h>.
2014-05-23 22:23:56 +00:00
Elliott Hughes
a486632e78 Merge "Remove <sys/atomics.h>." 2014-05-23 22:18:40 +00:00
Elliott Hughes
c3f909630b Remove <sys/atomics.h>.
Bug: 14903517
Change-Id: I6de1d9d3624922517fdc37922097abbc3b41f661
2014-05-23 14:36:30 -07:00
Calin Juravle
09afdfb514 am 66aba0d8: am d2b12988: am b2604949: Merge "Migrate pthread_rwlock implementation away from sys/atomics"
* commit '66aba0d8b2789b3ccf74df7111b0e8b838f0e320':
  Migrate pthread_rwlock implementation away from sys/atomics
2014-05-23 19:43:29 +00:00
Elliott Hughes
bfba94aa3c am 8255a971: am 69068fd9: am fb9a47c7: Merge "Hide various stdio implementation details."
* commit '8255a971cc0d6d69c870f514fcf0fae1e5d3ebec':
  Hide various stdio implementation details.
2014-05-23 19:43:17 +00:00
Elliott Hughes
fc07a1e613 am a722fdcd: am cdf15e39: am 253fa170: Merge "Lose the hand-written futex assembler."
* commit 'a722fdcdb7bcddfb5ac30ad22798da4b53988013':
  Lose the hand-written futex assembler.
2014-05-23 19:43:16 +00:00
Dmitriy Ivanov
3e72f2894e am 571c1639: am d97458eb: am ce00354f: Merge "Do not add arcs to the soinfo graph on dlopen"
* commit '571c163950479bd41928098415b2cae7602d4743':
  Do not add arcs to the soinfo graph on dlopen
2014-05-23 19:34:47 +00:00
Elliott Hughes
f25f5712f3 am 16933c6a: am 5a95dd14: am ea7dc320: Merge "Add some more BSD symbols to the list."
* commit '16933c6ae9c6b8de8e05374b5b52446f637e6071':
  Add some more BSD symbols to the list.
2014-05-23 19:34:39 +00:00
Elliott Hughes
a03e07a625 am 236130cd: am 3fd88ebe: am 0f79a2f4: Merge "Cleaned up pthread rwlocks implementation."
* commit '236130cd8dab048009ab3fbbe7e24bd7dca8dfa3':
  Cleaned up pthread rwlocks implementation.
2014-05-23 19:34:39 +00:00
Elliott Hughes
c1c1992527 am 57b0f075: am bfa87e27: am ec071ac0: Merge "Remove the tkill(2) stub."
* commit '57b0f075dd66f195c6568e049a9269b9e1e8f016':
  Remove the tkill(2) stub.
2014-05-23 19:34:38 +00:00
The Android Automerger
b3515ef311 am 19cb2c17: merge in master-release history after reset to 2c525659409fb051df19db438c0d3e6b3e5e09d5
* commit '19cb2c175a2527bc58f610d6b7f0a69d7d5592ac':
2014-05-23 18:22:21 +00:00
Calin Juravle
66aba0d8b2 am d2b12988: am b2604949: Merge "Migrate pthread_rwlock implementation away from sys/atomics"
* commit 'd2b129881acb7000f7943bfdb47782f505026cc0':
  Migrate pthread_rwlock implementation away from sys/atomics
2014-05-23 10:14:49 +00:00
Calin Juravle
d2b129881a am b2604949: Merge "Migrate pthread_rwlock implementation away from sys/atomics"
* commit 'b26049490b3a5e054d7440b94c0082e8bfd09f0b':
  Migrate pthread_rwlock implementation away from sys/atomics
2014-05-23 10:11:35 +00:00
Calin Juravle
b26049490b Merge "Migrate pthread_rwlock implementation away from sys/atomics" 2014-05-23 10:07:46 +00:00
Elliott Hughes
8255a971cc am 69068fd9: am fb9a47c7: Merge "Hide various stdio implementation details."
* commit '69068fd919b482028b3afd84a814d48b362a0189':
  Hide various stdio implementation details.
2014-05-23 08:34:57 +00:00
Elliott Hughes
a722fdcdb7 am cdf15e39: am 253fa170: Merge "Lose the hand-written futex assembler."
* commit 'cdf15e3908312493331b20abef422234fbcc1c29':
  Lose the hand-written futex assembler.
2014-05-23 08:34:53 +00:00
Elliott Hughes
69068fd919 am fb9a47c7: Merge "Hide various stdio implementation details."
* commit 'fb9a47c740661a1c578cfc4f16180f14724cbdf5':
  Hide various stdio implementation details.
2014-05-23 07:15:53 +00:00
Elliott Hughes
fb9a47c740 Merge "Hide various stdio implementation details." 2014-05-23 06:28:42 +00:00
Elliott Hughes
cdf15e3908 am 253fa170: Merge "Lose the hand-written futex assembler."
* commit '253fa170a3f6a1edce8ce4b8e6e966b35152b550':
  Lose the hand-written futex assembler.
2014-05-23 05:38:49 +00:00
Elliott Hughes
253fa170a3 Merge "Lose the hand-written futex assembler." 2014-05-23 05:34:28 +00:00
Elliott Hughes
2899de9b05 Hide various stdio implementation details.
I've left __sF exposed since that's how the OpenBSD stdin, stdout, stderr
are implemented. Other BSDs and glibc use a separate global for each instead
of an array.

Bug: 11156955
Change-Id: I9f3d2d4314a8d4a78c3197b9acd9258820c5f150
2014-05-22 20:06:23 -07:00
Elliott Hughes
ced906c849 Lose the hand-written futex assembler.
Also stop exporting 'futex'.

Bug: 12250341
Change-Id: Icc4fa4296cd04dfe0d1061822c69e2eb40c3433a
2014-05-22 19:49:11 -07:00
Dmitriy Ivanov
571c163950 am d97458eb: am ce00354f: Merge "Do not add arcs to the soinfo graph on dlopen"
* commit 'd97458eb877a06ab097a806788580f72349fb09e':
  Do not add arcs to the soinfo graph on dlopen
2014-05-23 02:27:22 +00:00
Dmitriy Ivanov
d97458eb87 am ce00354f: Merge "Do not add arcs to the soinfo graph on dlopen"
* commit 'ce00354fec9dfad87090aad4ec79c418e42e92f4':
  Do not add arcs to the soinfo graph on dlopen
2014-05-23 02:22:42 +00:00
Dmitriy Ivanov
ce00354fec Merge "Do not add arcs to the soinfo graph on dlopen" 2014-05-23 02:19:10 +00:00
Bjorn Andersson
3c005d6019 Do not add arcs to the soinfo graph on dlopen
While introducing RTLD_NOLOAD in b648a8a5 a change in how soinfo structs are
connected was also introduced. When calling dlopen the library that is loaded
is added as a child to the soinfo from which the caller comes - i.e. building a
dependency graph.

Unfortunately this shows issues upon unloading, such as blowing the stack if
there are loops in the graph.

This change reverts that part of b648a8a5, keeping everything as a child of the
root soinfo.

Change-Id: I604ee9210613b19f693a568158e69707620a95db
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
2014-05-22 19:08:14 -07:00
Elliott Hughes
16933c6ae9 am 5a95dd14: am ea7dc320: Merge "Add some more BSD symbols to the list."
* commit '5a95dd1446ee1563d6500990a8576917b01f2981':
  Add some more BSD symbols to the list.
2014-05-23 02:02:36 +00:00
Elliott Hughes
5a95dd1446 am ea7dc320: Merge "Add some more BSD symbols to the list."
* commit 'ea7dc32080114af59789c119ca6aa4814426ea42':
  Add some more BSD symbols to the list.
2014-05-23 01:58:38 +00:00
Elliott Hughes
236130cd8d am 3fd88ebe: am 0f79a2f4: Merge "Cleaned up pthread rwlocks implementation."
* commit '3fd88ebe0f881438ed07b62d991e46e7f9adab83':
  Cleaned up pthread rwlocks implementation.
2014-05-23 01:56:05 +00:00
Elliott Hughes
ea7dc32080 Merge "Add some more BSD symbols to the list." 2014-05-23 01:53:53 +00:00
Elliott Hughes
45bf4c315d Add some more BSD symbols to the list.
Bug: 11156955
Change-Id: I07489ec63536121dbfc372170ef5cf60a5c58948
2014-05-22 18:53:21 -07:00
Elliott Hughes
3fd88ebe0f am 0f79a2f4: Merge "Cleaned up pthread rwlocks implementation."
* commit '0f79a2f48788c093804c9f61a66105873eb1cb59':
  Cleaned up pthread rwlocks implementation.
2014-05-23 01:52:42 +00:00
Elliott Hughes
57b0f075dd am bfa87e27: am ec071ac0: Merge "Remove the tkill(2) stub."
* commit 'bfa87e27f7c9d19f697bb384429673bb96140d7a':
  Remove the tkill(2) stub.
2014-05-23 01:52:40 +00:00
Elliott Hughes
0f79a2f487 Merge "Cleaned up pthread rwlocks implementation." 2014-05-23 01:47:56 +00:00
Elliott Hughes
bfa87e27f7 am ec071ac0: Merge "Remove the tkill(2) stub."
* commit 'ec071ac062077498dfee3e2171371def7320aa56':
  Remove the tkill(2) stub.
2014-05-23 01:47:49 +00:00
Elliott Hughes
ec071ac062 Merge "Remove the tkill(2) stub." 2014-05-23 01:43:42 +00:00
Calin Juravle
1b676ea5fb Migrate pthread_rwlock implementation away from sys/atomics
Bug: 8133149
Bug: 14903517
Change-Id: Ib85987f53d7aeaec12a980ccb645c4a449c48503
2014-05-23 00:26:24 +01:00
Calin Juravle
92687e41bc Cleaned up pthread rwlocks implementation.
- used underscore_style_for_vars
- extracted time related functionality into a function
- cleaned up style
- removed unused fields from pthread_rwlock_t on LP64
- changed reservation in pthread_rwlock_t so that the size of the
structure equals glibc version

Bug: 8133149

Change-Id: I84ad3918678dc7f5e6b3db9b7e9b0899d3abe9cd
2014-05-23 00:22:58 +01:00