Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/pxeboot Move an instruction above .code1...
details: https://anonhg.NetBSD.org/src/rev/0b33a05082b2
branches: trunk
changeset: 790741:0b33a05082b2
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 20 00:16:16 2013 +0000
description:
Move an instruction above .code16 so that it produces an R_386_32 instead
of an R_386_16 relocation, which is truncated to fit. XXX: untested.
diffstat:
sys/arch/i386/stand/pxeboot/pxe_call.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r e70f000e0522 -r 0b33a05082b2 sys/arch/i386/stand/pxeboot/pxe_call.S
--- a/sys/arch/i386/stand/pxeboot/pxe_call.S Sun Oct 20 00:01:55 2013 +0000
+++ b/sys/arch/i386/stand/pxeboot/pxe_call.S Sun Oct 20 00:16:16 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pxe_call.S,v 1.3 2003/02/01 14:48:19 dsl Exp $ */
+/* $NetBSD: pxe_call.S,v 1.4 2013/10/20 00:16:16 christos Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -88,10 +88,10 @@
movl 8(%ebp), %ebx
call _C_LABEL(prot_to_real) # enter real mode
+ /* prot_to_real() has already set %es to BOOTSEG */
+ lea _C_LABEL(pxe_command_buf), %edi
.code16
- /* prot_to_real() has already set %es to BOOTSEG */
- lea _C_LABEL(pxe_command_buf), %di
/* The encoding is: 0x9a offlo offhi seglo seghi */
lcall $0, $0xffff
Home |
Main Index |
Thread Index |
Old Index