Pārlūkot izejas kodu

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 gadus atpakaļ
vecāks
revīzija
5d57cd47a2
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0
    1
      src/arch/i386/include/librm.h

+ 0
- 1
src/arch/i386/include/librm.h Parādīt failu

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"

Notiek ielāde…
Atcelt
Saglabāt