OSDN Git Service

bfd/ld: handle ABI prefixes in version scripts
authorvapier <vapier>
Tue, 15 Feb 2011 02:03:43 +0000 (02:03 +0000)
committervapier <vapier>
Tue, 15 Feb 2011 02:03:43 +0000 (02:03 +0000)
commitd9639e9ee0e7bea9fee6f74e7966097c6f3e5277
tree9b019a3f79d7e3db8eb68d912f37a6ce452a61f9
parentf3dd463374c517a025af7c2e2f87a81d18fb1ffd
bfd/ld: handle ABI prefixes in version scripts

The default language in version scripts is supposed to be C, but no
symbol demangling is performed on the symbols by default.  This makes
targets with a symbol prefix to fail with most version scripts out
there.  So strip away this prefix by default.

This fixes many tests (real world and ld's testsuite) for Blackfin
targets and doesn't seem to cause regressions for x86_64.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
bfd/ChangeLog
bfd/elflink.c
ld/ChangeLog
ld/ldlang.c