浏览代码

[MIPS] Remove useless instructions for initializing $gp.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Shinya Kuribayashi 17 年之前
父节点
当前提交
16664f7285
共有 1 个文件被更改,包括 1 次插入3 次删除
  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.