MacBook-Pro-de-Yann-Sionneau:NetBSD fallen$ cd sys/arch/milkymist/compile/obj/GENERIC/ MacBook-Pro-de-Yann-Sionneau:GENERIC fallen$ /Users/fallen/dev/NetBSD/obj/tooldir.Darwin-10.8.0-i386/bin/lm32--netbsd-gcc -x assembler-with-cpp -D_LOCORE -Wa,--fatal-warnings --sysroot=/Users/fallen/dev/NetBSD/obj/destdir.milkymist -Dmilkymist -I. -I/Users/fallen/dev/NetBSD/sys/../common/include -I/Users/fallen/dev/NetBSD/sys/arch -I/Users/fallen/dev/NetBSD/sys -nostdinc -DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/Users/fallen/dev/NetBSD/sys/lib/libkern/../../../common/lib/libc/quad -I/Users/fallen/dev/NetBSD/sys/lib/libkern/../../../common/lib/libc/string -I/Users/fallen/dev/NetBSD/sys/lib/libkern/../../../common/lib/libc/arch/lm32/string -c /Users/fallen/dev/NetBSD/sys/arch/lm32/lm32/locore_subr.S /Users/fallen/dev/NetBSD/sys/arch/lm32/lm32/locore_subr.S: Assembler messages: /Users/fallen/dev/NetBSD/sys/arch/lm32/lm32/locore_subr.S:53: Error: unresolved expression that must be resolved MacBook-Pro-de-Yann-Sionneau:GENERIC fallen$ /Users/fallen/dev/NetBSD/obj/tooldir.Darwin-10.8.0-i386/bin/lm32--netbsd-gcc -x assembler-with-cpp -D_LOCORE -Wa,--fatal-warnings --sysroot=/Users/fallen/dev/NetBSD/obj/destdir.milkymist -Dmilkymist -I. -I/Users/fallen/dev/NetBSD/sys/../common/include -I/Users/fallen/dev/NetBSD/sys/arch -I/Users/fallen/dev/NetBSD/sys -nostdinc -DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/Users/fallen/dev/NetBSD/sys/lib/libkern/../../../common/lib/libc/quad -I/Users/fallen/dev/NetBSD/sys/lib/libkern/../../../common/lib/libc/string -I/Users/fallen/dev/NetBSD/sys/lib/libkern/../../../common/lib/libc/arch/lm32/string -E -c /Users/fallen/dev/NetBSD/sys/arch/lm32/lm32/locore_subr.S # 1 "/Users/fallen/dev/NetBSD/sys/arch/lm32/lm32/locore_subr.S" # 1 "" # 1 "" # 1 "/Users/fallen/dev/NetBSD/sys/arch/lm32/lm32/locore_subr.S" # 1 "./lm32/asm.h" 1 # 6 "/Users/fallen/dev/NetBSD/sys/arch/lm32/lm32/locore_subr.S" 2 # 1 "./assym.h" 1 # 7 "/Users/fallen/dev/NetBSD/sys/arch/lm32/lm32/locore_subr.S" 2 .text ; .align 2 ; .globl suword ; .type suword,@function ; suword: .text ; .align 2 ; .globl susword ; .type susword,@function ; susword: .text ; .align 2 ; .globl suswintr ; .type suswintr,@function ; suswintr: .text ; .align 2 ; .globl subyte ; .type subyte,@function ; subyte: .text ; .align 2 ; .globl fuswintr ; .type fuswintr,@function ; fuswintr: .text ; .align 2 ; .globl kcopy ; .type kcopy,@function ; kcopy: .text ; .align 2 ; .globl setjmp ; .type setjmp,@function ; setjmp: .text ; .align 2 ; .globl longjmp ; .type longjmp,@function ; longjmp: # 46 "/Users/fallen/dev/NetBSD/sys/arch/lm32/lm32/locore_subr.S" .text ; .align 2 ; .globl cpu_switchto ; .type cpu_switchto,@function ; cpu_switchto: addi sp, sp, -16 sw (sp+0), fp sw (sp+4), ra sw (sp+8), r11 sw (sp+12), r12 ori fp, r0, 16 addi fp, sp, sp lw r11, (r1+24) sw (r11+4), sp sw (r11+12), fp sw (r11+8), ra 1: lw r12, (r2+24) lw ra, (r12+8) lw fp, (r12+12) lw sp, (r12+4) mvhi r25, hi(cpu_info_store) ; ori r25, r25, lo(cpu_info_store) ; lw r12, (r25+340) bne r3, r0, 4f 4: lw r12, (sp+12) lw r11, (sp+8) lw ra, (sp+4) lw fp, (sp+0) addi sp, sp, 16 ret