Fix thumb compilation with clang.
authorVladimir Serbinenko <phcoder@gmail.com>
Wed, 1 Feb 2017 23:59:49 +0000 (00:59 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Wed, 1 Feb 2017 23:59:49 +0000 (00:59 +0100)
commit42e24b60066fb8d75653423324b0b9ac80be6096
tree181ee2f2dbd72b8f12b5be4a4cbe2517cc1fcda1
parent08438d783f3feb8e50c5e89a1654665acfeff912
Fix thumb compilation with clang.

According to EABI only STT_FUNC has convention of lowest bit indicating
execution mode. R_THM_{JUMP,CALL}* relocations are assumed to be pointing
to thumb mode unless they use STT_FUNC.
grub-core/kern/arm/dl.c
util/grub-mkimagexx.c