2014-04-21 22:23:49 +00:00
|
|
|
no_short_enums.patch
|
|
|
|
|
|
|
|
From: Christian Prochaska <christian.prochaska@genode-labs.com>
|
|
|
|
|
|
|
|
Ensure -fno-short-enums as default.
|
|
|
|
---
|
|
|
|
gcc/config/arm/arm.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
|
2015-05-13 10:33:21 +00:00
|
|
|
index 439a4de..948a369 100644
|
2014-04-21 22:23:49 +00:00
|
|
|
--- a/gcc/config/arm/arm.c
|
|
|
|
+++ b/gcc/config/arm/arm.c
|
2015-05-13 10:33:21 +00:00
|
|
|
@@ -28348,7 +28348,7 @@ arm_promote_function_mode (const_tree type ATTRIBUTE_UNUSED,
|
2014-04-21 22:23:49 +00:00
|
|
|
static bool
|
|
|
|
arm_default_short_enums (void)
|
|
|
|
{
|
|
|
|
- return TARGET_AAPCS_BASED && arm_abi != ARM_ABI_AAPCS_LINUX;
|
|
|
|
+ return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
|