bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/17329] Error: PC relative branch to label <foo> which is n


From: nickc at redhat dot com
Subject: [Bug binutils/17329] Error: PC relative branch to label <foo> which is not in the instruction space
Date: Wed, 10 Sep 2014 14:05:17 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17329

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
Hi Thomas,

> Summary: it's the combination of an optimization flag (-O) with debugging
> symbols (-g) that fails.
>
> So, after all, maybe it's more a gcc issue than a binutils issue?

Almost certainly.  The bug is probably that gcc is generating a short 
version of a branch instruction (on instruction sequence) when it should 
be producing a long version instead.  Probably because it has 
incorrectly calculated the lengths of the instructions between the 
source and destination of the branch.

Cheers
   Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]