OSDN Git Service

android-x86/bionic.git
10 years agoam f4985b14: Merge "Clear link register in __bionic_clone."
Ben Cheng [Sat, 24 May 2014 00:57:39 +0000 (00:57 +0000)]
am f4985b14: Merge "Clear link register in __bionic_clone."

* commit 'f4985b14cfed187376a24dd4a0cd16206e746bd9':
  Clear link register in __bionic_clone.

10 years agoMerge "Clear link register in __bionic_clone."
Ben Cheng [Sat, 24 May 2014 00:54:15 +0000 (00:54 +0000)]
Merge "Clear link register in __bionic_clone."

10 years agoClear link register in __bionic_clone.
Ben Cheng [Fri, 23 May 2014 23:35:21 +0000 (16:35 -0700)]
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

10 years agoam a486632e: Merge "Remove <sys/atomics.h>."
Elliott Hughes [Fri, 23 May 2014 22:23:56 +0000 (22:23 +0000)]
am a486632e: Merge "Remove <sys/atomics.h>."

* commit 'a486632e789c6db4c35f969485ebb57f503bcf48':
  Remove <sys/atomics.h>.

10 years agoMerge "Remove <sys/atomics.h>."
Elliott Hughes [Fri, 23 May 2014 22:18:40 +0000 (22:18 +0000)]
Merge "Remove <sys/atomics.h>."

10 years agoRemove <sys/atomics.h>.
Elliott Hughes [Fri, 23 May 2014 21:36:30 +0000 (14:36 -0700)]
Remove <sys/atomics.h>.

Bug: 14903517
Change-Id: I6de1d9d3624922517fdc37922097abbc3b41f661

10 years agoam b2604949: Merge "Migrate pthread_rwlock implementation away from sys/atomics"
Calin Juravle [Fri, 23 May 2014 10:11:35 +0000 (10:11 +0000)]
am b2604949: Merge "Migrate pthread_rwlock implementation away from sys/atomics"

* commit 'b26049490b3a5e054d7440b94c0082e8bfd09f0b':
  Migrate pthread_rwlock implementation away from sys/atomics

10 years agoMerge "Migrate pthread_rwlock implementation away from sys/atomics"
Calin Juravle [Fri, 23 May 2014 10:07:46 +0000 (10:07 +0000)]
Merge "Migrate pthread_rwlock implementation away from sys/atomics"

10 years agoam fb9a47c7: Merge "Hide various stdio implementation details."
Elliott Hughes [Fri, 23 May 2014 07:15:53 +0000 (07:15 +0000)]
am fb9a47c7: Merge "Hide various stdio implementation details."

* commit 'fb9a47c740661a1c578cfc4f16180f14724cbdf5':
  Hide various stdio implementation details.

10 years agoMerge "Hide various stdio implementation details."
Elliott Hughes [Fri, 23 May 2014 06:28:42 +0000 (06:28 +0000)]
Merge "Hide various stdio implementation details."

10 years agoam 253fa170: Merge "Lose the hand-written futex assembler."
Elliott Hughes [Fri, 23 May 2014 05:38:49 +0000 (05:38 +0000)]
am 253fa170: Merge "Lose the hand-written futex assembler."

* commit '253fa170a3f6a1edce8ce4b8e6e966b35152b550':
  Lose the hand-written futex assembler.

10 years agoMerge "Lose the hand-written futex assembler."
Elliott Hughes [Fri, 23 May 2014 05:34:28 +0000 (05:34 +0000)]
Merge "Lose the hand-written futex assembler."

10 years agoHide various stdio implementation details.
Elliott Hughes [Fri, 23 May 2014 03:06:23 +0000 (20:06 -0700)]
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

10 years agoLose the hand-written futex assembler.
Elliott Hughes [Fri, 23 May 2014 02:49:11 +0000 (19:49 -0700)]
Lose the hand-written futex assembler.

Also stop exporting 'futex'.

Bug: 12250341
Change-Id: Icc4fa4296cd04dfe0d1061822c69e2eb40c3433a

10 years agoam ce00354f: Merge "Do not add arcs to the soinfo graph on dlopen"
Dmitriy Ivanov [Fri, 23 May 2014 02:22:42 +0000 (02:22 +0000)]
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

10 years agoMerge "Do not add arcs to the soinfo graph on dlopen"
Dmitriy Ivanov [Fri, 23 May 2014 02:19:09 +0000 (02:19 +0000)]
Merge "Do not add arcs to the soinfo graph on dlopen"

10 years agoDo not add arcs to the soinfo graph on dlopen
Bjorn Andersson [Fri, 23 May 2014 00:53:01 +0000 (17:53 -0700)]
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>
10 years agoam ea7dc320: Merge "Add some more BSD symbols to the list."
Elliott Hughes [Fri, 23 May 2014 01:58:38 +0000 (01:58 +0000)]
am ea7dc320: Merge "Add some more BSD symbols to the list."

* commit 'ea7dc32080114af59789c119ca6aa4814426ea42':
  Add some more BSD symbols to the list.

10 years agoMerge "Add some more BSD symbols to the list."
Elliott Hughes [Fri, 23 May 2014 01:53:53 +0000 (01:53 +0000)]
Merge "Add some more BSD symbols to the list."

10 years agoAdd some more BSD symbols to the list.
Elliott Hughes [Fri, 23 May 2014 01:53:21 +0000 (18:53 -0700)]
Add some more BSD symbols to the list.

Bug: 11156955
Change-Id: I07489ec63536121dbfc372170ef5cf60a5c58948

10 years agoam 0f79a2f4: Merge "Cleaned up pthread rwlocks implementation."
Elliott Hughes [Fri, 23 May 2014 01:52:42 +0000 (01:52 +0000)]
am 0f79a2f4: Merge "Cleaned up pthread rwlocks implementation."

* commit '0f79a2f48788c093804c9f61a66105873eb1cb59':
  Cleaned up pthread rwlocks implementation.

10 years agoMerge "Cleaned up pthread rwlocks implementation."
Elliott Hughes [Fri, 23 May 2014 01:47:56 +0000 (01:47 +0000)]
Merge "Cleaned up pthread rwlocks implementation."

10 years agoam ec071ac0: Merge "Remove the tkill(2) stub."
Elliott Hughes [Fri, 23 May 2014 01:47:49 +0000 (01:47 +0000)]
am ec071ac0: Merge "Remove the tkill(2) stub."

* commit 'ec071ac062077498dfee3e2171371def7320aa56':
  Remove the tkill(2) stub.

10 years agoMerge "Remove the tkill(2) stub."
Elliott Hughes [Fri, 23 May 2014 01:43:41 +0000 (01:43 +0000)]
Merge "Remove the tkill(2) stub."

10 years agoMigrate pthread_rwlock implementation away from sys/atomics
Calin Juravle [Thu, 22 May 2014 23:15:10 +0000 (00:15 +0100)]
Migrate pthread_rwlock implementation away from sys/atomics

Bug: 8133149
Bug: 14903517
Change-Id: Ib85987f53d7aeaec12a980ccb645c4a449c48503

10 years agoCleaned up pthread rwlocks implementation.
Calin Juravle [Thu, 22 May 2014 18:21:22 +0000 (19:21 +0100)]
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

10 years agoRemove the tkill(2) stub.
Elliott Hughes [Thu, 22 May 2014 20:40:49 +0000 (13:40 -0700)]
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

10 years agoam 4f6ed4a1: Merge "Remove unnecessary #includes of <sys/atomics.h>."
Elliott Hughes [Thu, 22 May 2014 18:04:54 +0000 (18:04 +0000)]
am 4f6ed4a1: Merge "Remove unnecessary #includes of <sys/atomics.h>."

* commit '4f6ed4a10951cbd868fec1b0117a276918c60fa1':
  Remove unnecessary #includes of <sys/atomics.h>.

10 years agoMerge "Remove unnecessary #includes of <sys/atomics.h>."
Elliott Hughes [Thu, 22 May 2014 18:02:08 +0000 (18:02 +0000)]
Merge "Remove unnecessary #includes of <sys/atomics.h>."

10 years agoRemove unnecessary #includes of <sys/atomics.h>.
Elliott Hughes [Thu, 22 May 2014 17:49:16 +0000 (10:49 -0700)]
Remove unnecessary #includes of <sys/atomics.h>.

Bug: 14903517
Change-Id: I7b5bcebe58774a441da986cc02376dd88e00ea0e

10 years agoam 0b10ffb4: Merge "Fix dlsym_failure NULL handle test"
Dmitriy Ivanov [Thu, 22 May 2014 17:14:59 +0000 (17:14 +0000)]
am 0b10ffb4: Merge "Fix dlsym_failure NULL handle test"

* commit '0b10ffb40f3b426a7b5e734f90c41f56351729a0':
  Fix dlsym_failure NULL handle test

10 years agoMerge "Fix dlsym_failure NULL handle test"
Dmitriy Ivanov [Thu, 22 May 2014 17:10:47 +0000 (17:10 +0000)]
Merge "Fix dlsym_failure NULL handle test"

10 years agoFix dlsym_failure NULL handle test
Dmitriy Ivanov [Thu, 22 May 2014 16:49:24 +0000 (09:49 -0700)]
Fix dlsym_failure NULL handle test

 * RTLD_DEFAULT != (void*)0 only for bionic32

Change-Id: I3b3758835cf4085b0f899e2b62861591411aec13

10 years agoam eea59ea2: Merge "Add dprintf test"
Calin Juravle [Thu, 22 May 2014 16:08:10 +0000 (16:08 +0000)]
am eea59ea2: Merge "Add dprintf test"

* commit 'eea59ea21e04806fff48fdf4ad5ba117dcb0babb':
  Add dprintf test

10 years agoMerge "Add dprintf test"
Calin Juravle [Thu, 22 May 2014 16:03:07 +0000 (16:03 +0000)]
Merge "Add dprintf test"

10 years agoam 254fa885: Merge "Switch to POSIX dprintf/vdprintf."
Calin Juravle [Thu, 22 May 2014 13:33:21 +0000 (13:33 +0000)]
am 254fa885: Merge "Switch to POSIX dprintf/vdprintf."

* commit '254fa8857f5d88a4140cea2ee05056eae7f102b1':
  Switch to POSIX dprintf/vdprintf.

10 years agoMerge "Switch to POSIX dprintf/vdprintf."
Calin Juravle [Thu, 22 May 2014 13:28:51 +0000 (13:28 +0000)]
Merge "Switch to POSIX dprintf/vdprintf."

10 years agoam 3eb9f1f6: Merge "Removed dlsym handle != NULL check for lp64"
Dmitriy Ivanov [Thu, 22 May 2014 12:59:11 +0000 (12:59 +0000)]
am 3eb9f1f6: Merge "Removed dlsym handle != NULL check for lp64"

* commit '3eb9f1f6bade8085520d9b0ec35d84d69563ebe1':
  Removed dlsym handle != NULL check for lp64

10 years agoMerge "Removed dlsym handle != NULL check for lp64"
Dmitriy Ivanov [Thu, 22 May 2014 12:55:14 +0000 (12:55 +0000)]
Merge "Removed dlsym handle != NULL check for lp64"

10 years agoAdd dprintf test
Calin Juravle [Thu, 22 May 2014 10:47:47 +0000 (11:47 +0100)]
Add dprintf test

Change-Id: I0fe1b4d45c1312cf01deed6ce5db032d5513e908

10 years agoSwitch to POSIX dprintf/vdprintf.
Elliott Hughes [Thu, 22 May 2014 08:24:30 +0000 (01:24 -0700)]
Switch to POSIX dprintf/vdprintf.

Bug: 11156955
Change-Id: I734bd02db514367ab119a48304aae9767958e367

10 years agoam d1dc009c: Merge "Add padding to mips ucontext_t."
Calin Juravle [Thu, 22 May 2014 10:18:02 +0000 (10:18 +0000)]
am d1dc009c: Merge "Add padding to mips ucontext_t."

* commit 'd1dc009c56f650ae4e990b00613f1c2ff93ed3ba':
  Add padding to mips ucontext_t.

10 years agoam 156c7d3d: Merge "Clean up ucontext.h TODOs."
Calin Juravle [Thu, 22 May 2014 10:18:01 +0000 (10:18 +0000)]
am 156c7d3d: Merge "Clean up ucontext.h TODOs."

* commit '156c7d3d0ac4457a051ac7d81ff8541636e0864f':
  Clean up ucontext.h TODOs.

10 years agoam 17216716: Merge "Mutex-free implementation of pthread_rwlock"
Calin Juravle [Thu, 22 May 2014 10:18:00 +0000 (10:18 +0000)]
am 17216716: Merge "Mutex-free implementation of pthread_rwlock"

* commit '172167163af5412c316a8be2f29ca8622984df32':
  Mutex-free implementation of pthread_rwlock

10 years agoMerge "Add padding to mips ucontext_t."
Calin Juravle [Thu, 22 May 2014 10:16:41 +0000 (10:16 +0000)]
Merge "Add padding to mips ucontext_t."

10 years agoMerge "Clean up ucontext.h TODOs."
Calin Juravle [Thu, 22 May 2014 10:16:11 +0000 (10:16 +0000)]
Merge "Clean up ucontext.h TODOs."

10 years agoMerge "Mutex-free implementation of pthread_rwlock"
Calin Juravle [Thu, 22 May 2014 10:15:03 +0000 (10:15 +0000)]
Merge "Mutex-free implementation of pthread_rwlock"

10 years agoMutex-free implementation of pthread_rwlock
Calin Juravle [Mon, 19 May 2014 12:41:10 +0000 (13:41 +0100)]
Mutex-free implementation of pthread_rwlock

Bug: 8133149
Change-Id: Id6775010d95f2634b173daa55d87a59a3cf4131b

10 years agoRemoved dlsym handle != NULL check for lp64
Dmitriy Ivanov [Thu, 22 May 2014 05:42:24 +0000 (22:42 -0700)]
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

10 years agoam 3d4a7b02: Merge "Hide most of the private futex functions."
Elliott Hughes [Thu, 22 May 2014 03:00:21 +0000 (03:00 +0000)]
am 3d4a7b02: Merge "Hide most of the private futex functions."

* commit '3d4a7b02cc7948c94932c4d71c68f864457d59d6':
  Hide most of the private futex functions.

10 years agoMerge "Hide most of the private futex functions."
Elliott Hughes [Thu, 22 May 2014 02:56:40 +0000 (02:56 +0000)]
Merge "Hide most of the private futex functions."

10 years agoHide most of the private futex functions.
Elliott Hughes [Thu, 22 May 2014 01:27:40 +0000 (18:27 -0700)]
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

10 years agoam f97d8713: Merge "Add cfi directives for arm64 assembler."
Christopher Ferris [Thu, 22 May 2014 01:13:32 +0000 (01:13 +0000)]
am f97d8713: Merge "Add cfi directives for arm64 assembler."

* commit 'f97d8713a265f44279819ba6b245dd81aada34da':
  Add cfi directives for arm64 assembler.

10 years agoMerge "Add cfi directives for arm64 assembler."
Christopher Ferris [Thu, 22 May 2014 01:08:22 +0000 (01:08 +0000)]
Merge "Add cfi directives for arm64 assembler."

10 years agoAdd cfi directives for arm64 assembler.
Christopher Ferris [Wed, 21 May 2014 23:00:13 +0000 (16:00 -0700)]
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

10 years agoam bf0a4407: Merge "Remove an unnecessary instruction from arm64 __bionic_clone."
Elliott Hughes [Wed, 21 May 2014 23:56:31 +0000 (23:56 +0000)]
am bf0a4407: Merge "Remove an unnecessary instruction from arm64 __bionic_clone."

* commit 'bf0a440730d9659146bf1ac1c4141bae5a2f96a7':
  Remove an unnecessary instruction from arm64 __bionic_clone.

10 years agoMerge "Remove an unnecessary instruction from arm64 __bionic_clone."
Elliott Hughes [Wed, 21 May 2014 23:44:54 +0000 (23:44 +0000)]
Merge "Remove an unnecessary instruction from arm64 __bionic_clone."

10 years agoRemove an unnecessary instruction from arm64 __bionic_clone.
Elliott Hughes [Wed, 21 May 2014 23:29:55 +0000 (16:29 -0700)]
Remove an unnecessary instruction from arm64 __bionic_clone.

Change-Id: Ib0dd5079d10b3634901d561932259653945176ee

10 years agoam 3d5a4240: Merge "Fix build."
Christopher Ferris [Wed, 21 May 2014 18:50:10 +0000 (18:50 +0000)]
am 3d5a4240: Merge "Fix build."

* commit '3d5a42408ca24f86b8b81697b20012736cb48c2b':
  Fix build.

10 years agoMerge "Fix build."
Christopher Ferris [Wed, 21 May 2014 18:47:36 +0000 (18:47 +0000)]
Merge "Fix build."

