search for: code16gcc

Displaying 10 results from an estimated 10 matches for "code16gcc".

2014 Jan 14
2
[LLVMdev] 16-bit x86 status update
...address. LLVM doesn't do that, and is far happier to just use 32-bit addressing whenever it *might* need to. This means that we never really need an explicit addr32 prefix to use 32-bit addressing in 16-bit mode. And also that our code tends to be larger. • We do not support '.code16gcc'. This is a hack which emits code in 16-bit mode but parses the input as if it's in 32-bit mode. So instructions which are ambiguous about their operand size will take their 32-bit form — a plain 'ret' will cause it to emit 'retl', etc. We *could* support this mo...
2014 Jan 14
4
[LLVMdev] 16-bit x86 status update
...far happier to just use 32-bit addressing whenever it *might* > > need to. This means that we never really need an explicit addr32 > > prefix to use 32-bit addressing in 16-bit mode. And also that our > > code tends to be larger. > > > > • We do not support '.code16gcc'. This is a hack which emits code in > > 16-bit mode but parses the input as if it's in 32-bit mode. So > > instructions which are ambiguous about their operand size will take > > their 32-bit form — a plain 'ret' will cause it to emit 'retl', etc. &g...
2004 Jun 22
1
syslinux 2.10 (error during menu compile)
When I try to compile the menu I got the following: gcc -m32 -funsigned-char -g -W -Wall -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -Os -MMD -S -o main.s main.c echo '.code16gcc' | cat - main.s > main.s16 as -o main.o16 main.s16 gcc -m32 -funsigned-char -g -W -Wall -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -Os -MMD -S -o biosio.s biosio.c biosio.c: In function `getdisppage': biosio.c:61: error: bp cannot be used in asm here make: *** <bi...
2011 Apr 07
5
why are warning be treated as errors?
...de include/linux/autoconf.h -g -Os -D_SETUP -D_WAKEUP -D__KERNEL__ -I/home/sclark/rpmbuild/BUILD/kernel-2.6.32/arch/x86/kernel/acpi/realmode/../../../boot -Wall -Wstrict-prototypes -march=i386 -mregparm=3 -include /home/sclark/rpmbuild/BUILD/kernel-2.6.32/arch/x86/kernel/acpi/realmode/../../../boot/code16gcc.h -fno-strict-aliasing -fomit-frame-pointer -ffreestanding -fno-toplevel-reorder -fno-stack-protector -mpreferred-stack-boundary=2 -m32 -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(wakemain)" -D"KBUILD_MODNAME=KBUILD_STR(wakemain)" -D"DEBUG_HASH=57"...
2009 Jan 23
1
[LLVMdev] inline asm semantics: output constraint width smaller than input
On 2009-01-23 20:30, Ingo Molnar wrote: > * Török Edwin <edwintorok at gmail.com> wrote: > > >> Having said that, llvm-gcc is not yet able to compile the full Linux >> kernel on its own [for example the boot code, due to asm(".code16gcc")], >> but with LLVM 2.4 it was possible to build "arch=UM", and "arch=X86" (by >> using gcc to build the bootcode). I'd like LLVM 2.5 to be able to build >> the kernel, so I'll file bugs for llvm/kernel depending on where the >> problem...
2004 Feb 02
10
SYSLINUX 2.09-pre2
This version contains a fix to mbr.asm, plus a version of Murali's menu system, but ported to gcc. Although gcc produces much bigger 16-bit code (since it's really 32-bit code with prefixes) I figured it would be much easier for people to deal with since it requires the configuration to be compiled in. That being said, it's a *very* powerful menu system, partially *because*
2010 Oct 29
0
[LLVMdev] [cfe-dev] clang -integrated-as compiles all of FreeBSD
On Oct 29, 2010, at 8:45 AM, Roman Divacky wrote: > hi! > > To continue the inflow of good news this week, let me announce that > clang -integrated-as (ie. ELF part of MC) compiles all of FreeBSD! > > This includes things like booting kernel, gnu libstdc++, clang/LLVM > itself and many other components that make up FreeBSD operating system. > > I personally consider
2010 Oct 29
3
[LLVMdev] clang -integrated-as compiles all of FreeBSD
hi! To continue the inflow of good news this week, let me announce that clang -integrated-as (ie. ELF part of MC) compiles all of FreeBSD! This includes things like booting kernel, gnu libstdc++, clang/LLVM itself and many other components that make up FreeBSD operating system. I personally consider this a milestone where -integrated-as should become the default for ELF/{x86_64,i386}. Many
2004 Apr 27
2
Gcc 3.4.0 and syslinux-2.09 menu
...s the number of rows minus one but menu.c has this ms->numcols = getnumcols(); ms->numrows = getnumrows(); ms->maxcol = ms->numcols - 1; ms->maxrow = ms->numrows - 1; which makes maxrow = rows - 2. Is this intentional? BTW, if you put this line __asm__ (".code16gcc\n\t"); in an include file and include that file at the top of the .c files then you can simplify the make file considerably. Thanks. -- Ceres 2004-04-27 13:23:45.258 UTC (JD 2453123.058163) X = -1.793726944, Y = 1.473638721, Z = 1.059643564 X' = -0.007481985, Y'...
2012 Sep 07
2
[LLVMdev] The LLVMLinux Project
I'd like to announce the LLVMLinux project. This project aims to fully build the Linux kernel using Clang/LLVM on the various architectures supported by the Linux kernel. The project consolidates the work of the lll-project, the PAX team, and Mark Charlebois' work on the ARM kernel. http://llvm.linuxfoundation.org <http://llvm.linuxfoundation.org/> The hope is that this project