From: Thiemo Seufer <ths@networkno.de>
To: Paul Koning <pkoning@equallogic.com>
Cc: binutils@sourceware.org
Subject: Re: Program section alignment on MIPS
Date: Tue, 27 Mar 2007 11:20:00 -0000 [thread overview]
Message-ID: <20070327094705.GG23564@networkno.de> (raw)
In-Reply-To: <17928.27966.93000.486100@gargle.gargle.HOWL>
Paul Koning wrote:
> I've noticed a change between binutils 2.17 and older versions (2.14
> at least; don't know for sure when this arrived). In 2.14, the
> program sections were aligned 2**12, which make sense given the MIPS
> page size. In 2.17 they are aligned 2**16, which I don't want and is
> causing trouble.
The architecture allows variable page sizes between 1 k and 256 MB (not
all of them need to be implemented in a specific CPU). Some MIPS-based
machines use now 16 k pages for Linux. 64 k is a reasonable upper bound
for the default value, it is overridable via -z max-page-size /
-z common-page-size.
> The biggest problem is that I can't find out where this number comes
> from, nor how to change it. Looking through the docs for "align"
> turns up assorted things, but none that seem relevant and none that
> help.
Grep for MAXPAGESIZE.
Thiemo
prev parent reply other threads:[~2007-03-27 9:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-27 5:40 Paul Koning
2007-03-27 8:30 ` Mike Frysinger
2007-03-27 11:20 ` Thiemo Seufer [this message]
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=20070327094705.GG23564@networkno.de \
--to=ths@networkno.de \
--cc=binutils@sourceware.org \
--cc=pkoning@equallogic.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 read-only IMAP folder(s) and NNTP newsgroup(s).