Re: [PATCH] Section anchors and thread-local storage

2012-11-27 Thread David Edelsohn
On Tue, Nov 27, 2012 at 3:17 PM, Richard Sandiford wrote: > David Edelsohn writes: >> Below is the implementation as a new target hook. > > Looks good to me. The documentation string needs filling in though, > with a hook placeholder in tm.texi.in. Yes. Thanks, David

Re: [PATCH] Section anchors and thread-local storage

2012-11-27 Thread Richard Sandiford
David Edelsohn writes: > Below is the implementation as a new target hook. Looks good to me. The documentation string needs filling in though, with a hook placeholder in tm.texi.in. Richard

Re: [PATCH] Section anchors and thread-local storage

2012-11-26 Thread David Edelsohn
On Mon, Nov 26, 2012 at 3:26 AM, Richard Sandiford wrote: > David Edelsohn writes: >> I have been working to enable native thread-local storage on AIX. One >> problem I encountered is the AIX assembler has difficulty with the >> anchor symbol for TLS CSECTs. While the section anchors machinery >

Re: [PATCH] Section anchors and thread-local storage

2012-11-26 Thread Richard Sandiford
David Edelsohn writes: > I have been working to enable native thread-local storage on AIX. One > problem I encountered is the AIX assembler has difficulty with the > anchor symbol for TLS CSECTs. While the section anchors machinery > uses a separate pool for TLS entries, should section anchor blo

Re: [PATCH] Section anchors and thread-local storage

2012-11-25 Thread David Edelsohn
On Sun, Nov 25, 2012 at 3:07 PM, Jakub Jelinek wrote: > Do you want to handle TLS_MODEL_EMULATED that way? If not, the test > should be DECL_THREAD_LOCAL_P (decl) (I believe you want that), > if yes, perhaps DECL_TLS_MODEL (decl) != TLS_MODEL_NONE. Thanks for pointing this out. I should have u

Re: [PATCH] Section anchors and thread-local storage

2012-11-25 Thread Jakub Jelinek
On Sun, Nov 25, 2012 at 02:02:05PM -0500, David Edelsohn wrote: > I have been working to enable native thread-local storage on AIX. One > problem I encountered is the AIX assembler has difficulty with the > anchor symbol for TLS CSECTs. While the section anchors machinery > uses a separate pool fo