10 years agoFix build.
Christopher Ferris [Wed, 21 May 2014 18:45:51 +0000 (11:45 -0700)]
Fix build.

Change-Id: I5a35eee4074e35f459c86c7f9b1d9b0754888940

10 years agoam 011076b7: Merge "Support for jemalloc to replace dlmalloc."
Christopher Ferris [Wed, 21 May 2014 18:16:41 +0000 (18:16 +0000)]
am 011076b7: Merge "Support for jemalloc to replace dlmalloc."

* commit '011076b720b0809a6b94703780e768cd7b877c68':
  Support for jemalloc to replace dlmalloc.

10 years agoMerge "Support for jemalloc to replace dlmalloc."
Christopher Ferris [Wed, 21 May 2014 18:12:49 +0000 (18:12 +0000)]
Merge "Support for jemalloc to replace dlmalloc."

10 years agoam c1b7f44c: Merge "Remove __syslog; we have the public klogctl API."
Elliott Hughes [Wed, 21 May 2014 18:09:55 +0000 (18:09 +0000)]
am c1b7f44c: Merge "Remove __syslog; we have the public klogctl API."

* commit 'c1b7f44c13fbcbab3faaa8e11d3a459ebc11bfe5':
  Remove __syslog; we have the public klogctl API.

10 years agoMerge "Remove __syslog; we have the public klogctl API."
Elliott Hughes [Wed, 21 May 2014 18:07:04 +0000 (18:07 +0000)]
Merge "Remove __syslog; we have the public klogctl API."

10 years agoAdd padding to mips ucontext_t.
Calin Juravle [Tue, 20 May 2014 15:53:15 +0000 (16:53 +0100)]
Add padding to mips ucontext_t.

Bug: 12828904
Change-Id: I49e7adcebf769a9c30dc43def36501260369b1ac

10 years agoClean up ucontext.h TODOs.
Calin Juravle [Tue, 20 May 2014 15:51:24 +0000 (16:51 +0100)]
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

10 years agoam daf69128: Merge "Fix x86_64 __set_tls.c build failure."
Elliott Hughes [Wed, 21 May 2014 17:05:11 +0000 (17:05 +0000)]
am daf69128: Merge "Fix x86_64 __set_tls.c build failure."

* commit 'daf6912838dd27e3c064c4e7df98b6165549af82':
  Fix x86_64 __set_tls.c build failure.

10 years agoMerge "Fix x86_64 __set_tls.c build failure."
Elliott Hughes [Wed, 21 May 2014 17:02:44 +0000 (17:02 +0000)]
Merge "Fix x86_64 __set_tls.c build failure."

10 years agoFix x86_64 __set_tls.c build failure.
Elliott Hughes [Wed, 21 May 2014 17:02:00 +0000 (10:02 -0700)]
Fix x86_64 __set_tls.c build failure.

Change-Id: I697b8ab4ce781d7aebeddb1391b63c653511bbcb

10 years agoam 76805140: Merge "Treat zero or >1 dat files as an error"
Neil Fuller [Wed, 21 May 2014 16:22:27 +0000 (16:22 +0000)]
am 76805140: Merge "Treat zero or >1 dat files as an error"

* commit '768051405e8d471e06447a5b7223c742022f525a':
  Treat zero or >1 dat files as an error

10 years agoMerge "Treat zero or >1 dat files as an error"
Neil Fuller [Wed, 21 May 2014 16:18:59 +0000 (16:18 +0000)]
Merge "Treat zero or >1 dat files as an error"

10 years agoTreat zero or >1 dat files as an error
Neil Fuller [Wed, 21 May 2014 15:59:09 +0000 (16:59 +0100)]
Treat zero or >1 dat files as an error

Based on feedback from
I7efbd6f453fe2b3e71f564121ff0f64a74289d86

Change-Id: Ie131ab8475083350dc183d9f6d5ea7a0b0617c5b

10 years agoam 29f2906b: Merge "Add a few more symbols to check-symbols-glibc."
Elliott Hughes [Wed, 21 May 2014 15:28:00 +0000 (15:28 +0000)]
am 29f2906b: Merge "Add a few more symbols to check-symbols-glibc."

* commit '29f2906bdaf9afe816fc9196437fc07728af98bf':
  Add a few more symbols to check-symbols-glibc.

