浏览代码

[romprefix] Fix romprefix build with certain versions of binutils

Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Valentine Barshak 14 年前
父节点
当前提交
24b62e0e1e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/arch/i386/prefix/romprefix.S

+ 2
- 2
src/arch/i386/prefix/romprefix.S 查看文件

445
 	/* Preserve registers */
445
 	/* Preserve registers */
446
 	pushl	%eax
446
 	pushl	%eax
447
 	pushw	%di
447
 	pushw	%di
448
-	movw	$' ', %di
448
+	movw	$( ' ' ), %di
449
 get_pmm_find:
449
 get_pmm_find:
450
 	/* Try to find existing block */
450
 	/* Try to find existing block */
451
 	pushl	%ebx		/* PMM handle */
451
 	pushl	%ebx		/* PMM handle */
474
 	pushw	%dx
474
 	pushw	%dx
475
 	pushw	%ax
475
 	pushw	%ax
476
 	popl	%esi
476
 	popl	%esi
477
-	movw	$'+', %di	/* Indicate allocation attempt */
477
+	movw	$( '+' ), %di	/* Indicate allocation attempt */
478
 	testl	%esi, %esi
478
 	testl	%esi, %esi
479
 	jnz	get_pmm_done
479
 	jnz	get_pmm_done
480
 	stc
480
 	stc

正在加载...
取消
保存