------- Comment #10 from bmei at broadcom dot com 2010-05-24 13:29 ------- annotating functions with externally_visible sounds a bit difficult to maintain. Programmer needs to know whether a function is used outside of LTO objects. This can change over time and extra efforts are needed to keep it correct. It would be better if GCC can derive that info with -fwhole-program, whether it is deal with LTO-object file only or LTO/Regular object files, since it should have all the symbol reference information by then.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41376