bug-binutils
[Top][All Lists]
Advanced

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

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


From: Nicholas Clifton
Subject: Re: [Bug binutils/17329] Error: PC relative branch to label <foo> which is not in the instruction space
Date: Wed, 10 Sep 2014 15:04:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0

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





reply via email to

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