bfd/ld: handle ABI prefixes in version scripts
commit7492f8e608331acc9ae6f1547052d200898938c6
authorMike Frysinger <vapier@gentoo.org>
Mon, 14 Feb 2011 17:03:43 +0000 (14 17:03 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 14 Feb 2011 17:03:43 +0000 (14 17:03 +0000)
tree91115b8e236d069fd084eac64a62c2ab6106bcbf
parentfdbc4035db118d5a46d2c8361f8eb441dd5a8021
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