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

Reply via email to