Changeset 202560 in webkit


Ignore:
Timestamp:
Jun 28, 2016 6:25:18 AM (8 years ago)
Author:
commit-queue@webkit.org
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 <tpopela@redhat.com> 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:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r202506 r202560  
     12016-06-28  Tomas Popela  <tpopela@redhat.com>
     2
     3        THUMB2 support not correctly detected on Fedora with GCC 6.1.
     4        https://bugs.webkit.org/show_bug.cgi?id=159083
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        On Fedora 24 with GCC 6.1. the __thumb2__ and __thumb__ are not
     9        defined so the detection of THUMB2 support will fail. Look also
     10        whether the __ARM_ARCH_ISA_THUMB is defined to fix the THUMB2
     11        detection.
     12
     13        * wtf/Platform.h:
     14
    1152016-06-27  Joseph Pecoraro  <pecoraro@apple.com>
    216
  • trunk/Source/WTF/wtf/Platform.h

    r202094 r202560  
    303303#if !defined(WTF_CPU_ARM_TRADITIONAL) && !defined(WTF_CPU_ARM_THUMB2)
    304304#  if defined(thumb2) || defined(__thumb2__) \
     305    || (defined(__ARM_ARCH_ISA_THUMB) && __ARM_ARCH_ISA_THUMB == 2) \
    305306    || ((defined(__thumb) || defined(__thumb__)) && WTF_THUMB_ARCH_VERSION == 4)
    306307#    define WTF_CPU_ARM_TRADITIONAL 0
Note: See TracChangeset for help on using the changeset viewer.