public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Yi CDL Yang <yyangcdl@cn.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org, binutils@sourceware.org, bug-binutils@gnu.org
Subject: 2.6.19-rc2 has ld error for ppc64
Date: Tue, 17 Oct 2006 19:11:51 +0800	[thread overview]
Message-ID: <4534BA77.6040400@cn.ibm.com> (raw)

On building 2.6.19-rc2 on ppc64, ld always reports such an error:

".text exceeds stub group size"

...

this patch can make ld happy without any complain.


--- binutils-2.17/bfd/elf64-ppc.c.orig 2006-10-16 23:58:53.000000000 -0400
+++ binutils-2.17/bfd/elf64-ppc.c 2006-10-16 18:43:57.000000000 -0400
@@ -4538,6 +4538,7 @@ ppc64_elf_check_relocs (bfd *abfd, struc
case R_PPC64_REL14_BRTAKEN:
case R_PPC64_REL14_BRNTAKEN:
{
+ htab->has_14bit_branch = 0;
asection *dest = NULL;

/* Heuristic: If jumping outside our section, chances are



             reply	other threads:[~2006-10-17 11:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-17 11:11 Yi CDL Yang [this message]
2006-10-17 13:29 ` 2.6.19-rc2 has ld error for ppc64 Alan Modra
2006-10-18  1:44   ` Yi CDL Yang

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=4534BA77.6040400@cn.ibm.com \
    --to=yyangcdl@cn.ibm.com \
    --cc=akpm@osdl.org \
    --cc=binutils@sourceware.org \
    --cc=bug-binutils@gnu.org \
    --cc=linux-kernel@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