https://sourceware.org/bugzilla/show_bug.cgi?id=16566

--- Comment #10 from jon at beniston dot com ---
> Ah - but if you remove the "-flto" option it works...

Without -flto, func is a global symbol.

> The problem is that the LTO compiler moves the func() code into its own 
> section,

I guess that may be target/gcc version specific. I just see it being changed
from a global to a local in .text.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to