Title: [202560] trunk/Source/WTF
- Revision
- 202560
- Author
- [email protected]
- Date
- 2016-06-28 06:25:18 -0700 (Tue, 28 Jun 2016)
Log Message
THUMB2 support not correctly detected on Fedora with GCC 6.1.
https://bugs.webkit.org/show_bug.cgi?id=159083
Patch by Tomas Popela <[email protected]> on 2016-06-28
Reviewed by Carlos Garcia Campos.
On Fedora 24 with GCC 6.1. the __thumb2__ and __thumb__ are not
defined so the detection of THUMB2 support will fail. Look also
whether the __ARM_ARCH_ISA_THUMB is defined to fix the THUMB2
detection.
* wtf/Platform.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (202559 => 202560)
--- trunk/Source/WTF/ChangeLog 2016-06-28 11:49:21 UTC (rev 202559)
+++ trunk/Source/WTF/ChangeLog 2016-06-28 13:25:18 UTC (rev 202560)
@@ -1,3 +1,17 @@
+2016-06-28 Tomas Popela <[email protected]>
+
+ THUMB2 support not correctly detected on Fedora with GCC 6.1.
+ https://bugs.webkit.org/show_bug.cgi?id=159083
+
+ Reviewed by Carlos Garcia Campos.
+
+ On Fedora 24 with GCC 6.1. the __thumb2__ and __thumb__ are not
+ defined so the detection of THUMB2 support will fail. Look also
+ whether the __ARM_ARCH_ISA_THUMB is defined to fix the THUMB2
+ detection.
+
+ * wtf/Platform.h:
+
2016-06-27 Joseph Pecoraro <[email protected]>
Remove now unused WTF::findNextLineStart
Modified: trunk/Source/WTF/wtf/Platform.h (202559 => 202560)
--- trunk/Source/WTF/wtf/Platform.h 2016-06-28 11:49:21 UTC (rev 202559)
+++ trunk/Source/WTF/wtf/Platform.h 2016-06-28 13:25:18 UTC (rev 202560)
@@ -302,6 +302,7 @@
/* Only one of these will be defined. */
#if !defined(WTF_CPU_ARM_TRADITIONAL) && !defined(WTF_CPU_ARM_THUMB2)
# if defined(thumb2) || defined(__thumb2__) \
+ || (defined(__ARM_ARCH_ISA_THUMB) && __ARM_ARCH_ISA_THUMB == 2) \
|| ((defined(__thumb) || defined(__thumb__)) && WTF_THUMB_ARCH_VERSION == 4)
# define WTF_CPU_ARM_TRADITIONAL 0
# define WTF_CPU_ARM_THUMB2 1
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes