diff options
author | David 'Digit' Turner <digit@google.com> | 2010-08-27 08:19:19 -0700 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2010-08-27 08:19:19 -0700 |
commit | 6a51defa034a1c033ed01f7de444c0a4fc615249 (patch) | |
tree | 87b93dbfe8ab9c61d80d4a6036c66b0982b72c73 /libc/docs/CHANGES.TXT | |
parent | 22f1e3d4fae7d45cc439da94690d786ed44756fb (diff) | |
download | bionic-6a51defa034a1c033ed01f7de444c0a4fc615249.zip bionic-6a51defa034a1c033ed01f7de444c0a4fc615249.tar.gz bionic-6a51defa034a1c033ed01f7de444c0a4fc615249.tar.bz2 |
Fix __get_tls() in static C library to use kernel helpers.
This is needed to fix gdbserver's handling of threaded programs,
among other things.
Change-Id: I823387c602cef9891532da946a01db14be780ab0
Diffstat (limited to 'libc/docs/CHANGES.TXT')
-rw-r--r-- | libc/docs/CHANGES.TXT | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/docs/CHANGES.TXT b/libc/docs/CHANGES.TXT index d1d82de..4d094d0 100644 --- a/libc/docs/CHANGES.TXT +++ b/libc/docs/CHANGES.TXT @@ -73,6 +73,13 @@ Differences between current and Android 2.2: - <dlfcn.h>: fixed dlopen() implementation to support dlopen(NULL, ...). This allows one to look at the dynamic symbols exported by an executable. +- <private/bionic_tls.h>: use kernel helper functions for static versions + of the C library. This is necessary because we don't know where the corresponding + machine code is going to run, and the optimization for __get_tls() might + not match the features of the target device where we run a static executable + linked to the C library. This fixes one of the bug that explains why gdbserver + didn't work well with threads. + ------------------------------------------------------------------------------- Differences between Android 2.2. and Android 2.1: |