blob: bc20bf3ed61d3cdc16cfb598950e0b809fcb33d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# -*- 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
typeisas SCHAR INT8
typeisas SHORT INT16
typeisas INT INT32
typeisas LONG INTPTR
typeisas LLONG INT64
get-datatype-description.tu $osn $archn $(lookupnum "$types" LONG) $os $arch LONG \
| sed 's/^\(is_unsigned\) = 0$/\1 = 1/' \
| sed 's/^\(sign_representation\) = .*$/\1 = '"$(getnum SIGN UNDETERMINED)"/ \
| sed 's/^\(annotation\) = .*$/\1 = '"$(getnum ANNOTATION UNDETERMINED)"/ \
| sed 's/^\(section\) = .*$/\1 = '"$(getnum SECTION UNDETERMINED)"/ > $a
get-datatype-description.tu $osn $archn $(lookupnum "$types" DYNAMIC) $os $arch DYNAMIC > $b
diff -u $a $b
done
|