This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RS6000] Fix PR 16343


On Sat, Nov 27, 2004 at 09:26:21PM +1030, Alan Modra wrote:
> Instead of the thread-local test here (which is also needed by other
> targets with small data) we could change default_encode_section_info to
> 
>   if (TREE_CODE (decl) == VAR_DECL && DECL_THREAD_LOCAL (decl))
>     flags |= decl_tls_model (decl) << SYMBOL_FLAG_TLS_SHIFT;
>   else if (targetm.in_small_data_p (decl))
>     flags |= SYMBOL_FLAG_SMALL;

I would approve this change...


r~


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