notaz.gp2x.de
/
ia32rtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
translate: improve call arg collection
[ia32rtools.git]
/
run_imp.sh
diff --git
a/run_imp.sh
b/run_imp.sh
index
15381b7
..
b069eba
100755
(executable)
--- a/
run_imp.sh
+++ b/
run_imp.sh
@@
-37,8
+37,14
@@
cat $implist | while read i; do
done
sym=`cat $tmpsym`
if test -z "$sym"; then
done
sym=`cat $tmpsym`
if test -z "$sym"; then
- echo "$target_s: no file/sym for $i"
- exit 1
+ # could be a data import
+ if test -n "$data_symf" && grep -q "$si" $data_symf; then
+ continue
+ else
+ echo "$target_s: no file/sym for $i"
+ rm $target_s
+ exit 1
+ fi
fi
echo ".globl $i" >> $target_s
fi
echo ".globl $i" >> $target_s