arm: work around assembler bug
authorAllen Martin <amartin@nvidia.com>
Wed, 18 Jul 2012 13:45:53 +0000 (13:45 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 4 Oct 2012 12:19:04 +0000 (14:19 +0200)
commit0f20bb601f134540a3608a9da5a7b4155e477ece
tree3b0c645dd387c8d0cd700f81293b7baf8cd8e397
parent2051ff3450113f4eb6aad250a9a3fc8c4af149dc
arm: work around assembler bug

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://sourceware.org/bugzilla/show_bug.cgi?id=12532

Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Tom Rini <trini@ti.com>
arch/arm/config.mk