Browse Source

Specify attributes on .text16.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
b4f941b257
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/arch/i386/include/librm.h

+ 1
- 1
src/arch/i386/include/librm.h View File

110
 #define	REAL_FRAGMENT( name, asm_code_str )				\
110
 #define	REAL_FRAGMENT( name, asm_code_str )				\
111
 	extern void name ( void );					\
111
 	extern void name ( void );					\
112
 	__asm__ __volatile__ (						\
112
 	__asm__ __volatile__ (						\
113
-		".section \".text16\"\n\t"				\
113
+		".section \".text16\", \"ax\", @progbits\n\t"		\
114
 		".code16\n\t"						\
114
 		".code16\n\t"						\
115
 		".arch i386\n\t"					\
115
 		".arch i386\n\t"					\
116
 		#name ":\n\t"						\
116
 		#name ":\n\t"						\

Loading…
Cancel
Save