* 2.6.19-rc2 has ld error for ppc64
@ 2006-10-17 15:36 Yi CDL Yang
2006-10-17 16:06 ` Alan Modra
0 siblings, 1 reply; 3+ messages in thread
From: Yi CDL Yang @ 2006-10-17 15:36 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
* Re: 2.6.19-rc2 has ld error for ppc64
2006-10-17 15:36 2.6.19-rc2 has ld error for ppc64 Yi CDL Yang
@ 2006-10-17 16:06 ` Alan Modra
2006-10-18 13:04 ` Yi CDL Yang
0 siblings, 1 reply; 3+ messages in thread
From: Alan Modra @ 2006-10-17 16:06 UTC (permalink / raw)
To: Yi CDL Yang; +Cc: linux-kernel, akpm, binutils, bug-binutils
On Tue, Oct 17, 2006 at 07:11:51PM +0800, Yi CDL Yang wrote:
> On building 2.6.19-rc2 on ppc64, ld always reports such an error:
>
> ".text exceeds stub group size"
This is not an error. It is just a warning that might help explain a
later error. If the linker doesn't give any errors then the warning
may safely be ignored.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.19-rc2 has ld error for ppc64
2006-10-17 16:06 ` Alan Modra
@ 2006-10-18 13:04 ` Yi CDL Yang
0 siblings, 0 replies; 3+ messages in thread
From: Yi CDL Yang @ 2006-10-18 13:04 UTC (permalink / raw)
To: Alan Modra; +Cc: linux-kernel, akpm, binutils, bug-binutils
Alan Modra 写道:
> On Tue, Oct 17, 2006 at 07:11:51PM +0800, Yi CDL Yang wrote:
>> On building 2.6.19-rc2 on ppc64, ld always reports such an error:
>>
>> ".text exceeds stub group size"
>
> This is not an error. It is just a warning that might help explain a
> later error. If the linker doesn't give any errors then the warning
> may safely be ignored.
>
Many warnings aren't a good thing, we should have a clean build, this
patch should be good.
^ 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 15:36 2.6.19-rc2 has ld error for ppc64 Yi CDL Yang
2006-10-17 16:06 ` Alan Modra
2006-10-18 13:04 ` 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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).