Commit Graph

4400 Commits

Author SHA1 Message Date
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
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
Calin Juravle
b26049490b Merge "Migrate pthread_rwlock implementation away from sys/atomics" 2014-05-23 10:07:46 +00:00
Elliott Hughes
fb9a47c740 Merge "Hide various stdio implementation details." 2014-05-23 06:28:42 +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
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
0f79a2f487 Merge "Cleaned up pthread rwlocks implementation." 2014-05-23 01:47:56 +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
Elliott Hughes
6e599a904b Remove the tkill(2) stub.
glibc doesn't have tkill or tgkill and says "use syscall(3) instead".
I've left tgkill since it's quite widely used, but there's no reason
to have tkill as well.

Bug: 11156955
Change-Id: Ifc0af750320086f829bc9914551c172b501f3b60
2014-05-22 13:41:36 -07:00
Elliott Hughes
9b49321ea5 am 4cf6b531: am 8a326a17: am 4f6ed4a1: Merge "Remove unnecessary #includes of <sys/atomics.h>."
* commit '4cf6b531c2d7408ea5fa754e5b1bf4711c5fe396':
  Remove unnecessary #includes of <sys/atomics.h>.
2014-05-22 18:28:15 +00:00
Elliott Hughes
2ea60ff0b4 Remove unnecessary #includes of <sys/atomics.h>.
Bug: 14903517
Change-Id: I7b5bcebe58774a441da986cc02376dd88e00ea0e
2014-05-22 11:00:21 -07:00
Calin Juravle
a959644d5d am 5f8626a3: am db3cda2d: am 254fa885: Merge "Switch to POSIX dprintf/vdprintf."
* commit '5f8626a3755dc397fc48c67ed36243877aea18d7':
  Switch to POSIX dprintf/vdprintf.
2014-05-22 16:49:09 +00:00
Calin Juravle
63590a2f95 am 77761e4c: am ddf52021: am d1dc009c: Merge "Add padding to mips ucontext_t."
* commit '77761e4cc8719933bf66be7894e1b3da27bd03dd':
  Add padding to mips ucontext_t.
2014-05-22 13:33:29 +00:00
Calin Juravle
e5d8092d89 am 3625f432: am 841a1a13: am 156c7d3d: Merge "Clean up ucontext.h TODOs."
* commit '3625f432b39c1f9a7f23d2219eb421d4478cd852':
  Clean up ucontext.h TODOs.
2014-05-22 13:33:29 +00:00
Calin Juravle
f9aac10cf3 am d75b6e2e: am 6cec7775: am 17216716: Merge "Mutex-free implementation of pthread_rwlock"
* commit 'd75b6e2e478fddfbdd404d44e0d33383965b2f39':
  Mutex-free implementation of pthread_rwlock
2014-05-22 13:33:28 +00:00
Calin Juravle
254fa8857f Merge "Switch to POSIX dprintf/vdprintf." 2014-05-22 13:28:52 +00:00
Elliott Hughes
fcac8ff97f Switch to POSIX dprintf/vdprintf.
Bug: 11156955
Change-Id: I734bd02db514367ab119a48304aae9767958e367
2014-05-22 11:27:06 +01:00
Calin Juravle
d1dc009c56 Merge "Add padding to mips ucontext_t." 2014-05-22 10:16:41 +00:00
Calin Juravle
156c7d3d0a Merge "Clean up ucontext.h TODOs." 2014-05-22 10:16:12 +00:00
Calin Juravle
172167163a Merge "Mutex-free implementation of pthread_rwlock" 2014-05-22 10:15:03 +00:00
Calin Juravle
76f352eec1 Mutex-free implementation of pthread_rwlock
Bug: 8133149
Change-Id: Id6775010d95f2634b173daa55d87a59a3cf4131b
2014-05-22 11:11:15 +01:00
Elliott Hughes
2c52565940 am e2d7d274: am 176e71fb: am 3d4a7b02: Merge "Hide most of the private futex functions."
* commit 'e2d7d274f5c6edf38b9a27ad87178619ed6c4ab3':
  Hide most of the private futex functions.
2014-05-22 03:09:10 +00:00
Elliott Hughes
d5ed63a6a8 Hide most of the private futex functions.
Also hide part of the system properties compatibility code, since
we needed to touch that to keep it building.

I'll remove __futex_syscall4 and futex in a later patch.

Bug: 11156955
Change-Id: Ibbf42414c5bb07fb9f1c4a169922844778e4eeae
2014-05-21 18:30:00 -07:00
Christopher Ferris
486396a8c9 am 328b2b6b: am 05645db0: am f97d8713: Merge "Add cfi directives for arm64 assembler."
* commit '328b2b6bfb73ee5bded6719ac15e0a3381c1800f':
  Add cfi directives for arm64 assembler.
