------- Comment #2 from andi-gcc at firstfloor dot org 2010-07-19 16:31 ------- Not sure I understand the comment.
The case I've been looking at is ld -r (without a LTO code generation stage) to combine existing object and then using gold for the final linking/LTO code generation based on the combined objects. For me it seems like gold handles this correctly (with my patches) Your scenario sounds like ld -r with code generation? That's probably harder. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44992