/SPARTAN/trunk/arch/mips/boot/boot.s |
---|
32,7 → 32,6 |
.set noreorder |
.set nomacro |
.global start |
start: |
# move 0x80000000 to reg $8 |
lui $8, 0x8000 |
/SPARTAN/trunk/arch/mips/boot/Makefile |
---|
1,5 → 1,5 |
MIPS_BINUTILS_DIR=/usr/local/mipsel/bin |
MIPS_TARGET=mipsel-linux-gnu |
MIPS_BINUTILS_DIR=/usr/local/mips/bin |
MIPS_TARGET=decstation-ultrix |
.PHONY: nothing build |
11,8 → 11,8 |
AS=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-as |
LD=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-ld |
ASFLAGS=-mips2 |
LFLAGS=--oformat=binary -mips2 -e start |
ASFLAGS=-mips2 -EL |
LFLAGS=--oformat=binary -mips2 -EL -e start |
boot.bin: boot.o |
$(LD) $(LFLAGS) boot.o -o $@ |