------- Comment #6 from pinskia at gcc dot gnu dot org 2007-08-24 16:16 ------- So one goes the GOT (the weakref) while the other does not (straight call).
I am guess this is really a bug in binutils if a bug at all. Though two different relocs for the same symbol should be ok. >and thusly changes its object-modification behavior for *all* invocations of >the function. This is a bug in the linker. You should report this to binutils (http://sourceware.org/bugzilla/ ). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33169