Selaa lähdekoodia

(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 vuotta sitten
vanhempi
commit
4c4e4de18f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/arch/i386/transitions/librm.S

+ 1
- 1
src/arch/i386/transitions/librm.S Näytä tiedosto

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…
Peruuta
Tallenna