]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elflink.c
bfd/ld: handle ABI prefixes in version scripts
authorMike Frysinger <vapier@gentoo.org>
Mon, 14 Feb 2011 17:03:45 +0000 (17:03 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 14 Feb 2011 17:03:45 +0000 (17:03 +0000)
commit93252b1cf41a1638dc1c4a3d9688f2dbb5963504
tree456755cee65d44c5321901f68825006bb4bdd876
parent6bfc80c7385fe08f025e6e774655bc90441e2254
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