From 76055eba406c1615852cd71881ef3ad96a7f7221 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Mon, 6 Nov 2006 18:07:24 +0000 Subject: [PATCH] test: use pre-link asm names (earlier didn't work with some gcc ex. typical cygwin) --- platform/cooja/sys/cooja_mtarch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/cooja/sys/cooja_mtarch.c b/platform/cooja/sys/cooja_mtarch.c index a027ff85c..b84669e8a 100644 --- a/platform/cooja/sys/cooja_mtarch.c +++ b/platform/cooja/sys/cooja_mtarch.c @@ -47,7 +47,7 @@ cooja_mtarch_start(struct cooja_mtarch_thread *t, } /*--------------------------------------------------------------------------*/ __asm__ ( - "cooja_sw:\n\t" + "_cooja_sw:\n\t" "pushl %ebp\n\t" "movl %esp, %ebp\n\t" @@ -60,7 +60,7 @@ __asm__ ( "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 %esp, 0(%eax)\n\t" "movl %ebx, %esp\n\t"