linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Yuri Tikhonov <yur@emcraft.com>
To: Andreas Schwab <schwab@suse.de>
Cc: wd@denx.de, dzu@denx.de, miltonm@bga.com,
	linuxppc-dev@ozlabs.org, paulus@samba.org, yanok@emcraft.com
Subject: Re[2]: [PATCH][v2] powerpc 44x: support for 256KB PAGE_SIZE
Date: Sun, 21 Dec 2008 23:00:07 +0300	[thread overview]
Message-ID: <947420693.20081221230007@emcraft.com> (raw)
In-Reply-To: <je4p0x319s.fsf@sykes.suse.de>

=0D=0AHello Andreas,

On Sunday, December 21, 2008 you wrote:

> Yuri Tikhonov <yur@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=3D0x40000
> to the linker.

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

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

 Regards, Yuri

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

  reply	other threads:[~2008-12-21 20:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-21 11:46 [PATCH][v2] powerpc 44x: support for 256KB PAGE_SIZE Yuri Tikhonov
2008-12-21 17:07 ` Andreas Schwab
2008-12-21 20:00   ` Yuri Tikhonov [this message]
2008-12-21 20:14     ` Andreas Schwab
2008-12-21 20:35       ` Re[2]: " Yuri Tikhonov
2008-12-21 20:57         ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=947420693.20081221230007@emcraft.com \
    --to=yur@emcraft.com \
    --cc=dzu@denx.de \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=miltonm@bga.com \
    --cc=paulus@samba.org \
    --cc=schwab@suse.de \
    --cc=wd@denx.de \
    --cc=yanok@emcraft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).