Platforms: Add arm32 and arm64 platform files (#1128)
The default is "unsigned" so i have choosen it for the platformfiles. This can be changed via a compiler option, but i am not sure if it makes sense to add all the platform files with "signed" also. Since the size of wchar_t depends on the compiler i added both possible variants respectively. Sizes of data types can be checked here for example: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0024a/ch08s02.html
This commit is contained in:
parent
27d4495d41
commit
22fa566ebd
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<platform>
|
||||||
|
<char_bit>8</char_bit>
|
||||||
|
<default-sign>unsigned</default-sign>
|
||||||
|
<sizeof>
|
||||||
|
<short>2</short>
|
||||||
|
<int>4</int>
|
||||||
|
<long>4</long>
|
||||||
|
<long-long>8</long-long>
|
||||||
|
<float>4</float>
|
||||||
|
<double>8</double>
|
||||||
|
<long-double>8</long-double>
|
||||||
|
<pointer>4</pointer>
|
||||||
|
<size_t>4</size_t>
|
||||||
|
<wchar_t>2</wchar_t>
|
||||||
|
</sizeof>
|
||||||
|
</platform>
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<platform>
|
||||||
|
<char_bit>8</char_bit>
|
||||||
|
<default-sign>unsigned</default-sign>
|
||||||
|
<sizeof>
|
||||||
|
<short>2</short>
|
||||||
|
<int>4</int>
|
||||||
|
<long>4</long>
|
||||||
|
<long-long>8</long-long>
|
||||||
|
<float>4</float>
|
||||||
|
<double>8</double>
|
||||||
|
<long-double>8</long-double>
|
||||||
|
<pointer>4</pointer>
|
||||||
|
<size_t>4</size_t>
|
||||||
|
<wchar_t>4</wchar_t>
|
||||||
|
</sizeof>
|
||||||
|
</platform>
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<platform>
|
||||||
|
<char_bit>8</char_bit>
|
||||||
|
<default-sign>unsigned</default-sign>
|
||||||
|
<sizeof>
|
||||||
|
<short>2</short>
|
||||||
|
<int>4</int>
|
||||||
|
<long>4</long>
|
||||||
|
<long-long>8</long-long>
|
||||||
|
<float>4</float>
|
||||||
|
<double>8</double>
|
||||||
|
<long-double>8</long-double>
|
||||||
|
<pointer>8</pointer>
|
||||||
|
<size_t>4</size_t>
|
||||||
|
<wchar_t>2</wchar_t>
|
||||||
|
</sizeof>
|
||||||
|
</platform>
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<platform>
|
||||||
|
<char_bit>8</char_bit>
|
||||||
|
<default-sign>unsigned</default-sign>
|
||||||
|
<sizeof>
|
||||||
|
<short>2</short>
|
||||||
|
<int>4</int>
|
||||||
|
<long>4</long>
|
||||||
|
<long-long>8</long-long>
|
||||||
|
<float>4</float>
|
||||||
|
<double>8</double>
|
||||||
|
<long-double>8</long-double>
|
||||||
|
<pointer>8</pointer>
|
||||||
|
<size_t>4</size_t>
|
||||||
|
<wchar_t>4</wchar_t>
|
||||||
|
</sizeof>
|
||||||
|
</platform>
|
Loading…
Reference in New Issue