diff options
author | Simon Baldwin <simonb@google.com> | 2011-06-09 11:27:40 +0000 |
---|---|---|
committer | Simon Baldwin <simonb@gcc.gnu.org> | 2011-06-09 11:27:40 +0000 |
commit | dd27d2fadd466c13f64ca412cf35e3691285d75e (patch) | |
tree | a04207e5202a20ec8a00e50203c66acdf355bb3a /libstdc++-v3 | |
parent | 9b3a81dacde05c5e458527e63a8ecfe94963bf7e (diff) | |
download | gcc-dd27d2fadd466c13f64ca412cf35e3691285d75e.zip gcc-dd27d2fadd466c13f64ca412cf35e3691285d75e.tar.gz gcc-dd27d2fadd466c13f64ca412cf35e3691285d75e.tar.bz2 |
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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rwxr-xr-x | libstdc++-v3/scripts/extract_symvers.in | 3 |
2 files changed, 8 insertions, 0 deletions
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 <simonb@google.com> + + * scripts/extract_symvers.in: Handle processor/OS specific or + unknown symbol binding strings from readelf. + 2011-06-09 Paolo Carlini <paolo.carlini@oracle.com> * 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/ \[<other>: [A-Fa-f0-9]*\] //' -e '/\.dynsym/,/^$/p;d' |\ egrep -v ' (LOCAL|UND) ' |\ + sed -e 's/ <processor specific>: / <processor_specific>:_/g' |\ + sed -e 's/ <OS specific>: / <OS_specific>:_/g' |\ + sed -e 's/ <unknown>: / <unknown>:_/g' |\ awk '{ if ($4 == "FUNC" || $4 == "NOTYPE") printf "%s:%s\n", $4, $8; else if ($4 == "OBJECT" || $4 == "TLS") |