bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] linuxthreads/sysdeps/i386/useldt.h


From: Ulrich Drepper
Subject: Re: [PATCH] linuxthreads/sysdeps/i386/useldt.h
Date: 24 Feb 2001 16:14:38 -0800
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef)

Roland McGrath <address@hidden> writes:

> What is wrong with using:
> 
> extern struct _pthread_descr_struct _mydata_ __asm__("%gs:0");
> #define THREAD_GETMEM(d, mem) (_mydata.mem)

It doesn't work, try it (you made the same suggestion back when I've
introduced this code).

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]