Subversion Repositories HelenOS

Rev

Rev 391 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 391 Rev 429
Line 48... Line 48...
48
 
48
 
49
# MSIM needs lwl/swl patch & 4kc instruction patch to work
49
# MSIM needs lwl/swl patch & 4kc instruction patch to work
50
# otherwise add -mmemcpy -mips3
50
# otherwise add -mmemcpy -mips3
51
ifeq (${MACHINE},msim4kc)
51
ifeq (${MACHINE},msim4kc)
52
 BFD = binary
52
 BFD = binary
53
 CFLAGS += -msoft-float -march=4kc 
53
 CFLAGS += -mhard-float -march=4kc 
54
 KERNEL_LOAD_ADDRESS = 0x80100000
54
 KERNEL_LOAD_ADDRESS = 0x80100000
55
 BFD_NAME=elf32-little
55
 BFD_NAME=elf32-little
56
endif
56
endif
57
 
57
 
58
ifeq (${MACHINE},msim)
58
ifeq (${MACHINE},msim)
59
 BFD = binary
59
 BFD = binary
60
 CFLAGS += -msoft-float -mips3
60
 CFLAGS += -mhard-float -mips3
61
 KERNEL_LOAD_ADDRESS = 0x80100000
61
 KERNEL_LOAD_ADDRESS = 0x80100000
62
 BFD_NAME=elf32-little
62
 BFD_NAME=elf32-little
63
endif
63
endif
64
 
64
 
65
# SIMICS 4kc emulation is broken, although for instructions
65
# SIMICS 4kc emulation is broken, although for instructions
66
# that do not bother us
66
# that do not bother us
67
ifeq (${MACHINE},simics)
67
ifeq (${MACHINE},simics)
68
 BFD = elf32-little
68
 BFD = elf32-little
69
 CFLAGS += -msoft-float -mips3
69
 CFLAGS += -mhard-float -mips3
70
 KERNEL_LOAD_ADDRESS = 0x80100000
70
 KERNEL_LOAD_ADDRESS = 0x80100000
71
 BFD_NAME=elf32-little
71
 BFD_NAME=elf32-little
72
endif
72
endif
73
 
73
 
74
arch/$(ARCH)/_link.ld: arch/$(ARCH)/_link.ld.in
74
arch/$(ARCH)/_link.ld: arch/$(ARCH)/_link.ld.in