Преглед на файлове

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 преди 19 години
родител
ревизия
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"

Loading…
Отказ
Запис