From: Segher Boessenkool <segher@kernel.crashing.org>
To: Milton Miller <miltonm@bga.com>
Cc: ppcdev <linuxppc-dev@ozlabs.org>, Alan Modra <amodra@bigpond.net.au>
Subject: Re: [HOW] binutils-2.17 breaks the 2.6.26 kernel
Date: Thu, 17 Jul 2008 01:41:16 +0200 [thread overview]
Message-ID: <51d268160cd0a8f92f75ff0962c1488a@kernel.crashing.org> (raw)
In-Reply-To: <1dce2aab6509053e60f7a59a30974749@bga.com>
> . = ALIGN(0x1000) /* this align directive aparently gets lost
> when stripping the file */
>
> .rodata: AT (.rodata - LOAD_OFFSET): {
> ...
> }
>
> the effects of that align were dropped during strip, shifting all
> following sections up in memory and the resulting failure.
The ELF headers show the .rodata section to have 256 byte alignment
only, but after the "bad" strip it isn't even aligned to that
anymore (file offset). Curious.
I still can't reproduce this, but getting the bad binary now (it's
huge, heh). We'll see.
Segher
next prev parent reply other threads:[~2008-07-16 23:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-16 16:21 [HOW] binutils-2.17 breaks the 2.6.26 kernel Milton Miller
2008-07-16 23:41 ` Segher Boessenkool [this message]
2008-07-17 0:38 ` Jon Smirl
2008-07-17 0:49 ` Gabriel Paubert
2008-07-17 13:53 ` Segher Boessenkool
2008-07-21 16:49 ` Rune Torgersen
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=51d268160cd0a8f92f75ff0962c1488a@kernel.crashing.org \
--to=segher@kernel.crashing.org \
--cc=amodra@bigpond.net.au \
--cc=linuxppc-dev@ozlabs.org \
--cc=miltonm@bga.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).