OSDN Git Service

Set x86 TLS limit to 0xfffff, not PAGE_SIZE.
authorElliott Hughes <enh@google.com>
Wed, 10 Feb 2016 06:44:16 +0000 (22:44 -0800)
committerElliott Hughes <enh@google.com>
Wed, 10 Feb 2016 06:44:16 +0000 (22:44 -0800)
commit01b85d5df3744449471b327d7afd6c1d5854bd11
tree826bb1a5645bcfc2198815af06e35bd0573c4260
parent4c3cf4ad4d0b04d36b9e2ec3efeb0147f9c02dd3
Set x86 TLS limit to 0xfffff, not PAGE_SIZE.

Not least because we set limit_in_pages to 1. PAGE_SIZE pages was never
anyone's intention.

Change-Id: Ide867f44a2fb20d4d5d0cd67ced468e8665a0193
libc/Android.mk
libc/arch-x86/bionic/__set_tls.cpp [moved from libc/arch-x86/bionic/__set_tls.c with 92% similarity]
libc/bionic/pthread_create.cpp