浏览代码

(librm_base-1b) is already an offset; no need to apply OFFSET().

Doing so, in fact, seems to expose an assembler bug; (a-b-0) is
apparently not the same as (a-b).  Go figure.
tags/v0.9.3
Michael Brown 18 年前
父节点
当前提交
4c4e4de18f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/arch/i386/transitions/librm.S

+ 1
- 1
src/arch/i386/transitions/librm.S 查看文件

@@ -584,7 +584,7 @@ EXPORT(prot_call):
584 584
 	 */
585 585
 	call	1f
586 586
 1:	popl	%ebp
587
-	movl	OFFSET(librm_base-1b)(%ebp), %ebx
587
+	movl	(librm_base-1b)(%ebp), %ebx
588 588
 	
589 589
 	/* Jump to running in installed copy of librm */
590 590
 	addl	$OFFSET(1f), %ebx

正在加载...
取消
保存