summaryrefslogtreecommitdiffstats
path: root/src/arch/i386
diff options
context:
space:
mode:
authorMichael Brown2007-01-18 19:53:32 +0100
committerMichael Brown2007-01-18 19:53:32 +0100
commit5d57cd47a2a0b4a4756fdf4d3f44c93426439b4f (patch)
tree2ee16e1a1dabab0db588a320c6bbd7252a036984 /src/arch/i386
parentAdd DBGLVL_PROFILE (diff)
downloadipxe-5d57cd47a2a0b4a4756fdf4d3f44c93426439b4f.tar.gz
ipxe-5d57cd47a2a0b4a4756fdf4d3f44c93426439b4f.tar.xz
ipxe-5d57cd47a2a0b4a4756fdf4d3f44c93426439b4f.zip
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).
Diffstat (limited to 'src/arch/i386')
-rw-r--r--src/arch/i386/include/librm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/arch/i386/include/librm.h b/src/arch/i386/include/librm.h
index 859249e46..31bafb3ea 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"