mirror of git://gcc.gnu.org/git/gcc.git
* scripts/extract_symvers: Escape [ and ] brackets.
From-SVN: r143333
This commit is contained in:
parent
26d5bf5baa
commit
616ea7ac83
|
|
@ -53,7 +53,7 @@ export LANG
|
||||||
tmp=extract.$$
|
tmp=extract.$$
|
||||||
|
|
||||||
${readelf} ${lib} |\
|
${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) ' |\
|
egrep -v ' (LOCAL|UND) ' |\
|
||||||
awk '{ if ($4 == "FUNC" || $4 == "NOTYPE")
|
awk '{ if ($4 == "FUNC" || $4 == "NOTYPE")
|
||||||
printf "%s:%s\n", $4, $8;
|
printf "%s:%s\n", $4, $8;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue