mirror of
https://github.com/ipxe/ipxe
synced 2025-12-09 02:40:27 +03:00
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).
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user