Browse Source

[MIPS] Remove useless instructions for initializing $gp.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Shinya Kuribayashi 17 years ago
parent
commit
16664f7285
1 changed files with 1 additions and 3 deletions
  1. 1 3
      cpu/mips/start.S

+ 1 - 3
cpu/mips/start.S

@@ -238,9 +238,7 @@ reset:
 	nop
 	.word	_gp
 1:
-	move	gp, ra
-	lw	t1, 0(ra)
-	move	gp, t1
+	lw	gp, 0(ra)
 
 #ifdef CONFIG_INCA_IP
 	/* Disable INCA-IP Watchdog.