public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.19-rc2 has ld error for ppc64
@ 2006-10-17 11:11 Yi CDL Yang
  2006-10-17 13:29 ` Alan Modra
  0 siblings, 1 reply; 3+ messages in thread
From: Yi CDL Yang @ 2006-10-17 11:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, binutils, bug-binutils

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-18  1:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-17 11:11 2.6.19-rc2 has ld error for ppc64 Yi CDL Yang
2006-10-17 13:29 ` Alan Modra
2006-10-18  1:44   ` Yi CDL Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox