summaryrefslogtreecommitdiff
path: root/libstdc++-v3/scripts
diff options
context:
space:
mode:
authorsimonb <simonb@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-09 11:27:40 +0000
committersimonb <simonb@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-09 11:27:40 +0000
commit738b9e08c6d949fcad7482ac8ac660a738a2758f (patch)
treea04207e5202a20ec8a00e50203c66acdf355bb3a /libstdc++-v3/scripts
parente98125c936681ae852ce1ff48c49ff8a8578a0f8 (diff)
downloadgcc-738b9e08c6d949fcad7482ac8ac660a738a2758f.tar.gz
* scripts/extract_symvers.in: Handle processor/OS specific or
unknown symbol binding strings from readelf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174841 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/scripts')
-rwxr-xr-xlibstdc++-v3/scripts/extract_symvers.in3
1 files changed, 3 insertions, 0 deletions
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/ \[<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")