From dd27d2fadd466c13f64ca412cf35e3691285d75e Mon Sep 17 00:00:00 2001 From: Simon Baldwin Date: Thu, 9 Jun 2011 11:27:40 +0000 Subject: extract_symvers.in: Handle processor/OS specific or unknown symbol binding strings from readelf. * scripts/extract_symvers.in: Handle processor/OS specific or unknown symbol binding strings from readelf. From-SVN: r174841 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/scripts/extract_symvers.in | 3 +++ 2 files changed, 8 insertions(+) (limited to 'libstdc++-v3') diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 97d4b99..fb68e07 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2011-06-09 Simon Baldwin + + * scripts/extract_symvers.in: Handle processor/OS specific or + unknown symbol binding strings from readelf. + 2011-06-09 Paolo Carlini * include/std/type_traits (__is_copy_assignable_impl, diff --git a/libstdc++-v3/scripts/extract_symvers.in b/libstdc++-v3/scripts/extract_symvers.in index a2ff3c4..99dd111 100755 --- a/libstdc++-v3/scripts/extract_symvers.in +++ b/libstdc++-v3/scripts/extract_symvers.in @@ -52,6 +52,9 @@ SunOS) ${readelf} ${lib} |\ sed -e 's/ \[: [A-Fa-f0-9]*\] //' -e '/\.dynsym/,/^$/p;d' |\ egrep -v ' (LOCAL|UND) ' |\ + sed -e 's/ : / :_/g' |\ + sed -e 's/ : / :_/g' |\ + sed -e 's/ : / :_/g' |\ awk '{ if ($4 == "FUNC" || $4 == "NOTYPE") printf "%s:%s\n", $4, $8; else if ($4 == "OBJECT" || $4 == "TLS") -- cgit v1.1