From 22fa566ebd03e9480e35e2dad2194d1b49ac3c5a Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 21 Mar 2018 12:48:02 +0100 Subject: [PATCH] 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 --- platforms/arm32-wchar_t2.xml | 17 +++++++++++++++++ platforms/arm32-wchar_t4.xml | 17 +++++++++++++++++ platforms/arm64-wchar_t2.xml | 17 +++++++++++++++++ platforms/arm64-wchar_t4.xml | 17 +++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 platforms/arm32-wchar_t2.xml create mode 100644 platforms/arm32-wchar_t4.xml create mode 100644 platforms/arm64-wchar_t2.xml create mode 100644 platforms/arm64-wchar_t4.xml diff --git a/platforms/arm32-wchar_t2.xml b/platforms/arm32-wchar_t2.xml new file mode 100644 index 000000000..21e6d54c6 --- /dev/null +++ b/platforms/arm32-wchar_t2.xml @@ -0,0 +1,17 @@ + + + 8 + unsigned + + 2 + 4 + 4 + 8 + 4 + 8 + 8 + 4 + 4 + 2 + + diff --git a/platforms/arm32-wchar_t4.xml b/platforms/arm32-wchar_t4.xml new file mode 100644 index 000000000..3aefa7ba5 --- /dev/null +++ b/platforms/arm32-wchar_t4.xml @@ -0,0 +1,17 @@ + + + 8 + unsigned + + 2 + 4 + 4 + 8 + 4 + 8 + 8 + 4 + 4 + 4 + + diff --git a/platforms/arm64-wchar_t2.xml b/platforms/arm64-wchar_t2.xml new file mode 100644 index 000000000..7f2ce2d9e --- /dev/null +++ b/platforms/arm64-wchar_t2.xml @@ -0,0 +1,17 @@ + + + 8 + unsigned + + 2 + 4 + 4 + 8 + 4 + 8 + 8 + 8 + 4 + 2 + + diff --git a/platforms/arm64-wchar_t4.xml b/platforms/arm64-wchar_t4.xml new file mode 100644 index 000000000..94bb97233 --- /dev/null +++ b/platforms/arm64-wchar_t4.xml @@ -0,0 +1,17 @@ + + + 8 + unsigned + + 2 + 4 + 4 + 8 + 4 + 8 + 8 + 8 + 4 + 4 + +