http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57120



--- Comment #5 from Kai Tietz <ktietz at gcc dot gnu.org> 2013-04-30 13:34:25 
UTC ---

(In reply to comment #4)

> libgcc_s_sjlj-1.dll export the following symbos:

> 

> [Ordinal/Name Pointer] Table

>         [   0] _Unwind_Backtrace

>         [   1] _Unwind_DeleteException

>         [   2] _Unwind_FindEnclosingFunction

>         [   3] _Unwind_Find_FDE

>         [   4] _Unwind_GetCFA

>         [   5] _Unwind_GetDataRelBase

>         [   6] _Unwind_GetGR

>         [   7] _Unwind_GetIP

>         [   8] _Unwind_GetIPInfo

>         [   9] _Unwind_GetLanguageSpecificData

>         [  10] _Unwind_GetRegionStart

>         [  11] _Unwind_GetTextRelBase

>         [  12] _Unwind_SetGR

>         [  13] _Unwind_SetIP

>         [  14] _Unwind_SjLj_ForcedUnwind

>         [  15] _Unwind_SjLj_RaiseException

>         [  16] _Unwind_SjLj_Register

>         [  17] _Unwind_SjLj_Resume

>         [  18] _Unwind_SjLj_Resume_or_Rethrow

>         [  19] _Unwind_SjLj_Unregister

>         [  20] __absvdi2

>         [  21] __absvsi2

>         [  22] __addtf3

>         [  23] __addvdi3

>         [  24] __addvsi3

>         [  25] __ashldi3

>         [  26] __ashrdi3

>         [  27] __bswapdi2

>         [  28] __bswapsi2

>         [  29] __clear_cache

>         [  30] __clrsbdi2

>         [  31] __clrsbsi2

>         [  32] __clzdi2

>         [  33] __clzsi2

>         [  34] __cmpdi2

>         [  35] __ctzdi2

>         [  36] __ctzsi2

>         [  37] __deregister_frame

>         [  38] __deregister_frame_info

>         [  39] __deregister_frame_info_bases

>         [  40] __divdc3

>         [  41] __divdi3

>         [  42] __divsc3

>         [  43] __divtc3

>         [  44] __divtf3

>         [  45] __divxc3

>         [  46] __emutls_get_address

>         [  47] __emutls_register_common

>         [  48] __enable_execute_stack

>         [  49] __eqtf2

>         [  50] __extenddftf2

>         [  51] __extendsftf2

>         [  52] __extendxftf2

>         [  53] __ffsdi2

>         [  54] __ffssi2

>         [  55] __fixdfdi

>         [  56] __fixsfdi

>         [  57] __fixtfdi

>         [  58] __fixtfsi

>         [  59] __fixunsdfdi

>         [  60] __fixunsdfsi

>         [  61] __fixunssfdi

>         [  62] __fixunssfsi

>         [  63] __fixunstfdi

>         [  64] __fixunstfsi

>         [  65] __fixunsxfdi

>         [  66] __fixunsxfsi

>         [  67] __fixxfdi

>         [  68] __floatdidf

>         [  69] __floatdisf

>         [  70] __floatditf

>         [  71] __floatdixf

>         [  72] __floatsitf

>         [  73] __floatundidf

>         [  74] __floatundisf

>         [  75] __floatunditf

>         [  76] __floatundixf

>         [  77] __floatunsitf

>         [  78] __gcc_personality_sj0

>         [  79] __getf2

>         [  80] __gttf2

>         [  81] __letf2

>         [  82] __lshrdi3

>         [  83] __lttf2

>         [  84] __moddi3

>         [  85] __muldc3

>         [  86] __muldi3

>         [  87] __mulsc3

>         [  88] __multc3

>         [  89] __multf3

>         [  90] __mulvdi3

>         [  91] __mulvsi3

>         [  92] __mulxc3

>         [  93] __negdi2

>         [  94] __negtf2

>         [  95] __negvdi2

>         [  96] __negvsi2

>         [  97] __netf2

>         [  98] __paritydi2

>         [  99] __paritysi2

>         [ 100] __popcountdi2

>         [ 101] __popcountsi2

>         [ 102] __powidf2

>         [ 103] __powisf2

>         [ 104] __powitf2

>         [ 105] __powixf2

>         [ 106] __register_frame

>         [ 107] __register_frame_info

>         [ 108] __register_frame_info_bases

>         [ 109] __register_frame_info_table

>         [ 110] __register_frame_info_table_bases

>         [ 111] __register_frame_table

>         [ 112] __subtf3

>         [ 113] __subvdi3

>         [ 114] __subvsi3

>         [ 115] __trunctfdf2

>         [ 116] __trunctfsf2

>         [ 117] __trunctfxf2

>         [ 118] __ucmpdi2

>         [ 119] __udivdi3

>         [ 120] __udivmoddi4

>         [ 121] __umoddi3

>         [ 122] __unordtf2

> 

> If I use unwind-sjlj.rc (unwind-seh.rc, or unwind-dw2.rc) to make sure

> libgcc_s_sjlj-1.dll only export _Unwind_* symbols, is it acceptable ?



No, actual all functions about Unwind, emutls, and register (deregister) have

to be part of the DLL.  The math-functions here might be candidates for the

pure static-version only.

Reply via email to