reply from upstream: http://sourceware.org/bugzilla/show_bug.cgi?id=10518 The linker script shown has two global wildcard matches. As the ld info doc says, this is slightly crazy. They both match "test_new", so which one should ld choose? The most specific match? How do you do that in general? eg. is "tes*" a better match than "*new" for "test_new"? (If we make a special case for "*", why stop there?)