]> git.ipfire.org Git - thirdparty/grub.git/commit
configure: Disable arm movw/movt relocations for GCC
authorLeif Lindholm <leif.lindholm@linaro.org>
Tue, 4 Jun 2019 11:39:16 +0000 (12:39 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 11 Jul 2019 15:49:54 +0000 (17:49 +0200)
commit2d55ffecbb966d3e42023729d8bbf3c21c59e049
tree3e66a4a953de8f0b7a02f66dcfd06c3ddb8fba7f
parentf2b9083f859c7dbf44a7a8e96ee0cf202f9a4187
configure: Disable arm movw/movt relocations for GCC

When building for arm, we already disable movw/movt relocations for clang,
since they are incompatible with PE.

When building with bare metal GCC toolchains (like the one used in the
travis ci scripts), we end up with these relocations again. So add an
additional test for the '-mword-relocations' flag used by GCC.

Reported-by: Alexander Graf <agraf@csgraf.de>
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
configure.ac