Changeset 84048 in webkit


Ignore:
Timestamp:
Apr 15, 2011 4:35:48 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-04-15 Fridrich Strba <fridrich.strba@bluewin.ch>

Reviewed by Gavin Barraclough.

Correctly prefix symbols. Since gcc 4.5.0, Windows x64 symbols
are not prefixed by underscore anymore. This is consistent with
what MSVC does.
https://bugs.webkit.org/show_bug.cgi?id=58573

  • jit/JITStubs.cpp:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r84045 r84048  
     12011-04-15  Fridrich Strba  <fridrich.strba@bluewin.ch>
     2
     3        Reviewed by Gavin Barraclough.
     4
     5        Correctly prefix symbols. Since gcc 4.5.0, Windows x64 symbols
     6        are not prefixed by underscore anymore. This is consistent with
     7        what MSVC does.
     8        https://bugs.webkit.org/show_bug.cgi?id=58573
     9
     10        * jit/JITStubs.cpp:
     11
    1122011-04-15  Gavin Barraclough  <barraclough@apple.com>
    213
  • trunk/Source/JavaScriptCore/jit/JITStubs.cpp

    r83955 r84048  
    6868namespace JSC {
    6969
    70 #if OS(DARWIN) || OS(WINDOWS)
     70#if OS(DARWIN) || (OS(WINDOWS) && CPU(X86))
    7171#define SYMBOL_STRING(name) "_" #name
    7272#else
     
    8282#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64)
    8383#define SYMBOL_STRING_RELOCATION(name) #name "@plt"
    84 #elif OS(DARWIN)
     84#elif OS(DARWIN) || (CPU(X86_64) && COMPILER(MINGW) && !GCC_VERSION_AT_LEAST(4, 5, 0))
    8585#define SYMBOL_STRING_RELOCATION(name) "_" #name
    8686#elif CPU(X86) && COMPILER(MINGW)
Note: See TracChangeset for help on using the changeset viewer.