소스 검색

(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

Loading…
취소
저장