[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.6.19-rc2 has ld error for ppc64
From: |
Yi CDL Yang |
Subject: |
2.6.19-rc2 has ld error for ppc64 |
Date: |
Tue, 17 Oct 2006 19:11:51 +0800 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
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
- 2.6.19-rc2 has ld error for ppc64,
Yi CDL Yang <=