[PATCH] ELF program header

2007-10-12 Thread Robert Millan
It seems that grub-mkimage generates awkward ELF files, in which the Program header table is at the end of the file instead of right after the ELF header. I know very little about ELF, but: - This figure in ELF standard seems to indicate which is the normal (not sure if mandatory) location:

Re: [PATCH] Fixed ieee1275 console

2007-10-12 Thread Marcin Kurek
Hell[o] Right, this is because it seems that the MSB is lost when writing a character to the screen. For the borders specific characters are used above 127 (non-ASCII). I wonder if the Pegasos console supports this ASCII extension if you change some settings or so... The problem is in

Re: [PATCH] generic ELF version of grub-mkimage

2007-10-12 Thread Marco Gerards
Robert Millan [EMAIL PROTECTED] writes: Woops. I've been pointed out that cross-compiles were actually working and should be preserved. I propose this new patch which integrates endianess conversion macros with include/grub/types.h. -- Robert Millan GPLv2 I know my rights; I want my

Re: [PATCH] generic ELF version of grub-mkimage

2007-10-12 Thread Robert Millan
On Fri, Oct 12, 2007 at 05:55:03PM +0200, Robert Millan wrote: Ok. But no, I didn't really notice. I'll fix this entry and keep trying to get it right next time. Does this look good? -- Robert Millan GPLv2 I know my rights; I want my phone call! DRM What use is a phone call, if you are

Re: [PATCH] ELF program header

2007-10-12 Thread Stefan Reinauer
* Robert Millan [EMAIL PROTECTED] [071012 18:19]: It seems that grub-mkimage generates awkward ELF files, in which the Program header table is at the end of the file instead of right after the ELF header. - Our own ELF loader doesn't like phdroff 0x2000 either, from