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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 10 July 2007 16:16:29 Segher Boessenkool wrote:
> > 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).

And on older ones (gcc-3.3-hammer / 3.4 / 4.0 ) -fno-unit-at-a-time

Still it seems quite fragile to me agreed.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux