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] |
> Roland McGrath <roland@frob.com> writes:
>
> > Have you tried it?
>
> Yes, I did. And for my test case I got something like
>
> movl $%gs:0, %eax
> movl 4(%eax), %eax
Ah, yes. That is what you will get for:
extern struct foo seg asm("%gs:0");
... = &seg;
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |