X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ia32rtools.git;a=blobdiff_plain;f=run_imp.sh;h=b069eba59fead04b0bcab118a59d41dfcd991f0b;hp=15381b7d489ba85685bcbf5d218b0eea27c3b021;hb=ee554c95296119b6b8d82856fbb09ffb8c9dc419;hpb=3947cf245e051c129e15fda46120c93154b804c4 diff --git a/run_imp.sh b/run_imp.sh index 15381b7..b069eba 100755 --- 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 - 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