Index: arch/mips/boot/Makefile
===================================================================
--- arch/mips/boot/Makefile	(revision 76cec1e21a9510de8780a546f59799bc82003d87)
+++ arch/mips/boot/Makefile	(revision 59532eb0c53e5e34b74c3b084832afcea75d129f)
@@ -1,4 +1,4 @@
-MIPS_BINUTILS_DIR=/usr/local/mips/bin
-MIPS_TARGET=decstation-ultrix
+MIPS_BINUTILS_DIR=/usr/local/mipsel/bin
+MIPS_TARGET=mipsel-linux-gnu
 
 .PHONY: nothing build
@@ -12,6 +12,6 @@
 LD=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-ld
 
-ASFLAGS=-mips2 -EL
-LFLAGS=--oformat=binary -mips2 -EL -e start
+ASFLAGS=-mips2
+LFLAGS=--oformat=binary -mips2 -e start
 
 boot.bin: boot.o
Index: arch/mips/boot/boot.s
===================================================================
--- arch/mips/boot/boot.s	(revision 76cec1e21a9510de8780a546f59799bc82003d87)
+++ arch/mips/boot/boot.s	(revision 59532eb0c53e5e34b74c3b084832afcea75d129f)
@@ -33,4 +33,5 @@
 .set nomacro
 
+.global start
 start:
 	# move 0x80000000 to reg $8
