[Buildroot] binutils >=2.29 broken for existing thumb2 code

Laurent GONZALEZ br22 at gezedo.com
Sun Mar 11 10:32:04 UTC 2018

Hi list,

binutils 2.29 introduced a new behavior of pseudo assembly ARM instruction "adr". This broke a few existing software including linux kernel for cortex-M devices. I tumbled on these trying to rebuild stm32f4 config (I might propose to adopt them ;) )

Here are a some pertinent messages about this issue:

As far as I know, gnu as did not recover its legacy "adr" behavior, neither Linux has a patch to overcome the issue.

About buildroot, which will be preferable to fix the issue:
* have a temporary linux patch until it appears in the mainline
* force the use of pre-2.29 binutils
* something else


More information about the buildroot mailing list