Sign in
android
/
platform
/
external
/
elfutils
/
9d700c025216592a5389f7a596748b56bbc7d75a
/
.
/
libcpu
/
android_mnemonic_preprocess.sh
blob: 2b05249529e5efffef1b36c36d6bc25d01c58244 [
file
] [
log
] [
blame
]
#!/bin/sh
arch
=
"$1"
defs
=
"$2"
out
=
"$3"
$M4
"-D${arch}"
-
DDISASSEMBLER
"$defs"
\
|
sed
"1,/^%%/d;/^#/d;/^[[:space:]]*$/d;s/[^:]*:\([^[:space:]]*\).*/MNE(\\1)/;s/{[^}]*}//g;/INVALID/d"
\
|
sort
-
u \
>
"$out"