2014-05-22 01:22:39 +00:00
Christopher Ferris
f97d8713a2 Merge "Add cfi directives for arm64 assembler." 2014-05-22 01:08:22 +00:00
Christopher Ferris
df22a121b2 Add cfi directives for arm64 assembler.
Fix syscall generator to add cfi directives and add the directives
for all arm64 assembler.

Bug: 15138290
Change-Id: I7f0e4a16c141ac624e5276917a3a1ed45778e057
2014-05-21 17:46:52 -07:00
Elliott Hughes
0e00375a5c am 17e44b89: am fc951aae: am bf0a4407: Merge "Remove an unnecessary instruction from arm64 __bionic_clone."
* commit '17e44b89e11286f3dcf7b35f9bb6432864ac085e':
  Remove an unnecessary instruction from arm64 __bionic_clone.
2014-05-22 00:33:42 +00:00
Elliott Hughes
bf0a440730 Merge "Remove an unnecessary instruction from arm64 __bionic_clone." 2014-05-21 23:44:55 +00:00
Elliott Hughes
f93f50d7ea Remove an unnecessary instruction from arm64 __bionic_clone.
Change-Id: Ib0dd5079d10b3634901d561932259653945176ee
2014-05-21 16:29:55 -07:00
Christopher Ferris
63900a7110 am 845e5c77: am fc11ebc5: am 3d5a4240: Merge "Fix build."
* commit '845e5c77b551b7b3079f9e6adf1f780f96729c33':
  Fix build.
2014-05-21 19:49:46 +00:00
Christopher Ferris
8d2410d33d Fix build.
Change-Id: I5a35eee4074e35f459c86c7f9b1d9b0754888940
2014-05-21 11:45:51 -07:00
Christopher Ferris
c1df57d60e am bce2357e: am c1be1ecc: am 011076b7: Merge "Support for jemalloc to replace dlmalloc."
* commit 'bce2357e42fdfb45556ec57ccb54d587e645f196':
  Support for jemalloc to replace dlmalloc.
2014-05-21 18:24:30 +00:00
Elliott Hughes
91b4613403 am 68396799: am c5f723ae: am c1b7f44c: Merge "Remove __syslog; we have the public klogctl API."
* commit '683967991425addf38a24024ae5503768a813b64':
  Remove __syslog; we have the public klogctl API.
2014-05-21 18:17:26 +00:00
Christopher Ferris
011076b720 Merge "Support for jemalloc to replace dlmalloc." 2014-05-21 18:12:50 +00:00
Elliott Hughes
3db501139b am c323b97c: am 87987df9: am daf69128: Merge "Fix x86_64 __set_tls.c build failure."
* commit 'c323b97c52297c4342dd45e329bad816f3bc5746':
  Fix x86_64 __set_tls.c build failure.
2014-05-21 18:10:23 +00:00
Elliott Hughes
c1b7f44c13 Merge "Remove __syslog; we have the public klogctl API." 2014-05-21 18:07:05 +00:00
Neil Fuller
a073b4ee0a am 55326c4b: am b7a23959: am 76805140: Merge "Treat zero or >1 dat files as an error"
* commit '55326c4b9714cba3e7bf0e27ceea0e2b91240d6f':
  Treat zero or >1 dat files as an error
2014-05-21 17:28:39 +00:00
Calin Juravle
ae0f8f1e48 Add padding to mips ucontext_t.
Bug: 12828904
Change-Id: I49e7adcebf769a9c30dc43def36501260369b1ac
2014-05-21 18:16:17 +01:00
Calin Juravle
eb454522da Clean up ucontext.h TODOs.
There's no need to expose gregset_t and fpregset_t when they
are not used in ucontext_t.

Bug: 12828904
Change-Id: Ieda1edf0ab18015f444c4d385fe9c41c4544017f
2014-05-21 18:15:35 +01:00
Elliott Hughes
7136927d39 Fix x86_64 __set_tls.c build failure.
Change-Id: I697b8ab4ce781d7aebeddb1391b63c653511bbcb
2014-05-21 10:02:00 -07:00
Neil Fuller
768051405e Merge "Treat zero or >1 dat files as an error" 2014-05-21 16:18:59 +00:00
Neil Fuller
43f3715953 Treat zero or >1 dat files as an error
Based on feedback from
I7efbd6f453fe2b3e71f564121ff0f64a74289d86

Change-Id: Ie131ab8475083350dc183d9f6d5ea7a0b0617c5b
2014-05-21 17:18:17 +01:00
Elliott Hughes
b8297bfdf6 am ee2939db: am ceed7b76: am 29f2906b: Merge "Add a few more symbols to check-symbols-glibc."
* commit 'ee2939dbf9d6574394249548e94a31575b4ada2d':
  Add a few more symbols to check-symbols-glibc.
2014-05-21 15:35:58 +00:00
Elliott Hughes
66af04b512 am a7293ddb: am 7a611f18: am 9f0a52e4: Merge "Hide __get_sp."
* commit 'a7293ddb8da94cc823ec28b851f69ef2d99a70d4':
  Hide __get_sp.
2014-05-21 15:31:13 +00:00