blob: 3140ce484464355efbf737504cdeb8389fbe1640 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# -*- sh -*-
# See LICENSE file for copyright and license details.
for arch in $(getnamelist ARCH); do
archn=$(getnum ARCH $arch)
if ! issupported $os $arch; then
continue
fi
ptype=ULONG
atype=FD_SET
get-datatype-description.tu $osn $archn $(lookupnum "$types" $ptype) $os $arch $ptype > $a
get-datatype-description.tu $osn $archn $(lookupnum "$types" $atype) $os $arch $atype > $b
sed 's/^\(array_size\) = 1$/\1 = '"$(( 1024 / $(sed -n 's/^width_in_bits = //p' < $a) ))"/ < $a \
| sed 's/^\(is_unsigned\) = 1/\1 = 0/' \
| diff -u - $b
done
|