Issues of the latest trunk with LTO merges

Daniel Jacobowitz drow@false.org
Mon Oct 12 16:35:00 GMT 2009


On Mon, Oct 12, 2009 at 08:09:48AM -0700, Bingfeng Mei wrote:
> Richard,
> Doesn't REGISTER_TARGET_PRAGMAS need to call c_register_pragma, etc, if we
> want to specify target-specific pragma? It becomes part of libbackend.a, 
> which is linked to lto1. One solution I see is to put them into a separate
> file so the linker won't produce undefined references when they are not
> actually used by lto1. 

Yes.  Take a look at config/arm/arm-c.c, which does not go into
libbackend.a.


-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gcc mailing list