OSDN Git Service

android-x86/bionic.git
10 years agoam 9d73fa3f: am d4fbb1a8: Merge "Fix dprintf test."
Christopher Ferris [Thu, 29 May 2014 22:49:10 +0000 (22:49 +0000)]
am 9d73fa3f: am d4fbb1a8: Merge "Fix dprintf test."

* commit '9d73fa3fad4b50851187214976934d2fa4012fe5':
  Fix dprintf test.

10 years agoam d4fbb1a8: Merge "Fix dprintf test."
Christopher Ferris [Thu, 29 May 2014 22:44:25 +0000 (22:44 +0000)]
am d4fbb1a8: Merge "Fix dprintf test."

* commit 'd4fbb1a8617285ab1d29324308aa016377fc36f3':
  Fix dprintf test.

10 years agoMerge "Fix dprintf test."
Christopher Ferris [Thu, 29 May 2014 22:41:50 +0000 (22:41 +0000)]
Merge "Fix dprintf test."

10 years agoam 84d90bf5: am aa5f32ea: Merge "Add Aarch64 optimized bzero based on memset"
Christopher Ferris [Thu, 29 May 2014 21:27:03 +0000 (21:27 +0000)]
am 84d90bf5: am aa5f32ea: Merge "Add Aarch64 optimized bzero based on memset"

* commit '84d90bf5114466bb62d0580ce524da98b6b45dd2':
  Add Aarch64 optimized bzero based on memset

10 years agoam aa5f32ea: Merge "Add Aarch64 optimized bzero based on memset"
Christopher Ferris [Thu, 29 May 2014 21:23:16 +0000 (21:23 +0000)]
am aa5f32ea: Merge "Add Aarch64 optimized bzero based on memset"

* commit 'aa5f32ea1c8af9776a1c26a027495954c835be55':
  Add Aarch64 optimized bzero based on memset

10 years agoMerge "Add Aarch64 optimized bzero based on memset"
Christopher Ferris [Thu, 29 May 2014 21:19:44 +0000 (21:19 +0000)]
Merge "Add Aarch64 optimized bzero based on memset"

10 years agoam dafa59b8: am 4dd0b72d: Merge "Return the actual success result from __futex."
Elliott Hughes [Thu, 29 May 2014 21:06:29 +0000 (21:06 +0000)]
am dafa59b8: am 4dd0b72d: Merge "Return the actual success result from __futex."

* commit 'dafa59b8fff9ecd562487f9a186ac567c0908c5b':
  Return the actual success result from __futex.

10 years agoAdd Aarch64 optimized bzero based on memset
Bernhard Rosenkraenzer [Mon, 19 May 2014 11:16:41 +0000 (13:16 +0200)]
Add Aarch64 optimized bzero based on memset

Change-Id: I62cf25bfe23b9d811e00af7307bbd19d89937792
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
10 years agoFix dprintf test.
Christopher Ferris [Thu, 29 May 2014 19:49:35 +0000 (12:49 -0700)]
Fix dprintf test.

Change-Id: Ied783d545b6a35a70a158249f3957a9d00971627

10 years agoam 4dd0b72d: Merge "Return the actual success result from __futex."
Elliott Hughes [Thu, 29 May 2014 20:14:35 +0000 (20:14 +0000)]
am 4dd0b72d: Merge "Return the actual success result from __futex."

* commit '4dd0b72dd36f3d9afd6bf0c184866f0d9242084f':
  Return the actual success result from __futex.

10 years agoMerge "Return the actual success result from __futex."
Elliott Hughes [Thu, 29 May 2014 20:12:06 +0000 (20:12 +0000)]
Merge "Return the actual success result from __futex."

10 years agoam 47150dca: am 1a57de71: Merge "Fix overflow testing in sbrk."
Christopher Ferris [Thu, 29 May 2014 18:10:10 +0000 (18:10 +0000)]
am 47150dca: am 1a57de71: Merge "Fix overflow testing in sbrk."

* commit '47150dca59e63899843182237775628677ec4af3':
  Fix overflow testing in sbrk.

10 years agoam 1a57de71: Merge "Fix overflow testing in sbrk."
Christopher Ferris [Thu, 29 May 2014 18:06:46 +0000 (18:06 +0000)]
am 1a57de71: Merge "Fix overflow testing in sbrk."

