mpir: fix build on ARM with old binutils versions
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 8 May 2017 19:45:47 +0000 (21:45 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 9 May 2017 15:02:07 +0000 (17:02 +0200)
commit4c0fdc6730459a225d5a61e8e699ce9329c99f19
tree2d18a2ca2e556ac1f206959ac6fcb8cdea17f609
parentf8c4e51d408abc3a439635e1aafa5def9c8110a9
mpir: fix build on ARM with old binutils versions

Old binutils versions are affected by a bug when the assembly code has
whitespace between [ ] signs, causing a build failure of the mpir
package with ARM toolchains using such old binutils versions.

This commit fixes that by adding a patch that removes those whitespaces.

Fixes:

 - http://autobuild.buildroot.net/results/ec67ffdef74b9a61d0491e71f8cb2f8f0b6daa50/
   armv7-ctng-linux-gnueabihf Crosstool-NG toolchain

 - http://autobuild.buildroot.net/results/2e4a27af60065db51aca9e69701bc191d24b2209/
   armv5-ctng-linux-gnueabi Crosstool-NG toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mpir/0001-mpn-arm-udiv.asm-workaround-binutils-bug-14887.patch [new file with mode: 0644]