Hi,
also I just became aware that this patch hits the following bug of gold
http://sourceware.org/bugzilla/show_bug.cgi?id=14342
It makes gcc.dg/tree-prof/crossmodule-indircall-1.c fail with the bogus
diagnostic on TLS and non-TLS use of the same symbol.  I attached the
details into the PR.  GNU-LD works.

I am not sure if I can workaround this problem except for convincing users to
always use -fno-lto with -fprofile-generate.  Shall we fix it in mainline
binutils + document that earlier binutils are broken with -fporfile-generate
-flto?

Honza

Reply via email to