* commit '1a57de713adfb81842cb2ebdfc051ecb9afa55f1':
  Fix overflow testing in sbrk.

10 years agoMerge "Fix overflow testing in sbrk."
Christopher Ferris [Thu, 29 May 2014 18:03:27 +0000 (18:03 +0000)]
Merge "Fix overflow testing in sbrk."

10 years agoFix overflow testing in sbrk.
Christopher Ferris [Thu, 22 May 2014 02:03:34 +0000 (19:03 -0700)]
Fix overflow testing in sbrk.

Modify the overflow testing for sbrk.

Bug: 15188366

Change-Id: Ia83f85f7c1789454d872279bd41f38f1ce6b8a34

10 years agoReturn the actual success result from __futex.
Elliott Hughes [Thu, 29 May 2014 17:27:55 +0000 (10:27 -0700)]
Return the actual success result from __futex.

futex(2) can return non-zero successes.

Bug: 15195455
Change-Id: I7818bc922a5a2df31228ff72c169320b5e69a544

10 years agoam ad73e2f5: am ef023873: Merge "Minor style cleanup of some code I had to look at."
Elliott Hughes [Thu, 29 May 2014 16:19:40 +0000 (16:19 +0000)]
am ad73e2f5: am ef023873: Merge "Minor style cleanup of some code I had to look at."

* commit 'ad73e2f58ca672ee8b7c19a1c993b829a43dd89c':
  Minor style cleanup of some code I had to look at.

10 years agoam c3930812: am 0bdd668f: Merge "Upgrade to tzdata2014d."
Elliott Hughes [Thu, 29 May 2014 16:19:39 +0000 (16:19 +0000)]
am c3930812: am 0bdd668f: Merge "Upgrade to tzdata2014d."

* commit 'c3930812df525ab6b2e68272903e332d6ee7a7d1':
  Upgrade to tzdata2014d.

10 years agoam ef023873: Merge "Minor style cleanup of some code I had to look at."
Elliott Hughes [Thu, 29 May 2014 16:15:52 +0000 (16:15 +0000)]
am ef023873: Merge "Minor style cleanup of some code I had to look at."

* commit 'ef023873e2bbd83f4fde69fd427e04ef1eb6e769':
  Minor style cleanup of some code I had to look at.

10 years agoam 0bdd668f: Merge "Upgrade to tzdata2014d."
Elliott Hughes [Thu, 29 May 2014 16:15:51 +0000 (16:15 +0000)]
am 0bdd668f: Merge "Upgrade to tzdata2014d."

* commit '0bdd668f05b22b44547a2b9f05e506166b22f02a':
  Upgrade to tzdata2014d.

10 years agoMerge "Minor style cleanup of some code I had to look at."
Elliott Hughes [Thu, 29 May 2014 16:12:01 +0000 (16:12 +0000)]
Merge "Minor style cleanup of some code I had to look at."

10 years agoMerge "Upgrade to tzdata2014d."
Elliott Hughes [Thu, 29 May 2014 16:09:39 +0000 (16:09 +0000)]
Merge "Upgrade to tzdata2014d."

10 years agoUpgrade to tzdata2014d.
Elliott Hughes [Thu, 29 May 2014 03:33:33 +0000 (20:33 -0700)]
Upgrade to tzdata2014d.

There are no substantive changes to the data in this release. I'm applying
this just for completeness.

Change-Id: Ibe953969cb16db4d8d1ddb7dd3c943316e6e46b4

10 years agoMinor style cleanup of some code I had to look at.
Elliott Hughes [Thu, 29 May 2014 03:30:40 +0000 (20:30 -0700)]
Minor style cleanup of some code I had to look at.

(It turns out that this is the only place we're saying __inline in C++.)

Change-Id: I8095e67a385087817c47caab9a621f82f8e0cfc8

10 years agoam 3388c7be: am fae42a83: Merge "Revert "Revert "Lose the hand-written futex assemble...
Elliott Hughes [Thu, 29 May 2014 03:19:41 +0000 (03:19 +0000)]
am 3388c7be: am fae42a83: Merge "Revert "Revert "Lose the hand-written futex assembler."""

* commit '3388c7be52e087256862171a5abdc9ceacf54e9d':
  Revert "Revert "Lose the hand-written futex assembler.""

10 years agoam fae42a83: Merge "Revert "Revert "Lose the hand-written futex assembler."""
Elliott Hughes [Thu, 29 May 2014 03:16:18 +0000 (03:16 +0000)]
am fae42a83: Merge "Revert "Revert "Lose the hand-written futex assembler."""

* commit 'fae42a837ae7f880de9561c7b3c2b18e4a531e90':
  Revert "Revert "Lose the hand-written futex assembler.""

10 years agoMerge "Revert "Revert "Lose the hand-written futex assembler."""
Elliott Hughes [Thu, 29 May 2014 03:13:23 +0000 (03:13 +0000)]
Merge "Revert "Revert "Lose the hand-written futex assembler."""

10 years agoRevert "Revert "Lose the hand-written futex assembler.""
Elliott Hughes [Wed, 28 May 2014 19:35:33 +0000 (19:35 +0000)]
Revert "Revert "Lose the hand-written futex assembler.""

The problem with the original patch was that using syscall(3) means that
errno can be set, but pthread_create(3) was abusing the TLS errno slot as
a pthread_mutex_t for the thread startup handshake.

There was also a mistake in the check for syscall failures --- it should
have checked against -1 instead of 0 (not just because that's the default
idiom, but also here because futex(2) can legitimately return values > 0).

This patch stops abusing the TLS errno slot and adds a pthread_mutex_t to
pthread_internal_t instead. (Note that for LP64 sizeof(pthread_mutex_t) >
sizeof(uintptr_t), so we could potentially clobber other TLS slots too.)

I've also rewritten the LP32 compatibility stubs to directly reuse the
code from the .h file.

This reverts commit 75c55ff84ebfa686c7ae2cc8ee431c6a33bd46b4.

Bug: 15195455
Change-Id: I6ffb13e5cf6a35d8f59f692d94192aae9ab4593d

10 years agoam c8d59fae: am 32c8ae9d: Merge "Fixes stdatomic.h test to match C11 spec"
Dan Albert [Thu, 29 May 2014 00:55:47 +0000 (00:55 +0000)]
am c8d59fae: am 32c8ae9d: Merge "Fixes stdatomic.h test to match C11 spec"

* commit 'c8d59fae72fb95fd7034ccf42664711849ed497f':
  Fixes stdatomic.h test to match C11 spec

10 years agoam 32c8ae9d: Merge "Fixes stdatomic.h test to match C11 spec"
Dan Albert [Thu, 29 May 2014 00:52:18 +0000 (00:52 +0000)]
am 32c8ae9d: Merge "Fixes stdatomic.h test to match C11 spec"

* commit '32c8ae9de0e51ac64efcfd2e5da34382deee959e':
  Fixes stdatomic.h test to match C11 spec

10 years agoMerge "Fixes stdatomic.h test to match C11 spec"
Dan Albert [Thu, 29 May 2014 00:50:26 +0000 (00:50 +0000)]
Merge "Fixes stdatomic.h test to match C11 spec"

10 years agoFixes stdatomic.h test to match C11 spec
Dan Albert [Wed, 28 May 2014 23:27:32 +0000 (16:27 -0700)]
Fixes stdatomic.h test to match C11 spec

C11 defines the expected value to atomic_compare_exchange_* as being non-atomic
types. Using an atomic type is a syntax error in clang.

http://en.cppreference.com/w/c/atomic/atomic_compare_exchange

Change-Id: I74de1061fa1fc50d835451792d902000f368200e

10 years agoam c51e9208: am dc3fb119: Merge "Updated ambiguous comment in pthread_mutex_lock."
Dan Albert [Wed, 28 May 2014 22:13:22 +0000 (22:13 +0000)]
am c51e9208: am dc3fb119: Merge "Updated ambiguous comment in pthread_mutex_lock."

* commit 'c51e92086a574c7209b8310925212f06eaa6ba20':
  Updated ambiguous comment in pthread_mutex_lock.

10 years agoam dc3fb119: Merge "Updated ambiguous comment in pthread_mutex_lock."
Dan Albert [Wed, 28 May 2014 22:10:22 +0000 (22:10 +0000)]
am dc3fb119: Merge "Updated ambiguous comment in pthread_mutex_lock."

* commit 'dc3fb119497382fc8d9c3b87c5ef8321141330dc':
  Updated ambiguous comment in pthread_mutex_lock.

10 years agoMerge "Updated ambiguous comment in pthread_mutex_lock."
Dan Albert [Wed, 28 May 2014 22:00:50 +0000 (22:00 +0000)]
Merge "Updated ambiguous comment in pthread_mutex_lock."

10 years agoam fa204cf0: am 8a405b02: Merge "Add optimized AArch64 versions of bcopy and wmemmove...
Christopher Ferris [Wed, 28 May 2014 21:41:40 +0000 (21:41 +0000)]
am fa204cf0: am 8a405b02: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"

* commit 'fa204cf030d79e65851cdd13ff5c073e5b5fd2ac':
  Add optimized AArch64 versions of bcopy and wmemmove based on memmove

10 years agoam 8a405b02: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on...
Christopher Ferris [Wed, 28 May 2014 21:38:01 +0000 (21:38 +0000)]
am 8a405b02: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"

* commit '8a405b027a9c8b3a614016f4824a03fa252e9e1e':
  Add optimized AArch64 versions of bcopy and wmemmove based on memmove

10 years agoMerge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
Christopher Ferris [Wed, 28 May 2014 21:35:04 +0000 (21:35 +0000)]
Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"

10 years agoUpdated ambiguous comment in pthread_mutex_lock.
Brigid Smith [Wed, 28 May 2014 18:45:48 +0000 (11:45 -0700)]
Updated ambiguous comment in pthread_mutex_lock.

The comment used the phrase "normal case" when it more specifically refers to the "recursive case," so I changed it to that.

Change-Id: I8335cce4dee933c6a463aee653b28bd986b5b5e4

10 years agoam 784254f2: am 52f74322: Merge "Revert "Lose the hand-written futex assembler.""
Narayan Kamath [Wed, 28 May 2014 18:08:39 +0000 (18:08 +0000)]
am 784254f2: am 52f74322: Merge "Revert "Lose the hand-written futex assembler.""

* commit '784254f28ed3e3b40889d060ccbc176361d70dc9':
  Revert "Lose the hand-written futex assembler."

10 years agoam 52f74322: Merge "Revert "Lose the hand-written futex assembler.""
Narayan Kamath [Wed, 28 May 2014 18:06:05 +0000 (18:06 +0000)]
am 52f74322: Merge "Revert "Lose the hand-written futex assembler.""

* commit '52f74322b1d72d57146107f32ee2c76c421bf4b1':
  Revert "Lose the hand-written futex assembler."

10 years agoMerge "Revert "Lose the hand-written futex assembler.""
Narayan Kamath [Wed, 28 May 2014 18:04:26 +0000 (18:04 +0000)]
Merge "Revert "Lose the hand-written futex assembler.""

10 years agoRevert "Lose the hand-written futex assembler."
Narayan Kamath [Wed, 28 May 2014 18:02:33 +0000 (18:02 +0000)]
Revert "Lose the hand-written futex assembler."

This reverts commit ced906c849704f379d7191822f6d74993d4fa296.

Causes issues on art / dalvik due to a broken return value
check and other undiagnosed issues.

bug: 15195455

Change-Id: I5d6bbb389ecefb0e33a5237421a9d56d32a9317c

10 years agoam 7ca4d736: am 53e70fe3: Merge "Remove unnecessary padding in ucontext_t"
Calin Juravle [Wed, 28 May 2014 17:54:08 +0000 (17:54 +0000)]
am 7ca4d736: am 53e70fe3: Merge "Remove unnecessary padding in ucontext_t"

* commit '7ca4d73644284a7ffce83ba62923e46c0a29ab64':
  Remove unnecessary padding in ucontext_t

10 years agoam 53e70fe3: Merge "Remove unnecessary padding in ucontext_t"
Calin Juravle [Wed, 28 May 2014 17:50:43 +0000 (17:50 +0000)]
am 53e70fe3: Merge "Remove unnecessary padding in ucontext_t"

* commit '53e70fe30646453a5deba0730337cb9674cd6fc8':
  Remove unnecessary padding in ucontext_t

10 years agoMerge "Remove unnecessary padding in ucontext_t"
Calin Juravle [Wed, 28 May 2014 17:48:05 +0000 (17:48 +0000)]
Merge "Remove unnecessary padding in ucontext_t"

10 years agoRemove unnecessary padding in ucontext_t
Calin Juravle [Wed, 28 May 2014 14:56:46 +0000 (15:56 +0100)]
Remove unnecessary padding in ucontext_t

- removed extra padding from ucontex_t on x86, x86_64 and mips
- force ucontext_t struct to use 64 bits for the sigmask on all arches
(previsouly wrong since sigset_t on arm and x86 is only 32 bits)
- arm and arm64 continue to use padding to match glibc sigset_t

This brings Bionic on par with the kernel w.r.t ucontext padding.

Bug: 12828904
Change-Id: Ia8915ace694ecb4695603a334e697985f4c3e7aa

10 years agoam ab4c4686: am 7fdde4a5: Merge "Expose __srefill for LP64 until we can fix the NDK."
Elliott Hughes [Wed, 28 May 2014 09:15:56 +0000 (09:15 +0000)]
am ab4c4686: am 7fdde4a5: Merge "Expose __srefill for LP64 until we can fix the NDK."

* commit 'ab4c46863d32daf6ed5c98a101317c0108071c1d':
  Expose __srefill for LP64 until we can fix the NDK.

10 years agoam 7fdde4a5: Merge "Expose __srefill for LP64 until we can fix the NDK."
Elliott Hughes [Wed, 28 May 2014 05:22:38 +0000 (05:22 +0000)]
am 7fdde4a5: Merge "Expose __srefill for LP64 until we can fix the NDK."

* commit '7fdde4a58b304a7c4f87987f3fde16bdded63a76':
  Expose __srefill for LP64 until we can fix the NDK.

10 years agoMerge "Expose __srefill for LP64 until we can fix the NDK."
Elliott Hughes [Wed, 28 May 2014 05:19:45 +0000 (05:19 +0000)]
Merge "Expose __srefill for LP64 until we can fix the NDK."

10 years agoExpose __srefill for LP64 until we can fix the NDK.
Elliott Hughes [Wed, 28 May 2014 04:23:36 +0000 (21:23 -0700)]
Expose __srefill for LP64 until we can fix the NDK.

The LP64 has a duplicate copy of part of stdio, and relies
on bionic supplying this part. We should remove the hack from
the NDK, at least for LP64, and then revert this.

Bug: 15291317
Change-Id: I75e06e130188ca0aeb9d50dfe3a3e48a1d3968b7

10 years agoam 9e3a0356: am 1454ff25: Merge "Clear the return address register in __bionic_clone."
Elliott Hughes [Tue, 27 May 2014 22:57:19 +0000 (22:57 +0000)]
am 9e3a0356: am 1454ff25: Merge "Clear the return address register in __bionic_clone."

* commit '9e3a0356f4f04f4adac31206876ed41db091c808':
  Clear the return address register in __bionic_clone.

10 years agoam 1454ff25: Merge "Clear the return address register in __bionic_clone."
Elliott Hughes [Tue, 27 May 2014 22:55:34 +0000 (22:55 +0000)]
am 1454ff25: Merge "Clear the return address register in __bionic_clone."

* commit '1454ff2574f0bee9fb3646c9c6dd30443e0dbd38':
  Clear the return address register in __bionic_clone.

10 years agoMerge "Clear the return address register in __bionic_clone."
Elliott Hughes [Tue, 27 May 2014 22:53:52 +0000 (22:53 +0000)]
Merge "Clear the return address register in __bionic_clone."

10 years agoClear the return address register in __bionic_clone.
Elliott Hughes [Tue, 27 May 2014 22:47:32 +0000 (15:47 -0700)]
Clear the return address register in __bionic_clone.

The unwinder will end up on the parent thread's stack if the return
address register is not cleared.

Bug: 14270816
Bug: 15195760
Change-Id: Iebcdf5cc881cad245643bb193760de35eb7f8b19

10 years agoam 4a542fc5: am 134911d7: Merge "Use __typeof__() instead of typeof()"
Dan Albert [Tue, 27 May 2014 22:01:25 +0000 (22:01 +0000)]
am 4a542fc5: am 134911d7: Merge "Use __typeof__() instead of typeof()"

* commit '4a542fc5193152d64de23add0c4ee27b8486cdf9':
  Use __typeof__() instead of typeof()

10 years agoam 134911d7: Merge "Use __typeof__() instead of typeof()"
Dan Albert [Tue, 27 May 2014 21:59:33 +0000 (21:59 +0000)]
am 134911d7: Merge "Use __typeof__() instead of typeof()"

* commit '134911d75deab2b5babc175c894c002e875dfed6':
  Use __typeof__() instead of typeof()

10 years agoMerge "Use __typeof__() instead of typeof()"
Dan Albert [Tue, 27 May 2014 21:57:24 +0000 (21:57 +0000)]
Merge "Use __typeof__() instead of typeof()"

10 years agoUse __typeof__() instead of typeof()
Dan Albert [Thu, 22 May 2014 03:33:28 +0000 (20:33 -0700)]
Use __typeof__() instead of typeof()

typeof() is a gcc builtin and is not always available (such as clang when
-std=c*). Both gcc and clang always expose __typeof__(), so just use that.

Change-Id: I75e2a990acc35f6f39b2c353f6548100ec03c67f

10 years agoam 946bc952: am 8e85b4f0: Merge "Restore __srefill for LP32."
Elliott Hughes [Tue, 27 May 2014 18:44:59 +0000 (18:44 +0000)]
am 946bc952: am 8e85b4f0: Merge "Restore __srefill for LP32."

* commit '946bc9528df170d32033ec5794073896d2406301':
  Restore __srefill for LP32.

10 years agoam 8e85b4f0: Merge "Restore __srefill for LP32."
Elliott Hughes [Tue, 27 May 2014 18:41:52 +0000 (18:41 +0000)]
am 8e85b4f0: Merge "Restore __srefill for LP32."

* commit '8e85b4f00e8816f22bf5b5f20b1f978432f2ae08':
  Restore __srefill for LP32.

10 years agoMerge "Restore __srefill for LP32."
Elliott Hughes [Tue, 27 May 2014 18:38:56 +0000 (18:38 +0000)]
Merge "Restore __srefill for LP32."

10 years agoRestore __srefill for LP32.
Elliott Hughes [Tue, 27 May 2014 18:22:39 +0000 (11:22 -0700)]
Restore __srefill for LP32.

The NDK apparently includes an android_support.a library that
refers to __srefill in its copy of the vsnprintf implementation.

Bug: 15249361
Change-Id: Ic2cf6f21290b3146c42fbe0624f5e4d54f6194b4

10 years agoam 50c52f74: am b3c75a1e: Merge "Restore __srget and __swbuf for LP32."
Elliott Hughes [Mon, 26 May 2014 08:07:13 +0000 (08:07 +0000)]
am 50c52f74: am b3c75a1e: Merge "Restore __srget and __swbuf for LP32."

* commit '50c52f7424c2ef6fdc8fae1635a1c646c28a96a9':
  Restore __srget and __swbuf for LP32.

10 years agoam b3c75a1e: Merge "Restore __srget and __swbuf for LP32."
Elliott Hughes [Mon, 26 May 2014 05:10:46 +0000 (05:10 +0000)]
am b3c75a1e: Merge "Restore __srget and __swbuf for LP32."

* commit 'b3c75a1e8ffbf575c2a425b34fd67ff8077da299':
  Restore __srget and __swbuf for LP32.

10 years agoMerge "Restore __srget and __swbuf for LP32."
Elliott Hughes [Mon, 26 May 2014 05:07:20 +0000 (05:07 +0000)]
Merge "Restore __srget and __swbuf for LP32."

10 years agoam 21296dfe: am bc904896: Merge "Add C11 <stdatomic.h>."
Elliott Hughes [Sun, 25 May 2014 17:54:20 +0000 (17:54 +0000)]
am 21296dfe: am bc904896: Merge "Add C11 <stdatomic.h>."

* commit '21296dfe530c73906411b44347c66db8c0e6d3aa':
  Add C11 <stdatomic.h>.

10 years agoam bc904896: Merge "Add C11 <stdatomic.h>."
Elliott Hughes [Sun, 25 May 2014 17:51:05 +0000 (17:51 +0000)]
am bc904896: Merge "Add C11 <stdatomic.h>."

* commit 'bc904896a6f846e2648922d46324ea626ae9e1d1':
  Add C11 <stdatomic.h>.

10 years agoMerge "Add C11 <stdatomic.h>."
Elliott Hughes [Sun, 25 May 2014 17:48:18 +0000 (17:48 +0000)]
Merge "Add C11 <stdatomic.h>."

10 years agoRestore __srget and __swbuf for LP32.
Elliott Hughes [Sun, 25 May 2014 17:38:25 +0000 (10:38 -0700)]
Restore __srget and __swbuf for LP32.

Anthony King <anthonydking@slimroms.net> reports that for Grouper the
Nvidia GL blobs need access to __swbuf. This is because the old <stdio.h>
had inline getc and putc implementations that directly referred to these
symbols.

Change-Id: I11a7b5550018ecc93d8f195c99857759669b2906

10 years agoam 06c9662a: am 255789e4: Merge "Restore tkill for LP32."
Elliott Hughes [Sun, 25 May 2014 03:21:27 +0000 (03:21 +0000)]
am 06c9662a: am 255789e4: Merge "Restore tkill for LP32."

* commit '06c9662a2feddc86a37d3adb3e468d57067c3714':
  Restore tkill for LP32.

10 years agoam 255789e4: Merge "Restore tkill for LP32."
Elliott Hughes [Sun, 25 May 2014 03:18:14 +0000 (03:18 +0000)]
am 255789e4: Merge "Restore tkill for LP32."

* commit '255789e4d12d95dbb8e34cfae7fdc58514843ba5':
  Restore tkill for LP32.

10 years agoam 85df714f: am d4f37110: Merge "Restore __futex_wake and __futex_wait for LP32."
Elliott Hughes [Sun, 25 May 2014 03:14:47 +0000 (03:14 +0000)]
am 85df714f: am d4f37110: Merge "Restore __futex_wake and __futex_wait for LP32."

* commit '85df714f911fe6c2155b6a5d8158e935b9b040a1':
  Restore __futex_wake and __futex_wait for LP32.

10 years agoMerge "Restore tkill for LP32."
Elliott Hughes [Sun, 25 May 2014 03:14:38 +0000 (03:14 +0000)]
Merge "Restore tkill for LP32."

10 years agoRestore tkill for LP32.
Anthony King [Sat, 24 May 2014 16:47:14 +0000 (16:47 +0000)]
Restore tkill for LP32.

libmono from Unity still requires tkill(2).

Change-Id: I37a1994b08086c7fedb5c78ea0dadf2d72bc1463
Signed-off-by: Anthony King <anthonydking@slimroms.net>
10 years agoam d4f37110: Merge "Restore __futex_wake and __futex_wait for LP32."
Elliott Hughes [Sun, 25 May 2014 03:11:02 +0000 (03:11 +0000)]
am d4f37110: Merge "Restore __futex_wake and __futex_wait for LP32."

* commit 'd4f37110ce4b8439dd30540565f7c73e00cfe2fb':
  Restore __futex_wake and __futex_wait for LP32.

10 years agoMerge "Restore __futex_wake and __futex_wait for LP32."
Elliott Hughes [Sun, 25 May 2014 03:09:00 +0000 (03:09 +0000)]
Merge "Restore __futex_wake and __futex_wait for LP32."

10 years agoRestore __futex_wake and __futex_wait for LP32.
Elliott Hughes [Sun, 25 May 2014 00:19:36 +0000 (17:19 -0700)]
Restore __futex_wake and __futex_wait for LP32.

Should fix Skype:

  java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__futex_wake" referenced by "libsliq.so"...

Bug: 15196718
Change-Id: I8a18e18d830f0436e820cbde577121bd92710803

10 years agoAdd C11 <stdatomic.h>.
Elliott Hughes [Sat, 24 May 2014 03:06:03 +0000 (20:06 -0700)]
Add C11 <stdatomic.h>.

Bug: 14903517
Change-Id: I631dbfdaa698cf7fea8e3b5e18a32586383e62a5

10 years agoAdd optimized AArch64 versions of bcopy and wmemmove based on memmove
Bernhard Rosenkraenzer [Fri, 23 May 2014 15:44:18 +0000 (17:44 +0200)]
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: I82fbe8a7221ce224c567ffcfed7a94a53640fca8
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
10 years agoam 86f5d0f9: am 1c4d8301: Merge "Revert "Add optimized AArch64 versions of bcopy...
Christopher Ferris [Sat, 24 May 2014 01:08:38 +0000 (01:08 +0000)]
am 86f5d0f9: am 1c4d8301: Merge "Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove""

* commit '86f5d0f9c1d9904ce45329d14682a849253917cd':
  Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"

10 years agoam 1c4d8301: Merge "Revert "Add optimized AArch64 versions of bcopy and wmemmove...
Christopher Ferris [Sat, 24 May 2014 01:05:42 +0000 (01:05 +0000)]
am 1c4d8301: Merge "Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove""

* commit '1c4d83012fea4e6d011215bef1665cf68d2ac47c':
  Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"

10 years agoam 5c34b003: am 78c3e11e: Merge "Add optimized AArch64 versions of bcopy and wmemmove...
Christopher Ferris [Sat, 24 May 2014 01:04:06 +0000 (01:04 +0000)]
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

10 years agoMerge "Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove""
Christopher Ferris [Sat, 24 May 2014 01:02:31 +0000 (01:02 +0000)]
Merge "Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove""

10 years agoRevert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
Christopher Ferris [Sat, 24 May 2014 01:02:22 +0000 (01:02 +0000)]
Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"

This reverts commit 8167dd7cb98e87ffe9b40e4993c330b244ca2234.

For some reason I thought the bcopy change was bzero. The bcopy code doesn't pass our tests, so reverting until I can figure out what's wrong.

Change-Id: Id89fe959ea5105cd58dff6bba8d91a30cc4bcb07

10 years agoam 78c3e11e: Merge "Add optimized AArch64 versions of bcopy and wmemmove based on...
Christopher Ferris [Sat, 24 May 2014 01:01:01 +0000 (01:01 +0000)]
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

10 years agoam 50348295: am f4985b14: Merge "Clear link register in __bionic_clone."
Ben Cheng [Sat, 24 May 2014 01:00:40 +0000 (01:00 +0000)]
am 50348295: am f4985b14: Merge "Clear link register in __bionic_clone."

* commit '50348295048b25b06140b4d34edb7932973addfd':
  Clear link register in __bionic_clone.

10 years agoMerge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"
Christopher Ferris [Sat, 24 May 2014 00:58:15 +0000 (00:58 +0000)]
Merge "Add optimized AArch64 versions of bcopy and wmemmove based on memmove"

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 agoAdd optimized AArch64 versions of bcopy and wmemmove based on memmove
Bernhard Rosenkraenzer [Fri, 23 May 2014 15:44:18 +0000 (17:44 +0200)]
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>
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 764ebf8a: am a486632e: Merge "Remove <sys/atomics.h>."
Elliott Hughes [Fri, 23 May 2014 22:27:27 +0000 (22:27 +0000)]
am 764ebf8a: am a486632e: Merge "Remove <sys/atomics.h>."

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

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 d2b12988: am b2604949: Merge "Migrate pthread_rwlock implementation away from...
Calin Juravle [Fri, 23 May 2014 10:14:49 +0000 (10:14 +0000)]
am d2b12988: am b2604949: Merge "Migrate pthread_rwlock implementation away from sys/atomics"

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

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 69068fd9: am fb9a47c7: Merge "Hide various stdio implementation details."
Elliott Hughes [Fri, 23 May 2014 08:34:57 +0000 (08:34 +0000)]
am 69068fd9: am fb9a47c7: Merge "Hide various stdio implementation details."

* commit '69068fd919b482028b3afd84a814d48b362a0189':
  Hide various stdio implementation details.