From 5d57cd47a2a0b4a4756fdf4d3f44c93426439b4f Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 18 Jan 2007 18:53:32 +0000 Subject: [PATCH] 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). --- src/arch/i386/include/librm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/arch/i386/include/librm.h b/src/arch/i386/include/librm.h index 859249e4..31bafb3e 100644 --- a/src/arch/i386/include/librm.h +++ b/src/arch/i386/include/librm.h @@ -261,7 +261,6 @@ extern void remove_from_rm_stack ( void *data, size_t size ); #define TEXT16_CODE( asm_code_str ) \ ".section \".text16\", \"ax\", @progbits\n\t" \ ".code16\n\t" \ - ".arch i386\n\t" \ asm_code_str "\n\t" \ ".code32\n\t" \ ".previous\n\t"