aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2009-01-13 09:30:12 +0100
committerUros Bizjak <uros@gcc.gnu.org>2009-01-13 09:30:12 +0100
commit616ea7ac83af09857863c91efa2e0379dfa6f152 (patch)
tree22e5f55f2dff0f5d60b3b02eee80a965f7fdf563 /libstdc++-v3
parent26d5bf5baa30dc5e3bdc82176ff5b678620828bc (diff)
downloadgcc-616ea7ac83af09857863c91efa2e0379dfa6f152.zip
gcc-616ea7ac83af09857863c91efa2e0379dfa6f152.tar.gz
gcc-616ea7ac83af09857863c91efa2e0379dfa6f152.tar.bz2
* scripts/extract_symvers: Escape [ and ] brackets.
From-SVN: r143333
Diffstat (limited to 'libstdc++-v3')
-rwxr-xr-xlibstdc++-v3/scripts/extract_symvers2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/scripts/extract_symvers b/libstdc++-v3/scripts/extract_symvers
index d26dfdf..d77395d 100755
--- a/libstdc++-v3/scripts/extract_symvers
+++ b/libstdc++-v3/scripts/extract_symvers
@@ -53,7 +53,7 @@ export LANG
tmp=extract.$$
${readelf} ${lib} |\
-sed -e 's/ [<other>: [A-Fa-f0-9]*] //' -e '/\.dynsym/,/^$/p;d' |\
+sed -e 's/ \[<other>: [A-Fa-f0-9]*\] //' -e '/\.dynsym/,/^$/p;d' |\
egrep -v ' (LOCAL|UND) ' |\
awk '{ if ($4 == "FUNC" || $4 == "NOTYPE")
printf "%s:%s\n", $4, $8;