Re: [U-Boot] [PATCH v4 2/2] arm: work around assembler bug

2012-10-04 Thread Albert ARIBAUD
Hi Allen, On Wed, 18 Jul 2012 16:45:53 -0700, Allen Martin wrote: > Disable sibling call optimization based on binutils version. This is > to work around a bug in the assember in binutils versions < 2.22. > Branches to weak symbols can be incorrectly optimized in thumb mode to > a short branch

Re: [U-Boot] [PATCH v4 2/2] arm: work around assembler bug

2012-08-01 Thread Allen Martin
On Thu, Jul 19, 2012 at 08:08:31AM -0700, Tom Rini wrote: > On 07/18/2012 11:06 PM, Albert ARIBAUD wrote: > > Hi Allen, > > > > On Wed, 18 Jul 2012 16:45:53 -0700, Allen Martin wrote: > >> Disable sibling call optimization based on binutils version. This is > >> to work around a bug in the assem

Re: [U-Boot] [PATCH v4 2/2] arm: work around assembler bug

2012-07-19 Thread Tom Rini
On 07/18/2012 11:06 PM, Albert ARIBAUD wrote: > Hi Allen, > > On Wed, 18 Jul 2012 16:45:53 -0700, Allen Martin wrote: >> Disable sibling call optimization based on binutils version. This is >> to work around a bug in the assember in binutils versions < 2.22. >> Branches to weak symbols can be in

Re: [U-Boot] [PATCH v4 2/2] arm: work around assembler bug

2012-07-18 Thread Albert ARIBAUD
Hi Allen, On Wed, 18 Jul 2012 16:45:53 -0700, Allen Martin wrote: > Disable sibling call optimization based on binutils version. This is > to work around a bug in the assember in binutils versions < 2.22. > Branches to weak symbols can be incorrectly optimized in thumb mode to > a short branch (

[U-Boot] [PATCH v4 2/2] arm: work around assembler bug

2012-07-18 Thread Allen Martin
Disable sibling call optimization based on binutils version. This is to work around a bug in the assember in binutils versions < 2.22. Branches to weak symbols can be incorrectly optimized in thumb mode to a short branch (b.n instruction) that won't reach when the symbol gets preempted. http://so