[PATCH][v2] powerpc 44x: support for 256KB PAGE_SIZE
Andreas Schwab
schwab at suse.de
Mon Dec 22 04:07:27 EST 2008
Yuri Tikhonov <yur at 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.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab at suse.de
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."
More information about the Linuxppc-dev
mailing list