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
This commit is contained in:
Simon Baldwin 2011-06-09 11:27:40 +00:00 committed by Simon Baldwin
parent 9b3a81dacd
commit dd27d2fadd
2 changed files with 8 additions and 0 deletions

View File

@ -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,

View File

@ -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")