From 6a51defa034a1c033ed01f7de444c0a4fc615249 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Fri, 27 Aug 2010 08:19:19 -0700 Subject: 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 --- libc/docs/CHANGES.TXT | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libc/docs/CHANGES.TXT') 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: - : fixed dlopen() implementation to support dlopen(NULL, ...). This allows one to look at the dynamic symbols exported by an executable. +- : 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: -- cgit v1.1