summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2006-05-14 15:39:27 +0200
committerMichael Brown2006-05-14 15:39:27 +0200
commitb4f941b257098827b42a9f0f50de486a8b7330f1 (patch)
treeeb61cad853a8a9469fb44d5d23e9aa0cefc47b40 /src
parentHandle the '"%c", 0' case correctly. (diff)
downloadipxe-b4f941b257098827b42a9f0f50de486a8b7330f1.tar.gz
ipxe-b4f941b257098827b42a9f0f50de486a8b7330f1.tar.xz
ipxe-b4f941b257098827b42a9f0f50de486a8b7330f1.zip
Specify attributes on .text16.
Diffstat (limited to 'src')
-rw-r--r--src/arch/i386/include/librm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/include/librm.h b/src/arch/i386/include/librm.h
index fdcd25f1..af1470b9 100644
--- a/src/arch/i386/include/librm.h
+++ b/src/arch/i386/include/librm.h
@@ -110,7 +110,7 @@ extern void remove_from_rm_stack ( void *data, size_t size );
#define REAL_FRAGMENT( name, asm_code_str ) \
extern void name ( void ); \
__asm__ __volatile__ ( \
- ".section \".text16\"\n\t" \
+ ".section \".text16\", \"ax\", @progbits\n\t" \
".code16\n\t" \
".arch i386\n\t" \
#name ":\n\t" \