Yuri Tikhonov <[email protected]> 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. Andreas. -- Andreas Schwab, SuSE Labs, [email protected] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Linuxppc-dev mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-dev
