kernel/eka/compsupp/rvct/drtaeabi.cpp
branchGCC_SURGE
changeset 235 cbd07013118c
parent 0 a41df078684a
child 236 7dc50dc94301
equal deleted inserted replaced
234:56f96efe467a 235:cbd07013118c
    46 // Create the type_info object for void.
    46 // Create the type_info object for void.
    47 //
    47 //
    48 
    48 
    49 extern const char * const  $Sub$$_ZTSv = "v";
    49 extern const char * const  $Sub$$_ZTSv = "v";
    50 
    50 
       
    51 #if defined(__ARMCC__)
    51 __asm void __rt_exporter_dummy()
    52 __asm void __rt_exporter_dummy()
    52 	{
    53 	{
    53 	IMPORT _ZTVN10__cxxabiv123__fundamental_type_infoE [DYNAMIC]
    54 	IMPORT _ZTVN10__cxxabiv123__fundamental_type_infoE [DYNAMIC]
    54 	IMPORT _ZTSv
    55 	IMPORT _ZTSv
    55 
    56 
    62 |$Sub$$_ZTIv|
    63 |$Sub$$_ZTIv|
    63 
    64 
    64 	DCD _ZTVN10__cxxabiv123__fundamental_type_infoE
    65 	DCD _ZTVN10__cxxabiv123__fundamental_type_infoE
    65 	DCD _ZTSv
    66 	DCD _ZTSv
    66 	}
    67 	}
       
    68 #elif defined(__GCCE__)
       
    69 __NAKED__ void __rt_exporter_dummy()
       
    70 	{
       
    71 	asm(".weak ZTVN10__cxxabiv123__fundamental_type_infoE");
       
    72 	asm(".extern _ZTSv");
       
    73 	asm(".global $Sub$$_ZTIv");
       
    74 	asm("$Sub$$_ZTIv");
       
    75 	asm(".word _ZTVN10__cxxabiv123__fundamental_type_infoE");
       
    76 	asm(".word _ZTSv");
       
    77 	}
       
    78 
       
    79 #else
       
    80 #error What compiler?
       
    81 #endif
    67 
    82 
    68 #if __ARMCC_VERSION > 400000
    83 #if __ARMCC_VERSION > 400000
    69 asm void __symbian_prevent_export()
    84 asm void __symbian_prevent_export()
    70 	{
    85 	{
    71     IMPORT __rt_uread4
    86     IMPORT __rt_uread4