The unified diff between revisions [8482057d..] and [58a3ccba..] is displayed below. It can also be downloaded as a raw diff.
# # old_revision [8482057dd1a991674bb30b63b9397a3c5d069df9] # new_revision [58a3ccba47e51398ea76582c5b4a94bf8af04187] # # patch "src/lsi/abi.h" # from [236608e1022f2e510b6b085db0e732e71c36dc40] # to [98e94aff91b2f63bdfe39ead17c398d5a72e5822] # # patch "src/lsi/abispec" # from [0d73d72014de2fc86dd7b847f527aa3dee5027f7] # to [b0c3b84bd74ecfc93d8077780b8fd4e7a4bc569c] # # patch "src/lsi/vm.c" # from [2c18e65f543e306db2ca1023e8ef82724829f4a7] # to [21cb4758184746d16520d59606f7d02c7f055f6a] # ============================================================ --- src/lsi/abi.h 236608e1022f2e510b6b085db0e732e71c36dc40 +++ src/lsi/abi.h 98e94aff91b2f63bdfe39ead17c398d5a72e5822 @@ -7,11 +7,11 @@ typedef int (*vm_intfn)(void); * included in the ABI function table */ -int vm_intfn_nop(void); -int vm_intfn_global_store(void); -int vm_intfn_global_load(void); -int vm_intfn_global_array_store(void); -int vm_intfn_global_array_load(void); +int vm_intfn___nop(void); +int vm_intfn___global_store(void); +int vm_intfn___global_load(void); +int vm_intfn___global_array_store(void); +int vm_intfn___global_array_load(void); int vm_intfn_printint(void); int vm_intfn_printreal(void); int vm_intfn_printstr(void); ============================================================ --- src/lsi/abispec 0d73d72014de2fc86dd7b847f527aa3dee5027f7 +++ src/lsi/abispec b0c3b84bd74ecfc93d8077780b8fd4e7a4bc569c @@ -2,11 +2,11 @@ /* Function assignments */ -function nop -function global_store -function global_load -function global_array_store -function global_array_load +function __nop +function __global_store +function __global_load +function __global_array_store +function __global_array_load function printint function printreal function printstr ============================================================ --- src/lsi/vm.c 2c18e65f543e306db2ca1023e8ef82724829f4a7 +++ src/lsi/vm.c 21cb4758184746d16520d59606f7d02c7f055f6a @@ -84,7 +84,7 @@ void stack_pokereal(struct vm_thread *th void stack_poke(struct vm_thread *thread, int count, stkentry value); void stack_pokereal(struct vm_thread *thread, int count, float value); -int vm_intfn_nop(void) +int vm_intfn___nop(void) { /* Do nothing */ return 1; @@ -95,7 +95,7 @@ int vm_intfn_nop(void) * The compiler does not allocate space for a return value. * They also change the stack pointer. */ -int vm_intfn_global_store(void) +int vm_intfn___global_store(void) { int len, next, value; struct hashentry *hashptr; @@ -130,7 +130,7 @@ gstoreout: return 1; } -int vm_intfn_global_load(void) +int vm_intfn___global_load(void) { int len, next, value; struct hashentry *hashptr; @@ -163,7 +163,7 @@ gloadout: return 1; } -int vm_intfn_global_array_store(void) +int vm_intfn___global_array_store(void) { int len, next, value, index; struct hashentry *hashptr; @@ -210,7 +210,7 @@ gstorearrayout: return 1; } -int vm_intfn_global_array_load(void) +int vm_intfn___global_array_load(void) { int len, next, value, index; struct hashentry *hashptr;