Appease GCC strict prototypes warning (#3775)
This commit is contained in:
@ -226,7 +226,7 @@ SymbolMap *
|
||||
get_target_symbol_map(uint32 *sym_num);
|
||||
|
||||
uint32
|
||||
get_plt_table_size();
|
||||
get_plt_table_size(void);
|
||||
|
||||
void
|
||||
init_plt_table(uint8 *plt);
|
||||
|
||||
@ -648,7 +648,7 @@ aot_check_app_addr_and_convert(AOTModuleInstance *module_inst, bool is_str,
|
||||
void **p_native_addr);
|
||||
|
||||
uint32
|
||||
aot_get_plt_table_size();
|
||||
aot_get_plt_table_size(void);
|
||||
|
||||
void *
|
||||
aot_memmove(void *dest, const void *src, size_t n);
|
||||
|
||||
@ -79,7 +79,7 @@ get_current_target(char *target_buf, uint32 target_buf_size)
|
||||
}
|
||||
|
||||
static uint32
|
||||
get_plt_item_size()
|
||||
get_plt_item_size(void)
|
||||
{
|
||||
/* 6*4 bytes instructions and 8 bytes symbol address */
|
||||
return 32;
|
||||
|
||||
@ -12,102 +12,102 @@
|
||||
#define R_ARM_MOVT_ABS 44
|
||||
|
||||
/* clang-format off */
|
||||
void __adddf3();
|
||||
void __addsf3();
|
||||
void __aeabi_d2f();
|
||||
void __aeabi_d2iz();
|
||||
void __aeabi_d2lz();
|
||||
void __aeabi_d2uiz();
|
||||
void __aeabi_d2ulz();
|
||||
void __aeabi_dadd();
|
||||
void __aeabi_dcmpeq();
|
||||
void __aeabi_dcmpge();
|
||||
void __aeabi_dcmpgt();
|
||||
void __aeabi_dcmple();
|
||||
void __aeabi_dcmplt();
|
||||
void __aeabi_dcmpun();
|
||||
void __aeabi_ddiv();
|
||||
void __aeabi_dmul();
|
||||
void __aeabi_dsub();
|
||||
void __aeabi_f2d();
|
||||
void __aeabi_f2iz();
|
||||
void __aeabi_f2lz();
|
||||
void __aeabi_f2ulz();
|
||||
void __aeabi_fadd();
|
||||
void __aeabi_fcmpeq();
|
||||
void __aeabi_fcmpge();
|
||||
void __aeabi_fcmpgt();
|
||||
void __aeabi_fcmple();
|
||||
void __aeabi_fcmplt();
|
||||
void __aeabi_fcmpun();
|
||||
void __aeabi_fdiv();
|
||||
void __aeabi_fmul();
|
||||
void __aeabi_fsub();
|
||||
void __aeabi_i2d();
|
||||
void __aeabi_i2f();
|
||||
void __aeabi_idiv();
|
||||
void __aeabi_idivmod();
|
||||
void __aeabi_l2d();
|
||||
void __aeabi_l2f();
|
||||
void __aeabi_ldivmod();
|
||||
void __aeabi_memclr();
|
||||
void __aeabi_memcpy();
|
||||
void __aeabi_memmove();
|
||||
void __aeabi_memset();
|
||||
void __aeabi_ui2d();
|
||||
void __aeabi_ui2f();
|
||||
void __aeabi_uidiv();
|
||||
void __aeabi_uidivmod();
|
||||
void __aeabi_ul2d();
|
||||
void __aeabi_ul2f();
|
||||
void __aeabi_uldivmod();
|
||||
void __clzsi2();
|
||||
void __divdf3();
|
||||
void __divdi3();
|
||||
void __divsf3();
|
||||
void __divsi3();
|
||||
void __eqdf2();
|
||||
void __eqsf2();
|
||||
void __extendsfdf2();
|
||||
void __fixdfdi();
|
||||
void __fixdfsi();
|
||||
void __fixsfdi();
|
||||
void __fixsfsi();
|
||||
void __fixunsdfdi();
|
||||
void __fixunsdfsi();
|
||||
void __fixunssfdi();
|
||||
void __floatdidf();
|
||||
void __floatdisf();
|
||||
void __floatsidf();
|
||||
void __floatsisf();
|
||||
void __floatundidf();
|
||||
void __floatundisf();
|
||||
void __floatunsidf();
|
||||
void __floatunsisf();
|
||||
void __gedf2();
|
||||
void __gesf2();
|
||||
void __gtdf2();
|
||||
void __gtsf2();
|
||||
void __ledf2();
|
||||
void __lesf2();
|
||||
void __ltdf2();
|
||||
void __ltsf2();
|
||||
void __moddi3();
|
||||
void __modsi3();
|
||||
void __muldf3();
|
||||
void __mulsf3();
|
||||
void __nedf2();
|
||||
void __nesf2();
|
||||
void __subdf3();
|
||||
void __subsf3();
|
||||
void __truncdfsf2();
|
||||
void __udivdi3();
|
||||
void __udivmoddi4();
|
||||
void __udivsi3();
|
||||
void __umoddi3();
|
||||
void __umodsi3();
|
||||
void __unorddf2();
|
||||
void __unordsf2();
|
||||
void __adddf3(void);
|
||||
void __addsf3(void);
|
||||
void __aeabi_d2f(void);
|
||||
void __aeabi_d2iz(void);
|
||||
void __aeabi_d2lz(void);
|
||||
void __aeabi_d2uiz(void);
|
||||
void __aeabi_d2ulz(void);
|
||||
void __aeabi_dadd(void);
|
||||
void __aeabi_dcmpeq(void);
|
||||
void __aeabi_dcmpge(void);
|
||||
void __aeabi_dcmpgt(void);
|
||||
void __aeabi_dcmple(void);
|
||||
void __aeabi_dcmplt(void);
|
||||
void __aeabi_dcmpun(void);
|
||||
void __aeabi_ddiv(void);
|
||||
void __aeabi_dmul(void);
|
||||
void __aeabi_dsub(void);
|
||||
void __aeabi_f2d(void);
|
||||
void __aeabi_f2iz(void);
|
||||
void __aeabi_f2lz(void);
|
||||
void __aeabi_f2ulz(void);
|
||||
void __aeabi_fadd(void);
|
||||
void __aeabi_fcmpeq(void);
|
||||
void __aeabi_fcmpge(void);
|
||||
void __aeabi_fcmpgt(void);
|
||||
void __aeabi_fcmple(void);
|
||||
void __aeabi_fcmplt(void);
|
||||
void __aeabi_fcmpun(void);
|
||||
void __aeabi_fdiv(void);
|
||||
void __aeabi_fmul(void);
|
||||
void __aeabi_fsub(void);
|
||||
void __aeabi_i2d(void);
|
||||
void __aeabi_i2f(void);
|
||||
void __aeabi_idiv(void);
|
||||
void __aeabi_idivmod(void);
|
||||
void __aeabi_l2d(void);
|
||||
void __aeabi_l2f(void);
|
||||
void __aeabi_ldivmod(void);
|
||||
void __aeabi_memclr(void);
|
||||
void __aeabi_memcpy(void);
|
||||
void __aeabi_memmove(void);
|
||||
void __aeabi_memset(void);
|
||||
void __aeabi_ui2d(void);
|
||||
void __aeabi_ui2f(void);
|
||||
void __aeabi_uidiv(void);
|
||||
void __aeabi_uidivmod(void);
|
||||
void __aeabi_ul2d(void);
|
||||
void __aeabi_ul2f(void);
|
||||
void __aeabi_uldivmod(void);
|
||||
void __clzsi2(void);
|
||||
void __divdf3(void);
|
||||
void __divdi3(void);
|
||||
void __divsf3(void);
|
||||
void __divsi3(void);
|
||||
void __eqdf2(void);
|
||||
void __eqsf2(void);
|
||||
void __extendsfdf2(void);
|
||||
void __fixdfdi(void);
|
||||
void __fixdfsi(void);
|
||||
void __fixsfdi(void);
|
||||
void __fixsfsi(void);
|
||||
void __fixunsdfdi(void);
|
||||
void __fixunsdfsi(void);
|
||||
void __fixunssfdi(void);
|
||||
void __floatdidf(void);
|
||||
void __floatdisf(void);
|
||||
void __floatsidf(void);
|
||||
void __floatsisf(void);
|
||||
void __floatundidf(void);
|
||||
void __floatundisf(void);
|
||||
void __floatunsidf(void);
|
||||
void __floatunsisf(void);
|
||||
void __gedf2(void);
|
||||
void __gesf2(void);
|
||||
void __gtdf2(void);
|
||||
void __gtsf2(void);
|
||||
void __ledf2(void);
|
||||
void __lesf2(void);
|
||||
void __ltdf2(void);
|
||||
void __ltsf2(void);
|
||||
void __moddi3(void);
|
||||
void __modsi3(void);
|
||||
void __muldf3(void);
|
||||
void __mulsf3(void);
|
||||
void __nedf2(void);
|
||||
void __nesf2(void);
|
||||
void __subdf3(void);
|
||||
void __subsf3(void);
|
||||
void __truncdfsf2(void);
|
||||
void __udivdi3(void);
|
||||
void __udivmoddi4(void);
|
||||
void __udivsi3(void);
|
||||
void __umoddi3(void);
|
||||
void __umodsi3(void);
|
||||
void __unorddf2(void);
|
||||
void __unordsf2(void);
|
||||
/* clang-format on */
|
||||
|
||||
static SymbolMap target_sym_map[] = {
|
||||
@ -255,7 +255,7 @@ get_current_target(char *target_buf, uint32 target_buf_size)
|
||||
#undef BUILD_TARGET_ARM_DEFAULT
|
||||
|
||||
uint32
|
||||
get_plt_item_size()
|
||||
get_plt_item_size(void)
|
||||
{
|
||||
/* 8 bytes instructions and 4 bytes symbol address */
|
||||
return 12;
|
||||
|
||||
@ -28,7 +28,7 @@ get_current_target(char *target_buf, uint32 target_buf_size)
|
||||
}
|
||||
|
||||
static uint32
|
||||
get_plt_item_size()
|
||||
get_plt_item_size(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -49,58 +49,58 @@
|
||||
#endif
|
||||
|
||||
/* clang-format off */
|
||||
void __adddf3();
|
||||
void __addsf3();
|
||||
void __divdf3();
|
||||
void __divdi3();
|
||||
void __divsf3();
|
||||
void __divsi3();
|
||||
void __eqdf2();
|
||||
void __eqsf2();
|
||||
void __extendsfdf2();
|
||||
void __fixdfdi();
|
||||
void __fixdfsi();
|
||||
void __fixsfdi();
|
||||
void __fixsfsi();
|
||||
void __fixunsdfdi();
|
||||
void __fixunsdfsi();
|
||||
void __fixunssfdi();
|
||||
void __fixunssfsi();
|
||||
void __floatdidf();
|
||||
void __floatdisf();
|
||||
void __floatsidf();
|
||||
void __floatsisf();
|
||||
void __floatundidf();
|
||||
void __floatundisf();
|
||||
void __floatunsidf();
|
||||
void __floatunsisf();
|
||||
void __gedf2();
|
||||
void __gesf2();
|
||||
void __gtdf2();
|
||||
void __gtsf2();
|
||||
void __ledf2();
|
||||
void __lesf2();
|
||||
void __ltdf2();
|
||||
void __ltsf2();
|
||||
void __moddi3();
|
||||
void __modsi3();
|
||||
void __muldf3();
|
||||
void __muldi3();
|
||||
void __mulsf3();
|
||||
void __mulsi3();
|
||||
void __nedf2();
|
||||
void __negdf2();
|
||||
void __negsf2();
|
||||
void __nesf2();
|
||||
void __subdf3();
|
||||
void __subsf3();
|
||||
void __truncdfsf2();
|
||||
void __udivdi3();
|
||||
void __udivsi3();
|
||||
void __umoddi3();
|
||||
void __umodsi3();
|
||||
void __unorddf2();
|
||||
void __unordsf2();
|
||||
void __adddf3(void);
|
||||
void __addsf3(void);
|
||||
void __divdf3(void);
|
||||
void __divdi3(void);
|
||||
void __divsf3(void);
|
||||
void __divsi3(void);
|
||||
void __eqdf2(void);
|
||||
void __eqsf2(void);
|
||||
void __extendsfdf2(void);
|
||||
void __fixdfdi(void);
|
||||
void __fixdfsi(void);
|
||||
void __fixsfdi(void);
|
||||
void __fixsfsi(void);
|
||||
void __fixunsdfdi(void);
|
||||
void __fixunsdfsi(void);
|
||||
void __fixunssfdi(void);
|
||||
void __fixunssfsi(void);
|
||||
void __floatdidf(void);
|
||||
void __floatdisf(void);
|
||||
void __floatsidf(void);
|
||||
void __floatsisf(void);
|
||||
void __floatundidf(void);
|
||||
void __floatundisf(void);
|
||||
void __floatunsidf(void);
|
||||
void __floatunsisf(void);
|
||||
void __gedf2(void);
|
||||
void __gesf2(void);
|
||||
void __gtdf2(void);
|
||||
void __gtsf2(void);
|
||||
void __ledf2(void);
|
||||
void __lesf2(void);
|
||||
void __ltdf2(void);
|
||||
void __ltsf2(void);
|
||||
void __moddi3(void);
|
||||
void __modsi3(void);
|
||||
void __muldf3(void);
|
||||
void __muldi3(void);
|
||||
void __mulsf3(void);
|
||||
void __mulsi3(void);
|
||||
void __nedf2(void);
|
||||
void __negdf2(void);
|
||||
void __negsf2(void);
|
||||
void __nesf2(void);
|
||||
void __subdf3(void);
|
||||
void __subsf3(void);
|
||||
void __truncdfsf2(void);
|
||||
void __udivdi3(void);
|
||||
void __udivsi3(void);
|
||||
void __umoddi3(void);
|
||||
void __umodsi3(void);
|
||||
void __unorddf2(void);
|
||||
void __unordsf2(void);
|
||||
/* clang-format on */
|
||||
|
||||
static SymbolMap target_sym_map[] = {
|
||||
@ -193,7 +193,7 @@ get_current_target(char *target_buf, uint32 target_buf_size)
|
||||
}
|
||||
|
||||
uint32
|
||||
get_plt_item_size()
|
||||
get_plt_item_size(void)
|
||||
{
|
||||
#if __riscv_xlen == 64
|
||||
/* auipc + ld + jalr + nop + addr */
|
||||
|
||||
@ -14,102 +14,102 @@
|
||||
#define R_ARM_THM_MOVT_PREL 50
|
||||
|
||||
/* clang-format off */
|
||||
void __adddf3();
|
||||
void __addsf3();
|
||||
void __aeabi_d2f();
|
||||
void __aeabi_d2iz();
|
||||
void __aeabi_d2lz();
|
||||
void __aeabi_d2uiz();
|
||||
void __aeabi_d2ulz();
|
||||
void __aeabi_dadd();
|
||||
void __aeabi_dcmpeq();
|
||||
void __aeabi_dcmpge();
|
||||
void __aeabi_dcmpgt();
|
||||
void __aeabi_dcmple();
|
||||
void __aeabi_dcmplt();
|
||||
void __aeabi_dcmpun();
|
||||
void __aeabi_ddiv();
|
||||
void __aeabi_dmul();
|
||||
void __aeabi_dsub();
|
||||
void __aeabi_f2d();
|
||||
void __aeabi_f2iz();
|
||||
void __aeabi_f2lz();
|
||||
void __aeabi_f2ulz();
|
||||
void __aeabi_fadd();
|
||||
void __aeabi_fcmpeq();
|
||||
void __aeabi_fcmpge();
|
||||
void __aeabi_fcmpgt();
|
||||
void __aeabi_fcmple();
|
||||
void __aeabi_fcmplt();
|
||||
void __aeabi_fcmpun();
|
||||
void __aeabi_fdiv();
|
||||
void __aeabi_fmul();
|
||||
void __aeabi_fsub();
|
||||
void __aeabi_i2d();
|
||||
void __aeabi_i2f();
|
||||
void __aeabi_idiv();
|
||||
void __aeabi_idivmod();
|
||||
void __aeabi_l2d();
|
||||
void __aeabi_l2f();
|
||||
void __aeabi_ldivmod();
|
||||
void __aeabi_llsl();
|
||||
void __aeabi_llsr();
|
||||
void __aeabi_lmul();
|
||||
void __aeabi_ui2d();
|
||||
void __aeabi_ui2f();
|
||||
void __aeabi_uidiv();
|
||||
void __aeabi_uidivmod();
|
||||
void __aeabi_ul2d();
|
||||
void __aeabi_ul2f();
|
||||
void __aeabi_uldivmod();
|
||||
void __ashldi3();
|
||||
void __clzsi2();
|
||||
void __divdf3();
|
||||
void __divdi3();
|
||||
void __divsi3();
|
||||
void __eqdf2();
|
||||
void __eqsf2();
|
||||
void __extendsfdf2();
|
||||
void __fixdfdi();
|
||||
void __fixdfsi();
|
||||
void __fixsfdi();
|
||||
void __fixunsdfdi();
|
||||
void __fixunsdfsi();
|
||||
void __fixunssfdi();
|
||||
void __floatdidf();
|
||||
void __floatdisf();
|
||||
void __floatsidf();
|
||||
void __floatsisf();
|
||||
void __floatundidf();
|
||||
void __floatundisf();
|
||||
void __floatunsidf();
|
||||
void __floatunsisf();
|
||||
void __gedf2();
|
||||
void __gesf2();
|
||||
void __gtdf2();
|
||||
void __gtsf2();
|
||||
void __ledf2();
|
||||
void __lesf2();
|
||||
void __lshrdi3();
|
||||
void __ltdf2();
|
||||
void __ltsf2();
|
||||
void __moddi3();
|
||||
void __modsi3();
|
||||
void __muldf3();
|
||||
void __muldi3();
|
||||
void __mulsf3();
|
||||
void __nedf2();
|
||||
void __nesf2();
|
||||
void __subdf3();
|
||||
void __subsf3();
|
||||
void __truncdfsf2();
|
||||
void __udivdi3();
|
||||
void __udivmoddi4();
|
||||
void __udivsi3();
|
||||
void __umoddi3();
|
||||
void __umodsi3();
|
||||
void __unorddf2();
|
||||
void __unordsf2();
|
||||
void __adddf3(void);
|
||||
void __addsf3(void);
|
||||
void __aeabi_d2f(void);
|
||||
void __aeabi_d2iz(void);
|
||||
void __aeabi_d2lz(void);
|
||||
void __aeabi_d2uiz(void);
|
||||
void __aeabi_d2ulz(void);
|
||||
void __aeabi_dadd(void);
|
||||
void __aeabi_dcmpeq(void);
|
||||
void __aeabi_dcmpge(void);
|
||||
void __aeabi_dcmpgt(void);
|
||||
void __aeabi_dcmple(void);
|
||||
void __aeabi_dcmplt(void);
|
||||
void __aeabi_dcmpun(void);
|
||||
void __aeabi_ddiv(void);
|
||||
void __aeabi_dmul(void);
|
||||
void __aeabi_dsub(void);
|
||||
void __aeabi_f2d(void);
|
||||
void __aeabi_f2iz(void);
|
||||
void __aeabi_f2lz(void);
|
||||
void __aeabi_f2ulz(void);
|
||||
void __aeabi_fadd(void);
|
||||
void __aeabi_fcmpeq(void);
|
||||
void __aeabi_fcmpge(void);
|
||||
void __aeabi_fcmpgt(void);
|
||||
void __aeabi_fcmple(void);
|
||||
void __aeabi_fcmplt(void);
|
||||
void __aeabi_fcmpun(void);
|
||||
void __aeabi_fdiv(void);
|
||||
void __aeabi_fmul(void);
|
||||
void __aeabi_fsub(void);
|
||||
void __aeabi_i2d(void);
|
||||
void __aeabi_i2f(void);
|
||||
void __aeabi_idiv(void);
|
||||
void __aeabi_idivmod(void);
|
||||
void __aeabi_l2d(void);
|
||||
void __aeabi_l2f(void);
|
||||
void __aeabi_ldivmod(void);
|
||||
void __aeabi_llsl(void);
|
||||
void __aeabi_llsr(void);
|
||||
void __aeabi_lmul(void);
|
||||
void __aeabi_ui2d(void);
|
||||
void __aeabi_ui2f(void);
|
||||
void __aeabi_uidiv(void);
|
||||
void __aeabi_uidivmod(void);
|
||||
void __aeabi_ul2d(void);
|
||||
void __aeabi_ul2f(void);
|
||||
void __aeabi_uldivmod(void);
|
||||
void __ashldi3(void);
|
||||
void __clzsi2(void);
|
||||
void __divdf3(void);
|
||||
void __divdi3(void);
|
||||
void __divsi3(void);
|
||||
void __eqdf2(void);
|
||||
void __eqsf2(void);
|
||||
void __extendsfdf2(void);
|
||||
void __fixdfdi(void);
|
||||
void __fixdfsi(void);
|
||||
void __fixsfdi(void);
|
||||
void __fixunsdfdi(void);
|
||||
void __fixunsdfsi(void);
|
||||
void __fixunssfdi(void);
|
||||
void __floatdidf(void);
|
||||
void __floatdisf(void);
|
||||
void __floatsidf(void);
|
||||
void __floatsisf(void);
|
||||
void __floatundidf(void);
|
||||
void __floatundisf(void);
|
||||
void __floatunsidf(void);
|
||||
void __floatunsisf(void);
|
||||
void __gedf2(void);
|
||||
void __gesf2(void);
|
||||
void __gtdf2(void);
|
||||
void __gtsf2(void);
|
||||
void __ledf2(void);
|
||||
void __lesf2(void);
|
||||
void __lshrdi3(void);
|
||||
void __ltdf2(void);
|
||||
void __ltsf2(void);
|
||||
void __moddi3(void);
|
||||
void __modsi3(void);
|
||||
void __muldf3(void);
|
||||
void __muldi3(void);
|
||||
void __mulsf3(void);
|
||||
void __nedf2(void);
|
||||
void __nesf2(void);
|
||||
void __subdf3(void);
|
||||
void __subsf3(void);
|
||||
void __truncdfsf2(void);
|
||||
void __udivdi3(void);
|
||||
void __udivmoddi4(void);
|
||||
void __udivsi3(void);
|
||||
void __umoddi3(void);
|
||||
void __umodsi3(void);
|
||||
void __unorddf2(void);
|
||||
void __unordsf2(void);
|
||||
/* clang-format on */
|
||||
|
||||
static SymbolMap target_sym_map[] = {
|
||||
@ -259,7 +259,7 @@ get_current_target(char *target_buf, uint32 target_buf_size)
|
||||
#undef BUILD_TARGET_THUMB_V4T
|
||||
|
||||
uint32
|
||||
get_plt_item_size()
|
||||
get_plt_item_size(void)
|
||||
{
|
||||
/* 16 bytes instructions and 4 bytes symbol address */
|
||||
return 20;
|
||||
|
||||
@ -58,7 +58,7 @@ get_current_target(char *target_buf, uint32 target_buf_size)
|
||||
}
|
||||
|
||||
static uint32
|
||||
get_plt_item_size()
|
||||
get_plt_item_size(void)
|
||||
{
|
||||
/* size of mov instruction and jmp instruction */
|
||||
return 12;
|
||||
|
||||
@ -10,44 +10,44 @@
|
||||
|
||||
/* clang-format off */
|
||||
/* for soft-float */
|
||||
void __floatsidf();
|
||||
void __divdf3();
|
||||
void __ltdf2();
|
||||
void __floatsidf(void);
|
||||
void __divdf3(void);
|
||||
void __ltdf2(void);
|
||||
|
||||
/* for mul32 */
|
||||
void __mulsi3();
|
||||
void __muldi3();
|
||||
void __mulsi3(void);
|
||||
void __muldi3(void);
|
||||
|
||||
void __modsi3();
|
||||
void __modsi3(void);
|
||||
|
||||
void __divdi3();
|
||||
void __divdi3(void);
|
||||
|
||||
void __udivdi3();
|
||||
void __unorddf2();
|
||||
void __adddf3();
|
||||
void __eqdf2();
|
||||
void __muldf3();
|
||||
void __gedf2();
|
||||
void __ledf2();
|
||||
void __fixunsdfsi();
|
||||
void __floatunsidf();
|
||||
void __subdf3();
|
||||
void __nedf2();
|
||||
void __fixdfsi();
|
||||
void __moddi3();
|
||||
void __extendsfdf2();
|
||||
void __truncdfsf2();
|
||||
void __gtdf2();
|
||||
void __umoddi3();
|
||||
void __floatdidf();
|
||||
void __divsf3();
|
||||
void __fixdfdi();
|
||||
void __floatundidf();
|
||||
void __fixsfdi();
|
||||
void __fixunssfdi();
|
||||
void __fixunsdfdi();
|
||||
void __floatdisf();
|
||||
void __floatundisf();
|
||||
void __udivdi3(void);
|
||||
void __unorddf2(void);
|
||||
void __adddf3(void);
|
||||
void __eqdf2(void);
|
||||
void __muldf3(void);
|
||||
void __gedf2(void);
|
||||
void __ledf2(void);
|
||||
void __fixunsdfsi(void);
|
||||
void __floatunsidf(void);
|
||||
void __subdf3(void);
|
||||
void __nedf2(void);
|
||||
void __fixdfsi(void);
|
||||
void __moddi3(void);
|
||||
void __extendsfdf2(void);
|
||||
void __truncdfsf2(void);
|
||||
void __gtdf2(void);
|
||||
void __umoddi3(void);
|
||||
void __floatdidf(void);
|
||||
void __divsf3(void);
|
||||
void __fixdfdi(void);
|
||||
void __floatundidf(void);
|
||||
void __fixsfdi(void);
|
||||
void __fixunssfdi(void);
|
||||
void __fixunsdfdi(void);
|
||||
void __floatdisf(void);
|
||||
void __floatundisf(void);
|
||||
|
||||
|
||||
static SymbolMap target_sym_map[] = {
|
||||
@ -119,7 +119,7 @@ get_current_target(char *target_buf, uint32 target_buf_size)
|
||||
}
|
||||
|
||||
static uint32
|
||||
get_plt_item_size()
|
||||
get_plt_item_size(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -69,10 +69,10 @@ typedef struct JITDescriptor {
|
||||
* and inline assembler statement inside.
|
||||
*/
|
||||
void attribute_noinline
|
||||
__jit_debug_register_code();
|
||||
__jit_debug_register_code(void);
|
||||
|
||||
void attribute_noinline
|
||||
__jit_debug_register_code()
|
||||
__jit_debug_register_code(void)
|
||||
{
|
||||
int x;
|
||||
*(char *)&x = '\0';
|
||||
@ -96,7 +96,7 @@ extern JITDescriptor __jit_debug_descriptor;
|
||||
* This gives the debugger an easy way to inject custom code to
|
||||
* handle the events.
|
||||
*/
|
||||
void (*__jit_debug_register_code_ptr)() = __jit_debug_register_code;
|
||||
void (*__jit_debug_register_code_ptr)(void) = __jit_debug_register_code;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
@ -171,7 +171,7 @@ DestroyJITCodeEntryInternal(JITCodeEntry *entry)
|
||||
}
|
||||
|
||||
bool
|
||||
jit_debug_engine_init()
|
||||
jit_debug_engine_init(void)
|
||||
{
|
||||
if (jit_debug_engine) {
|
||||
return true;
|
||||
@ -194,7 +194,7 @@ jit_debug_engine_init()
|
||||
}
|
||||
|
||||
void
|
||||
jit_debug_engine_destroy()
|
||||
jit_debug_engine_destroy(void)
|
||||
{
|
||||
if (jit_debug_engine) {
|
||||
WASMJITEntryNode *node, *node_next;
|
||||
|
||||
@ -11,10 +11,10 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
bool
|
||||
jit_debug_engine_init();
|
||||
jit_debug_engine_init(void);
|
||||
|
||||
void
|
||||
jit_debug_engine_destroy();
|
||||
jit_debug_engine_destroy(void);
|
||||
|
||||
bool
|
||||
jit_code_entry_create(const uint8 *symfile_addr, uint64 symfile_size);
|
||||
|
||||
Reference in New Issue
Block a user