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

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.

Paul

  reply	other threads:[~2007-04-15 19:25 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 [this message]
2007-04-15 19:37           ` Blue Swirl
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=200704152020.17217.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=blauwirbel@gmail.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).