All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: Carlos Roberto do Nascimento Costa <crncosta@linux.vnet.ibm.com>,
	Hollis Blanchard <hollisb@us.ibm.com>
Subject: Re: PPC64
Date: Mon, 27 Oct 2008 13:19:42 -0400	[thread overview]
Message-ID: <1225127982.4991.7.camel@dv> (raw)
In-Reply-To: <1224885201.7358.53.camel@manoel-laptop>

On Fri, 2008-10-24 at 19:53 -0200, Manoel wrote:
> Changing the load-base worked in the P5 machine but when I tested in the
> P6 machine I got the following message:
> 	Relocation overflow
> In function  grub_arch_dl_relocate_symbols.
> It means that I'm lacking memory?

No.  Look at the code.  For R_PPC_REL24, delta is shifted by 6 bits left
and right and should stay the same.  It's a 32-bit signed integer.  The
overflow would happen for positive numbers that exceed (0x7fffffff>>6)
or 0x01ffffff.  A similar limit exists for negative numbers.  I suggest
that you add some print statements to find out what's happening.

-- 
Regards,
Pavel Roskin



  reply	other threads:[~2008-10-27 17:19 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 20:52 PPC64 Hollis Blanchard
2008-10-21 22:04 ` PPC64 Pavel Roskin
2008-10-21 22:40   ` PPC64 Hollis Blanchard
2008-10-23  5:25     ` PPC64 Pavel Roskin
2008-10-23 15:06       ` PPC64 Hollis Blanchard
2008-10-23 16:52         ` PPC64 Pavel Roskin
2008-10-23 18:00 ` PPC64 Manoel
2008-10-23 19:08   ` PPC64 Hollis Blanchard
2008-10-24 12:10     ` PPC64 Manoel
2008-10-24 14:51       ` PPC64 Hollis Blanchard
2008-10-24 21:53     ` PPC64 Manoel
2008-10-27 17:19       ` Pavel Roskin [this message]
2008-11-04 16:05         ` PPC64 Manoel
2008-11-04 16:12           ` PPC64 Hollis Blanchard
2008-11-04 18:18             ` PPC64 mlongcall gcc flag Manoel
2008-11-04 18:21               ` Manoel
2008-11-04 19:16               ` Robert Millan
2008-11-04 23:48               ` Pavel Roskin
2008-11-05  9:43                 ` Robert Millan
2008-11-05 15:35                   ` Pavel Roskin
2008-11-05 17:25                 ` Hollis Blanchard
2008-11-05 19:27                   ` Manoel
2008-11-06 15:12                   ` Robert Millan
2008-11-06 17:42                     ` Manoel
  -- strict thread matches above, loose matches on Subject: below --
2008-10-27  8:04 PPC64 rubisher
2008-10-20 19:18 PPC64 Manoel
2008-10-20 19:32 ` PPC64 Hollis Blanchard
2008-10-21 16:43   ` PPC64 Manoel

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=1225127982.4991.7.camel@dv \
    --to=proski@gnu.org \
    --cc=crncosta@linux.vnet.ibm.com \
    --cc=grub-devel@gnu.org \
    --cc=hollisb@us.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.