------- Comment #3 from andi-gcc at firstfloor dot org 2010-06-10 12:58 ------- On the link stage it's apparently not ignored and it fixes the weak problem.
So just whatever weak magic -fwhole-program does would need to be done when it's not enabled too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44463