Commit Graph

7916 Commits

Author SHA1 Message Date
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
8a326a17f3 am 4f6ed4a1: Merge "Remove unnecessary #includes of <sys/atomics.h>."
* commit '4f6ed4a10951cbd868fec1b0117a276918c60fa1':
  Remove unnecessary #includes of <sys/atomics.h>.
2014-05-22 18:04:54 +00:00
Elliott Hughes
4f6ed4a109 Merge "Remove unnecessary #includes of <sys/atomics.h>." 2014-05-22 18:02:09 +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
Dmitriy Ivanov
88923ba4d8 am 0b10ffb4: Merge "Fix dlsym_failure NULL handle test"
* commit '0b10ffb40f3b426a7b5e734f90c41f56351729a0':
  Fix dlsym_failure NULL handle test
2014-05-22 17:14:59 +00:00
Dmitriy Ivanov
0b10ffb40f Merge "Fix dlsym_failure NULL handle test" 2014-05-22 17:10:47 +00:00
Dmitriy Ivanov
44adf93b8e Fix dlsym_failure NULL handle test
* RTLD_DEFAULT != (void*)0 only for bionic32

Change-Id: I3b3758835cf4085b0f899e2b62861591411aec13
2014-05-22 10:06:32 -07:00
Calin Juravle
dd31f28273 am eea59ea2: Merge "Add dprintf test"
* commit 'eea59ea21e04806fff48fdf4ad5ba117dcb0babb':
  Add dprintf test
2014-05-22 16:08:10 +00:00
Calin Juravle
eea59ea21e Merge "Add dprintf test" 2014-05-22 16:03:08 +00:00
Calin Juravle
db3cda2dec am 254fa885: Merge "Switch to POSIX dprintf/vdprintf."
* commit '254fa8857f5d88a4140cea2ee05056eae7f102b1':
  Switch to POSIX dprintf/vdprintf.
2014-05-22 13:33:21 +00:00
Calin Juravle
254fa8857f Merge "Switch to POSIX dprintf/vdprintf." 2014-05-22 13:28:52 +00:00
Dmitriy Ivanov
5bfa06de88 am 3eb9f1f6: Merge "Removed dlsym handle != NULL check for lp64"
* commit '3eb9f1f6bade8085520d9b0ec35d84d69563ebe1':
  Removed dlsym handle != NULL check for lp64
2014-05-22 12:59:11 +00:00
Dmitriy Ivanov
3eb9f1f6ba Merge "Removed dlsym handle != NULL check for lp64" 2014-05-22 12:55:15 +00:00
Calin Juravle
6afb2a9a97 Add dprintf test
Change-Id: I0fe1b4d45c1312cf01deed6ce5db032d5513e908
2014-05-22 11:47:47 +01:00
Elliott Hughes
fcac8ff97f Switch to POSIX dprintf/vdprintf.
Bug: 11156955
Change-Id: I734bd02db514367ab119a48304aae9767958e367
2014-05-22 11:27:06 +01:00
Calin Juravle
ddf520213c am d1dc009c: Merge "Add padding to mips ucontext_t."
* commit 'd1dc009c56f650ae4e990b00613f1c2ff93ed3ba':
  Add padding to mips ucontext_t.
2014-05-22 10:18:02 +00:00
Calin Juravle
841a1a13ec am 156c7d3d: Merge "Clean up ucontext.h TODOs."
* commit '156c7d3d0ac4457a051ac7d81ff8541636e0864f':
  Clean up ucontext.h TODOs.
2014-05-22 10:18:01 +00:00
Calin Juravle
6cec77755b am 17216716: Merge "Mutex-free implementation of pthread_rwlock"
* commit '172167163af5412c316a8be2f29ca8622984df32':
  Mutex-free implementation of pthread_rwlock
