OSDN Git Service

* scripts/extract_symvers: Escape [ and ] brackets.
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2009 08:30:12 +0000 (08:30 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2009 08:30:12 +0000 (08:30 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143333 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/scripts/extract_symvers

index d26dfdf..d77395d 100755 (executable)
@@ -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;