From: Simon Baldwin Date: Thu, 9 Jun 2011 11:27:40 +0000 (+0000) Subject: extract_symvers.in: Handle processor/OS specific or unknown symbol binding strings... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd27d2fadd466c13f64ca412cf35e3691285d75e;p=gcc.git 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 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 97d4b993fe0..fb68e07371b 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 a2ff3c40a44..99dd11152a1 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")