projects
/
musl-tables
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update abi_* scripts
[musl-tables]
/
abi_type_data.sh
diff --git
a/abi_type_data.sh
b/abi_type_data.sh
index
5d6420d
..
c4ed77e
100755
(executable)
--- a/
abi_type_data.sh
+++ b/
abi_type_data.sh
@@
-1,8
+1,10
@@
#!/bin/sh
CXXFILT=${CXXFILT:-c++filt}
#!/bin/sh
CXXFILT=${CXXFILT:-c++filt}
+#TODO
+ARCH=${ARCH:-x86_64}
-$CXX -S -o - abi.cc |sed -n 's/^\(_Z.*\):/\1/p' |$CXXFILT |sed '
+$CXX -S -o - abi
_type.$ARCH
.cc |sed -n 's/^\(_Z.*\):/\1/p' |$CXXFILT |sed '
s/^x_\([^(]*\)(\(.*\))/\1: \2/
s/^y_\([^(]*\)(\(.*\))/\1*: \2/
s/floatcomplex /float _Complex/g
s/^x_\([^(]*\)(\(.*\))/\1: \2/
s/^y_\([^(]*\)(\(.*\))/\1*: \2/
s/floatcomplex /float _Complex/g