This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New pthreads library


> This is pretty cool, but it won't work with -fpic.  There 
> we'll try something like
> 
> 	movl	%gs:0@GOT(%ebx),%eax
> 	movl	4(%eax), %eax

Nag dab it!  I knew there was something.  Oh well.
I don't suppose it would be worth adding __attribute__((segment ("%gs")))
on extern decls.  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]