Hello Andreas,

On Sunday, December 21, 2008 you wrote:

> Yuri Tikhonov <y...@emcraft.com> writes:

>> Because ELF standard supports only page sizes up to 64K, then you should
>> use patched binutils for building applications to be run with the 256KB-
>> page sized kernel. The patch for binutils is rather trivial, and may
>> look as follows:
>>
>> --- binutils/bfd/elf32-ppc.c.orig
>> +++ binutils/bfd/elf32-ppc.c
>>
>> -#define ELF_MAXPAGESIZE                0x10000
>> +#define ELF_MAXPAGESIZE                0x40000

> You don't have to patch it, it's enough to pass -zmax-page-size=0x40000
> to the linker.

 Thanks for pointing this. I guess, the -zmax-page-size option is new 
to binutils 2.17.50.0.10. Right?

 I'll remove the STDBINUTILS config option from this patch then, and 
correspondingly update the description.

 Regards, Yuri

 --
 Yuri Tikhonov, Senior Software Engineer
 Emcraft Systems, www.emcraft.com

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to