qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Blue Swirl" <blauwirbel@gmail.com>
To: Paul Brook <paul@codesourcery.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu/pc-bios README openbios-sparc32 openbios-s...
Date: Sun, 15 Apr 2007 22:37:08 +0300	[thread overview]
Message-ID: <f43fc5580704151237x4a2b7418pfb1f6f2de733f084@mail.gmail.com> (raw)
In-Reply-To: <200704152020.17217.paul@codesourcery.com>

On 4/15/07, Paul Brook <paul@codesourcery.com> wrote:
> On Sunday 15 April 2007 20:11, Blue Swirl wrote:
> > > Probably the linker is making sure the file offset and VMA are the same
> > > modulo the page size.
> >
> > But that would be one huge file, as the VMA is near 2TB:
>
> I said *modulo the pace size* :-)
> Lets say ld thinks the page size for your system is 1Mb (nor an unreasonable
> assumption).  The vma of .text is aligned on a 1Mb boundary. In order to
> allow loading via mmap, the location of .text within the file must also be
> aligned on a 1Mb boundary. It can't put it at address zero because the ELF
> headers get in the way, so the first viable location is 1Mb into the file.

Nice theory (and I missed the modulo arithmetic, sorry), but on
Ultrasparc the page sizes available are 8k, 64k, 4M and 256M.

  reply	other threads:[~2007-04-15 19:41 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-15  6:38 [Qemu-devel] qemu/pc-bios README openbios-sparc32 openbios-s Blue Swirl
2007-04-15 12:42 ` Stefan Weil
2007-04-15 15:03   ` Blue Swirl
2007-04-15 19:01     ` Paul Brook
2007-04-15 19:11       ` Blue Swirl
2007-04-15 19:20         ` Paul Brook
2007-04-15 19:37           ` Blue Swirl [this message]
2007-04-15 22:08             ` Daniel Jacobowitz
2007-04-16 15:01               ` Blue Swirl
2007-04-16 15:13                 ` Daniel Jacobowitz
2007-04-16 16:23                   ` Blue Swirl
2007-04-16 15:30                 ` Thiemo Seufer
  -- strict thread matches above, loose matches on Subject: below --
2007-04-16 17:41 Blue Swirl
2007-06-28  7:28 Blue Swirl
2007-06-28 13:49 ` Johannes Schindelin
2007-06-28 14:00   ` Blue Swirl
2007-06-28 14:08     ` Johannes Schindelin
2007-08-11  8:16 Blue Swirl
2007-11-14 19:41 Blue Swirl
2007-12-11 19:33 Blue Swirl

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=f43fc5580704151237x4a2b7418pfb1f6f2de733f084@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --cc=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    /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).