Browse Source

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 years ago
parent
commit
5d57cd47a2
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      src/arch/i386/include/librm.h

+ 0
- 1
src/arch/i386/include/librm.h View File

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"

Loading…
Cancel
Save