------- Additional Comments From ian at airs dot com 2010-09-07 13:19 ------- BSD ar does have a symbol table. All versions of ar since about 1977 have a symbol table.
It would be possible to have gold scan an entire archive if there is no symbol table. The problem here is that there will be a symbol table. It will just be empty, or relatively empty (what does nm -s report for this archive?). I don't think it would be entirely reasonable to have gold simply assume that an archive with an empty symbol table might contain objects with LTO information. One possibility might be to extend the plugin interface to let the plugin choose to handle archives itself. Then the gcc LTO plugin would be able to choose to handle archives under some conditions. Perhaps when gcc generates an object with LTO symbol information but no real symbol information it could generate a common symbol with some magic name which would wind up in the archive symbol table. The plugin could then look for that magic name and change the way that the archive is handled. Somehow. -- http://sourceware.org/bugzilla/show_bug.cgi?id=11988 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils