Also changed the (void *) to (void **) variable in tls_address() here
(the same change has already been done in support/TLS.h). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2392 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e65350ba68
commit
dd8e42a8b4
|
@ -41,7 +41,7 @@ tls_get(int32 index)
|
||||||
void **
|
void **
|
||||||
tls_address(int32 index)
|
tls_address(int32 index)
|
||||||
{
|
{
|
||||||
void *ret;
|
void **ret;
|
||||||
__asm__ __volatile__ (
|
__asm__ __volatile__ (
|
||||||
"movl %%fs:0, %%eax \n\t"
|
"movl %%fs:0, %%eax \n\t"
|
||||||
"leal (%%eax, %%edx, 4), %%eax \n\t"
|
"leal (%%eax, %%edx, 4), %%eax \n\t"
|
||||||
|
|
Loading…
Reference in New Issue