Re: RE : Re: Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-11 Thread Eric W. Biederman
Etienne Lorrain <[EMAIL PROTECTED]> writes: > Eric W. Biederman wrote: >> Etienne Lorrain writes: >> > Well, a self relocating image cannot be an ELF file because the code >> > to relocate the ELF cannot be executed at the wrong place. >> > If relocation is needed, I would better like not to l

Re: Re : Re : Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-06 Thread Eric W. Biederman
"H. Peter Anvin" <[EMAIL PROTECTED]> writes: > Etienne Lorrain wrote: >> H. Peter Anvin wrote: >>> I've long wished that someone would do a proper 16-bit x86 port of gcc; >> >>> however, the .code16gcc is usually good enough, although it produces code >>> which is a lot bigger than it needs to be.

Re: Re : Re : Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-06 Thread H. Peter Anvin
Etienne Lorrain wrote: H. Peter Anvin wrote: I've long wished that someone would do a proper 16-bit x86 port of gcc; however, the .code16gcc is usually good enough, although it produces code which is a lot bigger than it needs to be. It is only that much bigger if you compare to 16 bits i

Re : Re : Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-06 Thread Etienne Lorrain
H. Peter Anvin wrote: > I've long wished that someone would do a proper 16-bit x86 port of gcc; > however, the .code16gcc is usually good enough, although it produces > code which is a lot bigger than it needs to be. It is only that much bigger if you compare to 16 bits integer compilers, b

Re: Re : Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-06 Thread H. Peter Anvin
Eric W. Biederman wrote: Modifying the linux real mode assembler, nobody could even want to. I have several times. It's just code. But I do agree it will likely be more maintainable if we can convert it to C. On that same token I wrote a compiler in romcc in another context so I didn't ha

Re: Re : Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-06 Thread Eric W. Biederman
Etienne Lorrain <[EMAIL PROTECTED]> writes: > I am not sure to understand: Gujin calls a function inside the ELF real > mode program header of the Linux kernel. All the system is currently > in real mode. There isn't any limitation in this function of the kernel to > decide to print some message