Dan Albert
00627f94b4
am b7460a35: am 5cf46f81: Merge "Reject changes with cleanspecs."
...
* commit 'b7460a352e8456d2f77d990a6e76edc9de102e98':
Reject changes with cleanspecs.
2015-04-09 01:13:18 +00:00
Dan Albert
b7460a352e
am 5cf46f81: Merge "Reject changes with cleanspecs."
...
* commit '5cf46f81ead958f43178ee8f613432b5f66045e5':
Reject changes with cleanspecs.
2015-04-09 00:31:59 +00:00
Christopher Ferris
41efc92e35
Use assembly memmove for all arm32 processors.
...
Bug: 15110993
Change-Id: Ia3dcd6b8c4032f8c72b6f2e628b635ce99667c09
2015-04-08 16:53:16 -07:00
Dan Albert
5cf46f81ea
Merge "Reject changes with cleanspecs."
2015-04-08 22:52:44 +00:00
Yabin Cui
76615dae93
Provide writer preference option in rwlock.
...
Previous implementation of rwlock contains four atomic variables, which
is hard to maintain and change. So I make following changes in this CL:
1. Add pending flags in rwlock.state, so we don't need to synchronize
between different atomic variables. Using compare_and_swap operations
on rwlock.state is enough for all state change.
2. Add pending_lock to protect readers/writers waiting and wake up
operations. As waiting/wakeup is not performance critical, using a
lock is easier to maintain.
3. Add writer preference option.
4. Add unit tests for rwlock.
Bug: 19109156
Change-Id: Idcaa58d695ea401d64445610b465ac5cff23ec7c
2015-04-08 13:11:13 -07:00
Dmitriy Ivanov
8614073ef3
am e2aa8002: am 598493e7: Merge "Stop libc from cross-referencing unwind symbols"
...
* commit 'e2aa80028999fbb896d40f27c2fe5f0691f992f0':
Stop libc from cross-referencing unwind symbols
2015-04-07 20:12:59 +00:00
Dmitriy Ivanov
e2aa800289
am 598493e7: Merge "Stop libc from cross-referencing unwind symbols"
...
* commit '598493e725e0298ae11ddbdee62c3a7007eb503c':
Stop libc from cross-referencing unwind symbols
2015-04-07 19:39:40 +00:00
Dmitriy Ivanov
598493e725
Merge "Stop libc from cross-referencing unwind symbols"
android-wear-5.1.1_r1
android-wear-5.1.0_r1
2015-04-07 19:21:32 +00:00
Neil Fuller
fb2c7ab1f0
am d4451f13: am 957f6188: Merge "Changes to re-enable overrides for tz data"
...
* commit 'd4451f130c754243f6c98880fa652874c567c4c3':
Changes to re-enable overrides for tz data
2015-04-07 13:33:42 +00:00
Neil Fuller
d4451f130c
am 957f6188: Merge "Changes to re-enable overrides for tz data"
...
* commit '957f6188fa7494ea8b7701b14df4c9127d27a9ef':
Changes to re-enable overrides for tz data
2015-04-07 13:16:45 +00:00
Neil Fuller
957f6188fa
Merge "Changes to re-enable overrides for tz data"
2015-04-07 12:55:07 +00:00
Dmitriy Ivanov
5f43c7a9bb
am 6c4ef816: am 9fbd8fd4: Merge "Fix x86_64 build"
...
* commit '6c4ef816db5f7b9b4a659f997327d6edee65973b':
Fix x86_64 build
2015-04-07 02:48:19 +00:00
Dmitriy Ivanov
6c4ef816db
am 9fbd8fd4: Merge "Fix x86_64 build"
...
* commit '9fbd8fd4bc1767b65abd0fdbdb5e35cdc4dafe13':
Fix x86_64 build
2015-04-07 02:28:57 +00:00
Dmitriy Ivanov
9fbd8fd4bc
Merge "Fix x86_64 build"
2015-04-07 02:08:43 +00:00
Dmitriy Ivanov
1dce3ed249
Fix x86_64 build
...
Change-Id: Id81c059bf3ecdb9cc84d04d16ffda34baaadc5a1
2015-04-06 19:05:58 -07:00
Dmitriy Ivanov
cd13b14e98
Stop libc from cross-referencing unwind symbols
...
This makes unwind symbols 'protected',
which should prevent them from relocating
against libc++.so/libcutls.so.
This is temporary file and it is going
to be removed once libc.so stops exporting
them.
Bug: http://b/19958712
Change-Id: I96a765afe47e68d2e2ceb288870e63a25ca52081
2015-04-07 01:48:35 +00:00
Dmitriy Ivanov
03930d4476
am 0e67ab32: am 8a1007db: Merge "Add realpath for soinfo"
...
* commit '0e67ab32f2a7ab6685d9e4c5a38c0d5a5396800a':
Add realpath for soinfo
2015-04-07 00:52:43 +00:00
Dmitriy Ivanov
0e67ab32f2
am 8a1007db: Merge "Add realpath for soinfo"
...
* commit '8a1007dbababa6c4812c267ca9119cf0765afc3f':
Add realpath for soinfo
2015-04-07 00:32:46 +00:00
Dmitriy Ivanov
8a1007dbab
Merge "Add realpath for soinfo"
2015-04-07 00:14:57 +00:00
Elliott Hughes
53296ddab0
am 04b59972: am 67de2593: Merge "Add a test for getdelim(3) on a directory."
...
* commit '04b59972814b8d9c93b0fb72cbcaeeaa761894cd':
Add a test for getdelim(3) on a directory.
2015-04-06 23:14:43 +00:00
Dan Albert
dadac10fcc
Reject changes with cleanspecs.
...
Cleanspecs must not be removed once they have been built. This means
they can't be reverted, or reliably cherry-picked. Just skip any
changes that include them since they make such a mess.
Change-Id: I3df8d81f93651d573485de7a75ecf5c6278c0001
2015-04-06 14:22:37 -07:00
Dmitriy Ivanov
aae859cc3c
Add realpath for soinfo
...
This change adds realpath to soinfo and
extends limit on filenames from 128 to PATH_MAX.
It also removes soinfo::name field, linker uses
dt_soname instead.
Bug: http://b/19818481
Bug: https://code.google.com/p/android/issues/detail?id=80336
Change-Id: I9cff4cb5bda3ee2bc74e1bbded9594ea7fbe2a08
2015-04-06 21:15:43 +00:00
Elliott Hughes
04b5997281
am 67de2593: Merge "Add a test for getdelim(3) on a directory."
...
* commit '67de2593b3d7e9e94ac8993efd51da4b512c6af5':
Add a test for getdelim(3) on a directory.
2015-04-06 19:49:26 +00:00
Elliott Hughes
67de2593b3
Merge "Add a test for getdelim(3) on a directory."
2015-04-06 19:36:13 +00:00
Elliott Hughes
694fd2d880
Add a test for getdelim(3) on a directory.
...
Apparently uClibc has a bug here. We don't, but let's keep it that way.
Bug: http://landley.net/notes.html#21-03-2015
Change-Id: If406df963db9bee47921d7a1c116ebcab08d96bf
2015-04-05 10:51:56 -07:00
Yabin Cui
f297fca177
am 9c4d0941: am 4bd8f963: Merge "Fix bug for recursive/errorcheck mutex on 32-bit devices."
...
* commit '9c4d0941f985e2ab9ec5fca579dc98d4ad26fec2':
Fix bug for recursive/errorcheck mutex on 32-bit devices.
2015-04-04 20:07:23 +00:00
Yabin Cui
9c4d0941f9
am 4bd8f963: Merge "Fix bug for recursive/errorcheck mutex on 32-bit devices."
...
* commit '4bd8f9637daaada333ff35945b00cfe6cb822376':
Fix bug for recursive/errorcheck mutex on 32-bit devices.
2015-04-04 19:47:57 +00:00
Yabin Cui
4bd8f9637d
Merge "Fix bug for recursive/errorcheck mutex on 32-bit devices."
2015-04-04 19:31:55 +00:00
Yabin Cui
f796985923
Fix bug for recursive/errorcheck mutex on 32-bit devices.
...
Bug: 19216648
Change-Id: I3b43b2d18d25b9bde352da1e35f9568133dec7cf
2015-04-03 19:01:17 -07:00
Dmitriy Ivanov
ccacf7c16a
am 5a811bed: am e686df8d: Merge "Add libdl dependency for target libraries"
...
* commit '5a811bed273651406c91c543eefb19d12a55f9b4':
Add libdl dependency for target libraries
2015-04-03 23:34:13 +00:00
Dmitriy Ivanov
5a811bed27
am e686df8d: Merge "Add libdl dependency for target libraries"
...
* commit 'e686df8d839216460f02cf7db6c4e26a13e49afd':
Add libdl dependency for target libraries
2015-04-03 23:14:29 +00:00
Dmitriy Ivanov
e686df8d83
Merge "Add libdl dependency for target libraries"
2015-04-03 22:54:06 +00:00
Dmitriy Ivanov
45c57131d2
Add libdl dependency for target libraries
...
Fixed x86_64 target build with gcc 4.9
Change-Id: Id3b1e9286c2bcbb8e3ac117bcef957304db7cfd3
2015-04-03 15:17:52 -07:00
Elliott Hughes
329aefb20f
am d7e64284: am cec2ab20: Merge "Try again to fix clang build."
...
* commit 'd7e64284ca7fa71d298d26e1ba84ce993bb98c92':
Try again to fix clang build.
2015-04-03 21:19:41 +00:00
Elliott Hughes
d7e64284ca
am cec2ab20: Merge "Try again to fix clang build."
...
* commit 'cec2ab20a0d2b24c15aa289cbac5d4291c856092':
Try again to fix clang build.
2015-04-03 20:58:48 +00:00
Elliott Hughes
4c8c63a4de
am f29f8ae6: am ec8b3a7d: Merge "Fix clang build."
...
* commit 'f29f8ae6e3fb8af2944cdbb2c0d29894c51cf3e5':
Fix clang build.
2015-04-03 20:53:13 +00:00
Elliott Hughes
cec2ab20a0
Merge "Try again to fix clang build."
2015-04-03 20:38:15 +00:00
Elliott Hughes
dffd3c5838
Try again to fix clang build.
...
I got the condition the wrong way round in the previous change.
Bug: http://b/20065774
Change-Id: I218b224b37f5fb2f7c7ec2f9af27472b340c4b15
2015-04-03 13:37:18 -07:00
Elliott Hughes
f29f8ae6e3
am ec8b3a7d: Merge "Fix clang build."
...
* commit 'ec8b3a7dde3c282c4f9ca5c8bf5a7e1b7469def0':
Fix clang build.
2015-04-03 20:36:55 +00:00
Dmitriy Ivanov
c461b78e43
am 5057929f: am aea165cb: Merge "Add ANDROID_DLEXT_FORCE_LOAD flag"
...
* commit '5057929fc8a71feedffaf7a688468d9f8ea1621f':
Add ANDROID_DLEXT_FORCE_LOAD flag
2015-04-03 20:24:27 +00:00
Elliott Hughes
003b1639bd
am 97c78020: am b1f1de4d: Merge "Fix volantis boot."
...
* commit '97c7802038b3c2472d2377984e749f398eee078c':
Fix volantis boot.
2015-04-03 20:24:26 +00:00
Elliott Hughes
ec8b3a7dde
Merge "Fix clang build."
2015-04-03 20:12:02 +00:00
Elliott Hughes
0975a5d9d2
Fix clang build.
...
Apparently clang really doesn't want you to take the address of a builtin.
Since this is only a temporary hack, let's just shrug and accept that
clang-built volantis images won't work until we have new NVIDIA blobs.
Bug: http://b/20065774
Change-Id: I4c8e893b15a1af8f9c54d3f89bfef112b63d09b4
2015-04-03 13:10:04 -07:00
Dmitriy Ivanov
5057929fc8
am aea165cb: Merge "Add ANDROID_DLEXT_FORCE_LOAD flag"
...
* commit 'aea165cb03abceb85062e94f22f72e1c9d9800a4':
Add ANDROID_DLEXT_FORCE_LOAD flag
2015-04-03 19:59:03 +00:00
Elliott Hughes
97c7802038
am b1f1de4d: Merge "Fix volantis boot."
...
* commit 'b1f1de4dd4b1a3802abd5284de9ebfe6a98057f1':
Fix volantis boot.
2015-04-03 19:59:01 +00:00
Dmitriy Ivanov
aea165cb03
Merge "Add ANDROID_DLEXT_FORCE_LOAD flag"
2015-04-03 19:45:24 +00:00
Elliott Hughes
b1f1de4dd4
Merge "Fix volantis boot."
2015-04-03 19:38:31 +00:00
Elliott Hughes
76e1cbca75
Fix volantis boot.
...
NVIDIA binary blobs are assuming that __cache_clear, _Unwind_Backtrace,
and _Unwind_GetIP are all in some library that they link, but now we've
cleaned up this leakage, they're no longer getting it. Deliberately leak
the symbols from libc.so until we get new blobs.
Bug: http://b/20065774
Change-Id: I92ef07b2bce8d1ad719bf40dab41d745cd6904d4
2015-04-03 12:37:03 -07:00
Dmitriy Ivanov
9b82136b98
Add ANDROID_DLEXT_FORCE_LOAD flag
...
This flag allows to force loading of the library
in the case when for some reason multiple ELF files
share the same filename (because the already-loaded
library has been removed and overwritten, for example).
Change-Id: I798d44409ee13d63eaa75d685e99c4d028d2b0c1
2015-04-03 10:50:48 -07:00
Dmitriy Ivanov
3eef109c40
am 76832b63: am 06b6e3c5: Merge "Look into local group on dlsym with RTLD_DEFAULT"
...
* commit '76832b63967c81549a6628f7bd02eada1b11e238':
Look into local group on dlsym with RTLD_DEFAULT
2015-04-02 22:35:49 +00:00