From: Mike Frysinger <vapier@gentoo.org>
To: binutils@sourceware.org
Cc: Paul Koning <pkoning@equallogic.com>
Subject: Re: Program section alignment on MIPS
Date: Tue, 27 Mar 2007 08:30:00 -0000 [thread overview]
Message-ID: <200703262313.06672.vapier@gentoo.org> (raw)
In-Reply-To: <17928.27966.93000.486100@gargle.gargle.HOWL>
[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]
On Monday 26 March 2007, 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.
search the archives ... this comes up from time to time
> 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.
look at the ELF_MAXPAGESIZE defines in the bfd/*elf*mips* files ... for 2.17,
you'll need to change the define by hand:
http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/toolchain/binutils/2.17/400-mips-ELF_MAXPAGESIZE-4K.patch?rev=15498&view=auto
in latest binutils, there's a new ld option so you can change it on the
fly ... -z max-page-size and -z common-page-size
-mike
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
next prev parent reply other threads:[~2007-03-27 5:40 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 [this message]
2007-03-27 11:20 ` Thiemo Seufer
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=200703262313.06672.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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).