linux-parisc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guy Martin <gmsoft@tuxicoman.be>
To: John David Anglin <dave.anglin@bell.net>
Cc: linux-parisc <linux-parisc@vger.kernel.org>
Subject: Re: Boot failure with 32bit kernel
Date: Thu, 26 Apr 2012 10:48:25 +0200	[thread overview]
Message-ID: <20120426104825.06b5cec8@driller.lan> (raw)
In-Reply-To: <BLU0-SMTP60C76C814A1780515CC0B297200@phx.gbl>

On Sun, 22 Apr 2012 08:20:23 -0400
John David Anglin <dave.anglin@bell.net> wrote:
> 
> Could you try the attached patch?  It adjusts the section arrangement
> so that the long branch stubs don't appear at the start of .text.  As
> a result,
> _stext and stext now are at 10100000.

Works like a charm. I was able to boot all the kernels I had issue with.

Tested-by: Guy Martin <gmsoft@tuxicoman.be>

Thanks a lot !

  Guy

> 
> The problem arises from section merging and a few branch distances
> in the kernel exceeding the PA 2.0 limit.
> 
> The patch might not work if the long branch stubs don't work...
> 
> Another approach might be to add -mlong-calls to CFLAGS.  However,
> these calls are less efficient.
> 
> Dave
> --
> John David Anglin	dave.anglin@bell.net
> 
> 



  reply	other threads:[~2012-04-26  8:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-19  8:26 Boot failure with 32bit kernel Guy Martin
2012-04-21 19:15 ` John David Anglin
2012-04-21 21:43   ` John David Anglin
2012-04-22 12:20 ` John David Anglin
2012-04-26  8:48   ` Guy Martin [this message]
2012-05-17  7:57   ` James Bottomley

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=20120426104825.06b5cec8@driller.lan \
    --to=gmsoft@tuxicoman.be \
    --cc=dave.anglin@bell.net \
    --cc=linux-parisc@vger.kernel.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).