Thread (68 messages) 68 messages, 13 authors, 2007-07-11

Re: [x86 setup 13/33] Header file to produce 16-bit code with gcc

From: Segher Boessenkool <hidden>
Date: 2007-07-10 14:16:56
Also in: lkml

gcc for i386 can be used with the assembly prefix ".code16gcc" to  
generate
16-bit (real-mode) code.  This header file provides the assembly  
prefix.
This only works correctly with newer GCCs if you pass the
-fno-toplevel-reorder option (and it only works on older
GCC versions by accident).  This option however disables
certain optimisations; but perhaps that doesn't matter all
that much here.


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help