[lto][patch] Really fix builtins this time

Rafael Espindola espindola@google.com
Wed Dec 31 18:51:00 GMT 2008


The problem that some builtins (nextafter for example) should be
present is the symbol table. Others (like __builtin_frame_address)
should not. This patch fixes the problem by using the same function
that assemble_external_real uses to select what should be in the
symbol table.

2008-12-31  Rafael Avila de Espindola  <espindola@google.com>

	* lto-section-out.c (write_symbol_vec): Use incorporeal_function_p.
	* tree.h (incorporeal_function_p): New.
	* varasm.c (incorporeal_function_p): Not static anymore.
Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.patch
Type: text/x-patch
Size: 1746 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081231/03421b27/attachment.bin>


More information about the Gcc-patches mailing list