Index: ld/plugin.c =================================================================== RCS file: /cvs/src/src/ld/plugin.c,v retrieving revision 1.3 diff -p -u -r1.3 plugin.c --- ld/plugin.c 15 Oct 2010 16:21:41 -0000 1.3 +++ ld/plugin.c 17 Oct 2010 15:02:27 -0000 @@ -417,7 +417,7 @@ get_symbols (const void *handle, int nsy if (syms[n].def == LDPK_UNDEF || syms[n].def == LDPK_WEAKUNDEF || syms[n].def == LDPK_COMMON) { - asection *owner_sec = (syms[n].def == LDPK_COMMON) + asection *owner_sec = (blhe->type == bfd_link_hash_common) ? blhe->u.c.p->section : blhe->u.def.section; if (owner_sec->owner == link_info.output_bfd)