OSDN Git Service
Dmitriy Ivanov [Thu, 18 Sep 2014 00:16:52 +0000 (00:16 +0000)]
am
6a310f4a: Merge "Temporary disable DL_WARNs for unused DT_*"
* commit '
6a310f4ad6c06b6f513d6dd9784ce0377f94f9bd':
Temporary disable DL_WARNs for unused DT_*
Dmitriy Ivanov [Wed, 17 Sep 2014 23:56:44 +0000 (23:56 +0000)]
Merge "Temporary disable DL_WARNs for unused DT_*"
Dmitriy Ivanov [Wed, 17 Sep 2014 23:46:40 +0000 (16:46 -0700)]
Temporary disable DL_WARNs for unused DT_*
Bug:
17552334
Change-Id: I2f7b5e4b4d1db96e812a7f86adc929e113d4c11a
Dmitriy Ivanov [Wed, 17 Sep 2014 23:20:01 +0000 (23:20 +0000)]
am
77784cb9: Merge "Add Android*.mk files to additional dependencies"
* commit '
77784cb9b7bad354601a3f965c3eaffecf6798ca':
Add Android*.mk files to additional dependencies
Dmitriy Ivanov [Wed, 17 Sep 2014 23:01:49 +0000 (23:01 +0000)]
Merge "Add Android*.mk files to additional dependencies"
Dmitriy Ivanov [Wed, 17 Sep 2014 22:55:01 +0000 (15:55 -0700)]
Add Android*.mk files to additional dependencies
Bug:
17548097
Change-Id: Ie0d9c8f33459320008f561217c54eba42d283b47
Elliott Hughes [Wed, 17 Sep 2014 22:37:18 +0000 (22:37 +0000)]
am
03fef1f5: Merge "Fix some 32-bit-isms in <stdio.h>."
* commit '
03fef1f51179de5cb65eafd9b57ea05c8e061542':
Fix some 32-bit-isms in <stdio.h>.
Elliott Hughes [Wed, 17 Sep 2014 22:37:17 +0000 (22:37 +0000)]
am
2f5cf100: Merge "Pull input.h from v3.16.1 kernel headers."
* commit '
2f5cf100a8cfaf51296fda69d31ef9e59c6d1da3':
Pull input.h from v3.16.1 kernel headers.
Elliott Hughes [Wed, 17 Sep 2014 22:25:35 +0000 (15:25 -0700)]
Fix an unintended difference between aosp/master and lmp-dev-plus-aosp.
Whitespace difference presumably introduced while fixing a merge conflict.
Bug:
17549448
Change-Id: If688330bf1dbaed23ba687d843d9744d6261023b
Elliott Hughes [Wed, 17 Sep 2014 22:22:32 +0000 (22:22 +0000)]
Merge "Fix some 32-bit-isms in <stdio.h>."
Elliott Hughes [Wed, 20 Aug 2014 19:14:21 +0000 (12:14 -0700)]
Fix some 32-bit-isms in <stdio.h>.
(cherry-pick of
2d80400a9e8454038a3ec29959436184be0c4c65.)
Bug:
17157793
Change-Id: I8290e240b92e5617f4c12c0eacad6e622e677b6a
Elliott Hughes [Wed, 17 Sep 2014 22:18:47 +0000 (22:18 +0000)]
Merge "Pull input.h from v3.16.1 kernel headers."
Christopher Ferris [Sun, 14 Sep 2014 19:08:37 +0000 (12:08 -0700)]
Pull input.h from v3.16.1 kernel headers.
(cherry-pick of
027d2717d067c3706f22bf84dc1226ede7c1566d.)
Bug:
17407564
Change-Id: Idcfc40a7254605280e3d5474c61ae1ab7b2b7b51
Elliott Hughes [Tue, 26 Aug 2014 23:20:59 +0000 (16:20 -0700)]
More cases where libc should use O_CLOEXEC.
Change-Id: Idfa111aeebc5deca2399dae919e8b72eb54c23c0
(cherry picked from commit
f73183f1a34df22b62a3d0bbf82e18d5797c9cde)
Dan Albert [Wed, 13 Aug 2014 18:25:01 +0000 (11:25 -0700)]
Hide ScopedTrace.
(cherry-pick of
f2c1e7ee78a167ff323b9f45d20532d064d6778d.)
Bug:
11156955
Change-Id: I6cddc868d1c6503e30f1ffcf460f45670631d64a
Elliott Hughes [Wed, 17 Sep 2014 21:59:24 +0000 (14:59 -0700)]
Revert "Revert "Added a bionic systrace class and tracing to pthread_mutex.cpp.""
This reverts commit
26c1420fbb68916d66a8621b5efe8bb25cfdad7b.
Elliott Hughes [Wed, 17 Sep 2014 17:17:14 +0000 (17:17 +0000)]
am
36a5aa05: Merge "Use the kernel\'s sa_restorer for aarch64."
* commit '
36a5aa057cf1738577754a3fc16a14a5f817109f':
Use the kernel's sa_restorer for aarch64.
Elliott Hughes [Wed, 17 Sep 2014 17:04:40 +0000 (17:04 +0000)]
Merge "Use the kernel's sa_restorer for aarch64."
Elliott Hughes [Wed, 17 Sep 2014 17:00:39 +0000 (17:00 +0000)]
am
56433ee2: Merge "Clean up the architecture-specific makefiles."
* commit '
56433ee2a2ccc097ac3ad753168722b0fc76f3b1':
Clean up the architecture-specific makefiles.
Elliott Hughes [Wed, 17 Sep 2014 16:36:46 +0000 (16:36 +0000)]
Merge "Clean up the architecture-specific makefiles."
Dmitriy Ivanov [Wed, 17 Sep 2014 06:53:52 +0000 (06:53 +0000)]
am
e7c9a387: Merge "Fix 64bit build"
* commit '
e7c9a387fa190b786b1f7becfe99cb22a6f2934a':
Fix 64bit build
Dmitriy Ivanov [Wed, 17 Sep 2014 06:36:19 +0000 (06:36 +0000)]
Merge "Fix 64bit build"
Dmitriy Ivanov [Wed, 17 Sep 2014 06:34:20 +0000 (23:34 -0700)]
Fix 64bit build
Change-Id: I6ef55b5951270c46ee5e9a11385bd09e33a9f969
Dmitriy Ivanov [Wed, 17 Sep 2014 05:49:55 +0000 (05:49 +0000)]
am
34ac60ca: Merge "Fix some unused DT_ warnings"
* commit '
34ac60ca16713be227844798f4b20a2f68c8a241':
Fix some unused DT_ warnings
Dmitriy Ivanov [Wed, 17 Sep 2014 05:28:29 +0000 (05:28 +0000)]
Merge "Fix some unused DT_ warnings"
Elliott Hughes [Wed, 17 Sep 2014 02:06:31 +0000 (19:06 -0700)]
Clean up the architecture-specific makefiles.
Group things appropriately and name each group.
Change-Id: I0da45eb0ccde19c31d5e984d0e6eb3dad26630dc
Dmitriy Ivanov [Tue, 16 Sep 2014 22:51:25 +0000 (15:51 -0700)]
Fix some unused DT_ warnings
* DT_PLTGOT - ignored for non-mips
* DT_RELCOUNT/RELACOUNT - ignored
* DT_RELENT/RELAENT - sanity checks
* DT_SYMENT - sanity check
* DT_SONAME - ignore for now.
Change-Id: Ied90748d12f733a84f6c38a1250567a2f77608b7
Elliott Hughes [Wed, 17 Sep 2014 00:07:22 +0000 (00:07 +0000)]
am
17cc8e53: Merge "No arm source refers to SOFTFLOAT."
* commit '
17cc8e539a578184662c1966a60f37c7d4fed65e':
No arm source refers to SOFTFLOAT.
Elliott Hughes [Tue, 16 Sep 2014 23:45:40 +0000 (23:45 +0000)]
Merge "No arm source refers to SOFTFLOAT."
Elliott Hughes [Tue, 16 Sep 2014 23:27:35 +0000 (16:27 -0700)]
No arm source refers to SOFTFLOAT.
So why bother #defining it?
Change-Id: I539e91916cee082cacac594ddf628419b737fa9d
Dmitriy Ivanov [Tue, 16 Sep 2014 22:54:00 +0000 (22:54 +0000)]
am
aea393c0: Merge "Remove has_DT_SYMBOLIC flag"
* commit '
aea393c096460669647acbe803617affc5bc0697':
Remove has_DT_SYMBOLIC flag
Elliott Hughes [Tue, 16 Sep 2014 22:49:50 +0000 (15:49 -0700)]
Use the kernel's sa_restorer for aarch64.
gdb was happy with what we had, but libgcc and libunwind weren't.
libgcc is happy with the kernel's restorer (because of the extra nop),
though libunwind looks like it's going to need code changes regardless.
We could make our restorer more like the kernel's one, but why bother
when we can just let the kernel supply the canonical one?
Bug:
17436734
Change-Id: I330fa5e68f23b1cf8133aa552896657b0b873ed3
Dmitriy Ivanov [Tue, 16 Sep 2014 22:37:36 +0000 (22:37 +0000)]
Merge "Remove has_DT_SYMBOLIC flag"
Dmitriy Ivanov [Tue, 16 Sep 2014 21:31:06 +0000 (14:31 -0700)]
Remove has_DT_SYMBOLIC flag
From the elf-spec: "Symbolically bound shared objects are
identified by the .dynamic entry DT_SYMBOLIC. This tag is
informational only; the runtime linker processes symbol
lookups from these objects in the same manner as any
other object."
Change-Id: I4aae0e502ed9fac096fbf076f4d6b2e055d784f6
Elliott Hughes [Tue, 16 Sep 2014 22:13:34 +0000 (22:13 +0000)]
am
380a3be7: Merge "Fix 32-bit arm unwinding through signal frames."
* commit '
380a3be757b04378edecad6ecb96017d2ec6a8b9':
Fix 32-bit arm unwinding through signal frames.
Elliott Hughes [Tue, 16 Sep 2014 21:17:20 +0000 (21:17 +0000)]
Merge "Fix 32-bit arm unwinding through signal frames."
Elliott Hughes [Tue, 16 Sep 2014 20:57:39 +0000 (13:57 -0700)]
Fix 32-bit arm unwinding through signal frames.
gdb was already okay; libgcc and libunwind need a little extra help.
Bug:
17436734
Change-Id: I1f5108f9877373be078554a1ea4938aa4436204e
Calin Juravle [Tue, 16 Sep 2014 19:52:58 +0000 (19:52 +0000)]
am
370704d6: Merge "Add benchmarks for pthread_rw_locks"
* commit '
370704d69db15ec0b4d24e6412b5d30ded0ffc03':
Add benchmarks for pthread_rw_locks
Elliott Hughes [Tue, 16 Sep 2014 19:42:51 +0000 (19:42 +0000)]
am
5cba3c6f: Merge "Fix signal trampolines."
* commit '
5cba3c6f8e571cd4e6e2468263b778a90331101f':
Fix signal trampolines.
Dmitriy Ivanov [Tue, 16 Sep 2014 19:42:45 +0000 (19:42 +0000)]
am
2997ae83: Merge "Fix dlsym() to take into account RTLD_GLOBAL/LOCAL"
* commit '
2997ae83d55486ab86a6100265fa502eff721ce2':
Fix dlsym() to take into account RTLD_GLOBAL/LOCAL
Dmitriy Ivanov [Tue, 16 Sep 2014 19:42:44 +0000 (19:42 +0000)]
am
0b8f6d59: Merge "Add dlfcn_test to glibc test suite."
* commit '
0b8f6d592ac20ec81dbc96766123c67655f34842':
Add dlfcn_test to glibc test suite.
Calin Juravle [Tue, 16 Sep 2014 17:31:38 +0000 (17:31 +0000)]
Merge "Add benchmarks for pthread_rw_locks"
Calin Juravle [Tue, 16 Sep 2014 17:01:44 +0000 (18:01 +0100)]
Add benchmarks for pthread_rw_locks
Benchmarks for the following sequences:
1) pthread_rwlock_rdlock -> pthread_rwlock_unlock
2) pthread_rwlock_wrlock -> pthread_rwlock_unlock
Change-Id: I8d87d4d8afab8637ea7ff5d23a0b3a81d6d40835
Elliott Hughes [Tue, 16 Sep 2014 15:19:05 +0000 (15:19 +0000)]
Merge "Fix signal trampolines."
Dmitriy Ivanov [Tue, 16 Sep 2014 01:27:56 +0000 (01:27 +0000)]
Merge "Fix dlsym() to take into account RTLD_GLOBAL/LOCAL"
Dmitriy Ivanov [Tue, 16 Sep 2014 00:00:10 +0000 (17:00 -0700)]
Fix dlsym() to take into account RTLD_GLOBAL/LOCAL
Symbols from libraries opened with RTLD_LOCAL (default)
should not be visible via dlsym(RLTD_DEFAULT/RTLD_NEXT, .)
Bug:
17512583
Change-Id: I1758943081a67cf3d49ba5808e061b8251a91964
Dmitriy Ivanov [Mon, 15 Sep 2014 22:12:06 +0000 (22:12 +0000)]
Merge "Add dlfcn_test to glibc test suite."
Elliott Hughes [Wed, 10 Sep 2014 22:20:40 +0000 (15:20 -0700)]
Fix signal trampolines.
* LP32 should use sa_restorer too. gdb expects this, and future (>= 3.15) x86
kernels will apparently stop supporting the case where SA_RESTORER isn't
set.
* gdb and libunwind care about the exact instruction sequences, so we need to
modify the code slightly in a few cases to match what they're looking for.
* gdb also cares about the exact function names (for some architectures),
so we need to use __restore and __restore_rt rather than __sigreturn and
__rt_sigreturn.
* It's possible that we don't have a VDSO; dl_iterate_phdr shouldn't assume
that getauxval(AT_SYSINFO_EHDR) will return a non-null pointer.
This fixes unwinding through a signal handler in gdb for all architectures.
It doesn't fix libunwind for arm and arm64. I'll keep investigating that...
Bug:
17436734
Change-Id: Ic1ea1184db6655c5d96180dc07bcc09628e647cb
Dmitriy Ivanov [Mon, 15 Sep 2014 21:13:24 +0000 (14:13 -0700)]
Add dlfcn_test to glibc test suite.
Change-Id: I955e4f7dfcc23ea5c767f967b3532dc31663b876
Elliott Hughes [Mon, 15 Sep 2014 22:02:31 +0000 (22:02 +0000)]
am
95b0c6a9: Merge "POSIX says <signal.h> gets you ucontext_t."
* commit '
95b0c6a9407d7a4084d956e273ad1697550452d3':
POSIX says <signal.h> gets you ucontext_t.
Elliott Hughes [Mon, 15 Sep 2014 17:17:37 +0000 (17:17 +0000)]
Merge "POSIX says <signal.h> gets you ucontext_t."
Dan Albert [Sun, 14 Sep 2014 19:59:41 +0000 (19:59 +0000)]
am
2c581047: Merge "Fix filename in comment in cmath"
* commit '
2c58104718187ae99ea381a19ce8395b5349fded':
Fix filename in comment in cmath
Christopher Ferris [Sun, 14 Sep 2014 19:51:38 +0000 (19:51 +0000)]
am
027d2717: Pull input.h from v3.16.1 kernel headers.
* commit '
027d2717d067c3706f22bf84dc1226ede7c1566d':
Pull input.h from v3.16.1 kernel headers.
Dan Albert [Sun, 14 Sep 2014 19:33:43 +0000 (19:33 +0000)]
Merge "Fix filename in comment in cmath"
Christopher Ferris [Sun, 14 Sep 2014 19:08:37 +0000 (12:08 -0700)]
Pull input.h from v3.16.1 kernel headers.
Bug:
17407564
Change-Id: Idcfc40a7254605280e3d5474c61ae1ab7b2b7b51
m4tx [Sun, 14 Sep 2014 14:41:31 +0000 (16:41 +0200)]
Fix filename in comment in cmath
It looks like the file comment was copy-pasted from ctime. Fixed filename in comment to "math.h".
Change-Id: I27b0c2a7827076a91fc7b63913fad6eee4d6a79e
Signed-off-by: m4tx <m4tx@m4tx.pl>
Elliott Hughes [Sat, 13 Sep 2014 17:23:58 +0000 (17:23 +0000)]
am
85ef3b5b: Merge "Update NOTICE files."
* commit '
85ef3b5b80da353afa24d0ab21c35be01951e0b7':
Update NOTICE files.
Elliott Hughes [Sat, 13 Sep 2014 17:23:57 +0000 (17:23 +0000)]
am
ae51accf: Merge "Remove an unused file."
* commit '
ae51accf22a897eecda329202431faa11e0f6015':
Remove an unused file.
Elliott Hughes [Sat, 13 Sep 2014 17:01:07 +0000 (17:01 +0000)]
Merge "Update NOTICE files."
Elliott Hughes [Sat, 13 Sep 2014 17:00:27 +0000 (17:00 +0000)]
Merge "Remove an unused file."
Elliott Hughes [Sat, 13 Sep 2014 16:42:41 +0000 (09:42 -0700)]
Update NOTICE files.
Change-Id: I37a2c297b318b8e1b1ce8b29a7ccc58ba214708a
Elliott Hughes [Sat, 13 Sep 2014 16:24:28 +0000 (09:24 -0700)]
Remove an unused file.
Also remove a reference to it and two other files that have already
been removed in a script --- these files were problematic because they
weren't UTF-8.
Change-Id: Ibf597bac1903c34d8d0fe0a09615c42f24d4f23d
Elliott Hughes [Sat, 13 Sep 2014 03:04:40 +0000 (20:04 -0700)]
POSIX says <signal.h> gets you ucontext_t.
POSIX also says that ucontext_t's uc_sigmask has type sigset_t.
MIPS64 strace needs this.
The #define is to keep chromium off our lawn; otherwise it tries to redefine
all this stuff itself. We should probably clean that up and remove the #define.
Change-Id: I765d6a765a33dca7db33cd8c40f408dc98e5c95b
Elliott Hughes [Sat, 13 Sep 2014 00:16:26 +0000 (00:16 +0000)]
am
73d2059f: Merge "Explain why clock(3) isn\'t broken."
* commit '
73d2059f9b3f53446e25d800d64a86efb3bf3f9f':
Explain why clock(3) isn't broken.
Elliott Hughes [Fri, 12 Sep 2014 23:52:13 +0000 (23:52 +0000)]
Merge "Explain why clock(3) isn't broken."
Elliott Hughes [Fri, 12 Sep 2014 23:49:31 +0000 (23:49 +0000)]
am
21451f5b: Merge "Get new coshl, sinhl, and tanhl implementations from upstream."
* commit '
21451f5bf65ecaa00c9f3b7ac721738b97f41599':
Get new coshl, sinhl, and tanhl implementations from upstream.
Elliott Hughes [Fri, 12 Sep 2014 23:33:37 +0000 (16:33 -0700)]
Explain why clock(3) isn't broken.
Bug:
17441123
Change-Id: I6ee9b7f54bab55b1a8760ce9bcaaa6eab1dcc492
Elliott Hughes [Fri, 12 Sep 2014 23:13:43 +0000 (23:13 +0000)]
Merge "Get new coshl, sinhl, and tanhl implementations from upstream."
Elliott Hughes [Fri, 12 Sep 2014 23:12:45 +0000 (23:12 +0000)]
am
a40a16ea: Merge "Add a test for pthread_gettid_np."
* commit '
a40a16eab13b770c3ce80f4e4241dfcd9518022f':
Add a test for pthread_gettid_np.
Elliott Hughes [Fri, 12 Sep 2014 23:09:40 +0000 (16:09 -0700)]
Get new coshl, sinhl, and tanhl implementations from upstream.
Change-Id: I92f9cd53d12efb2e0f4f8a9590b9fe42398233f6
Elliott Hughes [Fri, 12 Sep 2014 22:52:38 +0000 (22:52 +0000)]
Merge "Add a test for pthread_gettid_np."
Elliott Hughes [Fri, 12 Sep 2014 21:43:07 +0000 (14:43 -0700)]
Add a test for pthread_gettid_np.
Bug:
17475191
Change-Id: I8c6a2f4ceba2d24a77ae9a21269edce523aea421
Elliott Hughes [Fri, 12 Sep 2014 21:34:56 +0000 (21:34 +0000)]
am
69c2d7dc: Merge "Sync libm with upstream."
* commit '
69c2d7dc6434c7e7e9bd22797deb7f727199ab0c':
Sync libm with upstream.
Elliott Hughes [Fri, 12 Sep 2014 21:07:48 +0000 (21:07 +0000)]
Merge "Sync libm with upstream."
Elliott Hughes [Fri, 12 Sep 2014 21:00:02 +0000 (14:00 -0700)]
Sync libm with upstream.
Change-Id: I8ac8ee52122ee19a2e423c3211092023cb4896eb
Elliott Hughes [Fri, 12 Sep 2014 20:08:45 +0000 (20:08 +0000)]
am
e39e47c6: Merge "Remove "private/bionic_pthread.h"."
* commit '
e39e47c6b377170d696c6b9b5b523a28c1382ca4':
Remove "private/bionic_pthread.h".
Dmitriy Ivanov [Fri, 12 Sep 2014 20:08:44 +0000 (20:08 +0000)]
am
d74aa580: Merge "Fix unload of recursively linked library"
* commit '
d74aa580354037b9972524e9d654c0a336974838':
Fix unload of recursively linked library
Dmitriy Ivanov [Fri, 12 Sep 2014 20:08:42 +0000 (20:08 +0000)]
am
aad92067: Merge "Reformatting"
* commit '
aad92067bf4eecda81a4c331ee4dec70483c5104':
Reformatting
Dmitriy Ivanov [Fri, 12 Sep 2014 20:08:41 +0000 (20:08 +0000)]
am
66bbf159: Merge "Refactoring: C++11 style DISABLE_ bionic marcos"
* commit '
66bbf1595c0fc25d4bc47457d8020b11e135996d':
Refactoring: C++11 style DISABLE_ bionic marcos
Elliott Hughes [Fri, 12 Sep 2014 18:43:05 +0000 (18:43 +0000)]
Merge "Remove "private/bionic_pthread.h"."
Elliott Hughes [Fri, 12 Sep 2014 18:35:05 +0000 (11:35 -0700)]
Remove "private/bionic_pthread.h".
Bug:
17476168
Change-Id: Id642987e641de81e914a28daea4ffe9d11e090ed
Dmitriy Ivanov [Fri, 12 Sep 2014 16:55:42 +0000 (16:55 +0000)]
Merge "Fix unload of recursively linked library"
Dmitriy Ivanov [Fri, 12 Sep 2014 16:50:29 +0000 (16:50 +0000)]
Merge "Reformatting"
Dmitriy Ivanov [Fri, 12 Sep 2014 16:50:04 +0000 (16:50 +0000)]
Merge "Refactoring: C++11 style DISABLE_ bionic marcos"
Dmitriy Ivanov [Fri, 12 Sep 2014 16:43:13 +0000 (09:43 -0700)]
Reformatting
No functional changes.
Change-Id: If71775e5fc207e91ebd31ba3c5f9d2c13dc8dada
Elliott Hughes [Fri, 12 Sep 2014 05:59:18 +0000 (05:59 +0000)]
am
8d8a789c: Merge "Expose __swsetup for LP32 binary compatibility."
* commit '
8d8a789c49ffb6b71e4b8f34df937cfaaff86e40':
Expose __swsetup for LP32 binary compatibility.
Dmitriy Ivanov [Fri, 12 Sep 2014 05:59:16 +0000 (05:59 +0000)]
am
6487f0d8: Merge "Add IFUNC support for arm64 and IRELATIVE reloc"
* commit '
6487f0d8341b00b476995e0174dc92e5ae8efbbe':
Add IFUNC support for arm64 and IRELATIVE reloc
Elliott Hughes [Fri, 12 Sep 2014 05:59:16 +0000 (05:59 +0000)]
am
5920a9ad: Merge "Add pthread_gettid_np and re-expose __get_thread for LP32."
* commit '
5920a9ad5fd9f8d515c683e164f946bcfef1f1c3':
Add pthread_gettid_np and re-expose __get_thread for LP32.
Elliott Hughes [Fri, 12 Sep 2014 05:48:54 +0000 (05:48 +0000)]
am
7e00b44e: Expose __swsetup for LP32 binary compatibility.
* commit '
7e00b44e80d6e38b8ab86d0ebc86b666c0ac2ef6':
Expose __swsetup for LP32 binary compatibility.
Elliott Hughes [Fri, 12 Sep 2014 05:48:52 +0000 (05:48 +0000)]
am
27efc488: Add pthread_gettid_np and re-expose __get_thread for LP32.
* commit '
27efc48814b8153c55cbcd0af5d9add824816e69':
Add pthread_gettid_np and re-expose __get_thread for LP32.
Dmitriy Ivanov [Tue, 9 Sep 2014 17:21:42 +0000 (10:21 -0700)]
Fix unload of recursively linked library
Expanded test for recursive libs. Fixed bug with unnecessary
soinfo_free of already loaded library.
Change-Id: I2cc19f2650c8b12a35feeac127ef608ebba44d88
Elliott Hughes [Fri, 12 Sep 2014 01:27:44 +0000 (01:27 +0000)]
Merge "Expose __swsetup for LP32 binary compatibility."
Elliott Hughes [Thu, 11 Sep 2014 23:41:11 +0000 (16:41 -0700)]
Expose __swsetup for LP32 binary compatibility.
(cherry-pick of
7e00b44e80d6e38b8ab86d0ebc86b666c0ac2ef6.)
Bug:
17476127
Change-Id: I0ef1355ac913d782c268a638f88642d6cfc236c2
Dmitriy Ivanov [Fri, 12 Sep 2014 00:40:11 +0000 (00:40 +0000)]
Merge "Add IFUNC support for arm64 and IRELATIVE reloc"
Elliott Hughes [Thu, 11 Sep 2014 23:41:11 +0000 (16:41 -0700)]
Expose __swsetup for LP32 binary compatibility.
Bug:
17476127
Change-Id: I0ef1355ac913d782c268a638f88642d6cfc236c2
Dmitriy Ivanov [Thu, 11 Sep 2014 22:16:03 +0000 (15:16 -0700)]
Add IFUNC support for arm64 and IRELATIVE reloc
There are number of changes in the way IFUNC related relocations are done:
1. IRELATIVE relocations are now supported for x86/x86_64 and arm64.
2. IFUNC relocations are now relying on static linker to generate
them in correct order - this removes necessety of additional
relocation pass for ifuncs.
3. Related to 2: rela?.dyn relocations are preformed before .plt ones.
4. Ifunc are resolved on symbol lookup this approach allowed to avoid
mprotect(PROT_WRITE) call on r-x program segments.
Bug:
17399706
Bug:
17177284
Change-Id: I414dd3e82bd47cc03442c5dfc7c279949aec51ed
Elliott Hughes [Thu, 11 Sep 2014 23:25:46 +0000 (23:25 +0000)]
Merge "Add pthread_gettid_np and re-expose __get_thread for LP32."
Elliott Hughes [Thu, 11 Sep 2014 23:11:43 +0000 (16:11 -0700)]
Add pthread_gettid_np and re-expose __get_thread for LP32.
A lot of third-party code calls the private __get_thread symbol,
often as part of a backport of bionic's pthread_rwlock implementation.
Hopefully this will go away for LP64 (since you're guaranteed the
real implementation there), but there are still APIs that take a tid
and no way to convert between a pthread_t and a tid. pthread_gettid_np
is a public API for that. To aid the transition, make __get_thread
available again for LP32.
(cherry-pick of
27efc48814b8153c55cbcd0af5d9add824816e69.)
Bug:
14079438
Change-Id: I43fabc7f1918250d31d4665ffa4ca352d0dbeac1
Elliott Hughes [Thu, 11 Sep 2014 23:11:43 +0000 (16:11 -0700)]
Add pthread_gettid_np and re-expose __get_thread for LP32.
A lot of third-party code calls the private __get_thread symbol,
often as part of a backport of bionic's pthread_rwlock implementation.
Hopefully this will go away for LP64 (since you're guaranteed the
real implementation there), but there are still APIs that take a tid
and no way to convert between a pthread_t and a tid. pthread_gettid_np
is a public API for that. To aid the transition, make __get_thread
available again for LP32.
Bug:
14079438
Change-Id: I43fabc7f1918250d31d4665ffa4ca352d0dbeac1
Elliott Hughes [Thu, 11 Sep 2014 18:32:24 +0000 (18:32 +0000)]
am
9e833bf0: Fix mips __fadvise64.S build failure.
* commit '
9e833bf0cf2c5bc0e6b65e4d96aa4f2b33113771':
Fix mips __fadvise64.S build failure.