avoid random symbols for many targets

Mark Mitchell mark@codesourcery.com
Thu Sep 7 18:40:00 GMT 2006


Geoffrey Keating wrote:
> With this patch, GCC will never generate any kind of random symbol on
> targets with one_only, ctor/dtor support, and an eh_frame section.
> 
> The key parts, of course, are that now objects in or referring to the
> anonymous namespace are 'static', and so are constructor/destructor
> functions if the target has support.
> 
> What do people think?  Dejagnu testing passed, so I plan to queue it
> up for 4.3.

Looks good to me, too.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list