10 years agoam 9f0a52e4: Merge "Hide __get_sp."
Elliott Hughes [Wed, 21 May 2014 15:24:33 +0000 (15:24 +0000)]
am 9f0a52e4: Merge "Hide __get_sp."

* commit '9f0a52e4e5afc20a61230e6cbfe735606bff7e0c':
  Hide __get_sp.

10 years agoam 7471a370: Merge "Hide __set_tls."
Elliott Hughes [Wed, 21 May 2014 15:24:32 +0000 (15:24 +0000)]
am 7471a370: Merge "Hide __set_tls."

* commit '7471a3700348df588d4da35a41b38f6a88b505fd':
  Hide __set_tls.

10 years agoMerge "Add a few more symbols to check-symbols-glibc."
Elliott Hughes [Wed, 21 May 2014 15:23:35 +0000 (15:23 +0000)]
Merge "Add a few more symbols to check-symbols-glibc."

10 years agoMerge "Hide __get_sp."
Elliott Hughes [Wed, 21 May 2014 15:21:16 +0000 (15:21 +0000)]
Merge "Hide __get_sp."

10 years agoMerge "Hide __set_tls."
Elliott Hughes [Wed, 21 May 2014 15:21:00 +0000 (15:21 +0000)]
Merge "Hide __set_tls."

10 years agoam 22784885: Merge "Change update-tzdata.py to update ICU data as well"
Neil Fuller [Wed, 21 May 2014 08:44:18 +0000 (08:44 +0000)]
am 22784885: Merge "Change update-tzdata.py to update ICU data as well"

* commit '227848854695fe5b6f7183fe507edf093808d8ff':
  Change update-tzdata.py to update ICU data as well

10 years agoMerge "Change update-tzdata.py to update ICU data as well"
Neil Fuller [Wed, 21 May 2014 08:11:40 +0000 (08:11 +0000)]
Merge "Change update-tzdata.py to update ICU data as well"

10 years agoRemove __syslog; we have the public klogctl API.
Elliott Hughes [Wed, 21 May 2014 04:01:00 +0000 (21:01 -0700)]
Remove __syslog; we have the public klogctl API.

Bug: 11156955
Change-Id: I5c2cc02f39f76dd32984135f5c12c10bf2853796

10 years agoAdd a few more symbols to check-symbols-glibc.
Elliott Hughes [Wed, 21 May 2014 03:37:56 +0000 (20:37 -0700)]
Add a few more symbols to check-symbols-glibc.

Bug: 11156955
Change-Id: Iee0bae6f9742eca188abc7a337371c50888a0ad6

10 years agoHide __set_tls.
Elliott Hughes [Wed, 21 May 2014 03:32:28 +0000 (20:32 -0700)]
Hide __set_tls.

Bug: 11156955
Change-Id: If82c10ae412651361d09591017d1c3a411bd6f0b

10 years agoHide __get_sp.
Elliott Hughes [Wed, 21 May 2014 03:22:50 +0000 (20:22 -0700)]
Hide __get_sp.

Bug: 11156955
Change-Id: I55d8d320521e80c2085af28933a18b00cf5c714e

10 years agoam 20177b9f: Merge "Remove perf_event_open."
Elliott Hughes [Wed, 21 May 2014 03:22:22 +0000 (03:22 +0000)]
am 20177b9f: Merge "Remove perf_event_open."

* commit '20177b9fea893ab63a49cf574790ea5e5027e50d':
  Remove perf_event_open.

10 years agoMerge "Remove perf_event_open."
Elliott Hughes [Wed, 21 May 2014 03:11:57 +0000 (03:11 +0000)]
Merge "Remove perf_event_open."

10 years agoam 3d2bc5d6: Merge "HACK: linker: check for handle==0xffffffff on LP64"
Colin Cross [Tue, 20 May 2014 23:36:41 +0000 (23:36 +0000)]
am 3d2bc5d6: Merge "HACK: linker: check for handle==0xffffffff on LP64"

* commit '3d2bc5d6c8f08e587a8dad848829f98776549ba6':
  HACK: linker: check for handle==0xffffffff on LP64

10 years agoRemove perf_event_open.
Elliott Hughes [Tue, 20 May 2014 23:24:10 +0000 (16:24 -0700)]
Remove perf_event_open.

This was accidentally added at a time when you couldn't add a constant
to <syscall.h> without generating an assembly stub! (You no longer need
to add the constants at all.)

Bug: 11156955
Change-Id: I053c17879138787976c744a5ecf7d30ee51dc48f

10 years agoMerge "HACK: linker: check for handle==0xffffffff on LP64"
Colin Cross [Tue, 20 May 2014 23:03:07 +0000 (23:03 +0000)]
Merge "HACK: linker: check for handle==0xffffffff on LP64"

10 years agoHACK: linker: check for handle==0xffffffff on LP64
Colin Cross [Tue, 20 May 2014 22:06:37 +0000 (15:06 -0700)]
HACK: linker: check for handle==0xffffffff on LP64

bionic RTLD_NEXT was changed from 0xffffffff to -1L, which breaks
existing binaries compiled.  Temporarily look either until we can
get recompiled binaries.

Bug: 15113039
Change-Id: I1568fa0e4a832c5e6df21da74a33b22bde7f16f6

10 years agoSupport for jemalloc to replace dlmalloc.
Christopher Ferris [Thu, 8 May 2014 18:14:03 +0000 (11:14 -0700)]
Support for jemalloc to replace dlmalloc.

To use jemalloc, add MALLOC_IMPL = jemalloc in a board config file
and you get the new version automatically.

Update the pthread_create_key tests since jemalloc uses a few keys.
Add a new test to verify memalign works as expected.

Bug: 981363

Change-Id: I16eb152b291a95bd2499e90492fc6b4bd7053836

10 years agoam afb89c2a: Merge "denver: optimize memmove"
Christopher Ferris [Tue, 20 May 2014 19:59:32 +0000 (19:59 +0000)]
am afb89c2a: Merge "denver: optimize memmove"

* commit 'afb89c2a01089bb247456634a15a58f111bb55a6':
  denver: optimize memmove

10 years agoMerge "denver: optimize memmove"
Christopher Ferris [Tue, 20 May 2014 19:56:13 +0000 (19:56 +0000)]
Merge "denver: optimize memmove"

10 years agodenver: optimize memmove
Shu Zhang [Mon, 12 May 2014 10:12:15 +0000 (18:12 +0800)]
denver: optimize memmove

Optimize 32-bit denver memmove with reversal memcpy.

Change-Id: Iaad0a9475248cdd7e4f50d58bea9db1b767abc88

10 years agoam f092feb8: Merge "Add R_X86_64_64 to the list of possible weak relocs"
Dmitriy Ivanov [Tue, 20 May 2014 19:16:50 +0000 (19:16 +0000)]
am f092feb8: Merge "Add R_X86_64_64 to the list of possible weak relocs"

* commit 'f092feb81b36d024a3da4318a340e069ca1c2d3d':
  Add R_X86_64_64 to the list of possible weak relocs

10 years agoam 0a8f296e: Merge "Add RTLD_NOLOAD support and some related changes."
Dmitriy Ivanov [Tue, 20 May 2014 19:16:49 +0000 (19:16 +0000)]
am 0a8f296e: Merge "Add RTLD_NOLOAD support and some related changes."

* commit '0a8f296e09c34a8eb21099d2a49e70b1b2641faa':
  Add RTLD_NOLOAD support and some related changes.

10 years agoMerge "Add R_X86_64_64 to the list of possible weak relocs"
Dmitriy Ivanov [Tue, 20 May 2014 19:11:25 +0000 (19:11 +0000)]
Merge "Add R_X86_64_64 to the list of possible weak relocs"

10 years agoMerge "Add RTLD_NOLOAD support and some related changes."
Dmitriy Ivanov [Tue, 20 May 2014 19:11:09 +0000 (19:11 +0000)]
Merge "Add RTLD_NOLOAD support and some related changes."

10 years agoAdd RTLD_NOLOAD support and some related changes.
Dmitriy Ivanov [Mon, 19 May 2014 22:06:58 +0000 (15:06 -0700)]
Add RTLD_NOLOAD support and some related changes.

 * Aligned RTLD_ values with glibc for lp64
 * dlopen supports RTLD_NOLOAD flag
 * soinfo_unload calls find_library(.., RTLD_NOLOAD)
   instead of naive find_loaded_library_by_name()
 * dlopen changed to add child to caller soinfo instead
   of somain.

Bug: https://code.google.com/p/android/issues/detail?id=64069
Change-Id: I1a65f2c34f3e0edc6d2c41a2e408b58195feb640