浏览代码

Declaring the CPU architecture in the middle of an assembly file is

somewhat redundant, and also causes gas to complain when we include
the profiling code (which uses an i586 instruction).
tags/v0.9.3
Michael Brown 18 年前
父节点
当前提交
5d57cd47a2
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0
    1
      src/arch/i386/include/librm.h

+ 0
- 1
src/arch/i386/include/librm.h 查看文件

261
 #define TEXT16_CODE( asm_code_str )			\
261
 #define TEXT16_CODE( asm_code_str )			\
262
 	".section \".text16\", \"ax\", @progbits\n\t"	\
262
 	".section \".text16\", \"ax\", @progbits\n\t"	\
263
 	".code16\n\t"					\
263
 	".code16\n\t"					\
264
-	".arch i386\n\t"				\
265
 	asm_code_str "\n\t"				\
264
 	asm_code_str "\n\t"				\
266
 	".code32\n\t"					\
265
 	".code32\n\t"					\
267
 	".previous\n\t"
266
 	".previous\n\t"

正在加载...
取消
保存