瀏覽代碼

(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 19 年之前
父節點
當前提交
4c4e4de18f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/arch/i386/transitions/librm.S

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

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

Loading…
取消
儲存