test: use pre-link asm names (earlier didn't work with some gcc ex. typical cygwin)

This commit is contained in:
fros4943 2006-11-06 18:07:24 +00:00
parent cc53f38fbb
commit 76055eba40
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ cooja_mtarch_start(struct cooja_mtarch_thread *t,
} }
/*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/
__asm__ ( __asm__ (
"cooja_sw:\n\t" "_cooja_sw:\n\t"
"pushl %ebp\n\t" "pushl %ebp\n\t"
"movl %esp, %ebp\n\t" "movl %esp, %ebp\n\t"
@ -60,7 +60,7 @@ __asm__ (
"pushl %ebp\n\t" "pushl %ebp\n\t"
"pushl %ebp\n\t" "pushl %ebp\n\t"
"movl cooja_running_thread, %eax\n\t" "movl _cooja_running_thread, %eax\n\t"
"movl 0(%eax), %ebx\n\t" "movl 0(%eax), %ebx\n\t"
"movl %esp, 0(%eax)\n\t" "movl %esp, 0(%eax)\n\t"
"movl %ebx, %esp\n\t" "movl %ebx, %esp\n\t"