From: Elena Zannoni <ezannoni@redhat.com>
To: Jim Blandy <jimb@redhat.com>
Cc: Elena Zannoni <ezannoni@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: [PATCH/RFC] TLS support part 1
Date: Wed, 02 Oct 2002 18:49:00 -0000 [thread overview]
Message-ID: <15771.41341.316069.924362@localhost.redhat.com> (raw)
In-Reply-To: <vt2ofac8ghq.fsf@zenia.red-bean.com>
Jim Blandy writes:
>
> Elena Zannoni <ezannoni@redhat.com> writes:
> > @@ -611,8 +611,16 @@ enum address_class
> > target-specific method. This is used only by hppa. */
> >
> > LOC_HP_THREAD_LOCAL_STATIC,
> > +
> > + /* Value is at a thread-specific location calculated by a
> > + target-specific method. SYMBOL_OBJFILE gives the object file
> > + in which the symbol is defined; the symbol's value is the
> > + o
> > + /* Value is at a thread-specific location calculated by a
> > + target-specific method. SYMBOL_OBJFILE gives the object file
> > + in which the symbol is defined; the symbol's value is the
> > + offset into that objfile's thread-local storage for the current
> > + thread. */
> > +
> > LOC_THREAD_LOCAL_STATIC,
> >
> > /* The variable does not actually exist in the program.
>
> Busted patch?
>
Yeah, I copied the diff into this email....silly fingers.
> > @@ -684,6 +692,12 @@ struct symbol
> > {
> > /* Used by LOC_BASEREG and LOC_BASEREG_ARG. */
> > short basereg;
> > +
> > + /* The objfile in which this symbol is defined. To find a
> > + thread-local variable (e.g., a variable declared with the
> > + `__thread' storage class), we may need to know which object
> > + file it's in. */
> > + struct objfile *objfile;
> > }
> > aux_value;
>
> I think probably every element of aux_value should have a comment
> indicating which sorts of address classes it's valid for; this comment
> mentions thread-local variables, but it should probably be more
> explicit about the fact that objfile is valid only for
> LOC_THREAD_LOCAL_STATIC.
>
Yes, that would be a good idea.
> (I think the comment in your patch here comes directly from my early
> patch, so I'm complaining about my own writing here. Oh well.)
yes :-) split personality disorder?
Elena
next prev parent reply other threads:[~2002-10-03 1:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-01 20:06 Elena Zannoni
2002-10-02 18:37 ` Jim Blandy
2002-10-02 18:49 ` Elena Zannoni [this message]
2002-10-21 13:39 ` Elena Zannoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15771.41341.316069.924362@localhost.redhat.com \
--to=ezannoni@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=jimb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox