Przeglądaj źródła

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 17 lat temu
rodzic
commit
5d57cd47a2
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0
    1
      src/arch/i386/include/librm.h

+ 0
- 1
src/arch/i386/include/librm.h Wyświetl plik

@@ -261,7 +261,6 @@ extern void remove_from_rm_stack ( void *data, size_t size );
261 261
 #define TEXT16_CODE( asm_code_str )			\
262 262
 	".section \".text16\", \"ax\", @progbits\n\t"	\
263 263
 	".code16\n\t"					\
264
-	".arch i386\n\t"				\
265 264
 	asm_code_str "\n\t"				\
266 265
 	".code32\n\t"					\
267 266
 	".previous\n\t"

Ładowanie…
Anuluj
Zapisz