2014-05-22 10:18:00 +00: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
Dmitriy Ivanov
ca1c80220e Removed dlsym handle != NULL check for lp64
* Removed unnecessary NULL check in dlsym
 * Fixed dlsym_failure test to account for
   correct RTLD_DEFAULT value
 * Added temporary check for legacy RTLD_DEFAULT
   value for non-yet-recompiled binaries

Bug: 15146875
Change-Id: I089fa673762629f5724b6e4fbca019d9cfc39905
2014-05-21 22:42:24 -07:00
Elliott Hughes
176e71fb52 am 3d4a7b02: Merge "Hide most of the private futex functions."
* commit '3d4a7b02cc7948c94932c4d71c68f864457d59d6':
  Hide most of the private futex functions.
2014-05-22 03:00:21 +00:00
Elliott Hughes
3d4a7b02cc Merge "Hide most of the private futex functions." 2014-05-22 02:56:41 +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
05645db074 am f97d8713: Merge "Add cfi directives for arm64 assembler."
* commit 'f97d8713a265f44279819ba6b245dd81aada34da':
  Add cfi directives for arm64 assembler.
2014-05-22 01:13:32 +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
fc951aaec6 am bf0a4407: Merge "Remove an unnecessary instruction from arm64 __bionic_clone."
* commit 'bf0a440730d9659146bf1ac1c4141bae5a2f96a7':
  Remove an unnecessary instruction from arm64 __bionic_clone.
2014-05-21 23:56:31 +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
fc11ebc501 am 3d5a4240: Merge "Fix build."
* commit '3d5a42408ca24f86b8b81697b20012736cb48c2b':
  Fix build.
2014-05-21 18:50:10 +00:00
Christopher Ferris
3d5a42408c Merge "Fix build." 2014-05-21 18:47:36 +00:00
Christopher Ferris
8d2410d33d Fix build.
Change-Id: I5a35eee4074e35f459c86c7f9b1d9b0754888940
2014-05-21 11:45:51 -07:00
Christopher Ferris
c1be1eccbb am 011076b7: Merge "Support for jemalloc to replace dlmalloc."
* commit '011076b720b0809a6b94703780e768cd7b877c68':
  Support for jemalloc to replace dlmalloc.
2014-05-21 18:16:41 +00:00
Christopher Ferris
011076b720 Merge "Support for jemalloc to replace dlmalloc." 2014-05-21 18:12:50 +00:00
Elliott Hughes
c5f723aef5 am c1b7f44c: Merge "Remove __syslog; we have the public klogctl API."
* commit 'c1b7f44c13fbcbab3faaa8e11d3a459ebc11bfe5':
  Remove __syslog; we have the public klogctl API.
2014-05-21 18:09:55 +00:00
Elliott Hughes
c1b7f44c13 Merge "Remove __syslog; we have the public klogctl API." 2014-05-21 18:07:05 +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
87987df990 am daf69128: Merge "Fix x86_64 __set_tls.c build failure."
* commit 'daf6912838dd27e3c064c4e7df98b6165549af82':
  Fix x86_64 __set_tls.c build failure.
2014-05-21 17:05:11 +00:00
Elliott Hughes
daf6912838 Merge "Fix x86_64 __set_tls.c build failure." 2014-05-21 17:02:44 +00: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
b7a2395998 am 76805140: Merge "Treat zero or >1 dat files as an error"
* commit '768051405e8d471e06447a5b7223c742022f525a':
  Treat zero or >1 dat files as an error
2014-05-21 16:22:27 +00: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
ceed7b76b7 am 29f2906b: Merge "Add a few more symbols to check-symbols-glibc."
* commit '29f2906bdaf9afe816fc9196437fc07728af98bf':
  Add a few more symbols to check-symbols-glibc.
2014-05-21 15:28:00 +00:00
Elliott Hughes
7a611f184d am 9f0a52e4: Merge "Hide __get_sp."
* commit '9f0a52e4e5afc20a61230e6cbfe735606bff7e0c':
  Hide __get_sp.
2014-05-21 15:24:33 +00:00