EF_ARM_HASENTRY is non-standard EABI flag which is not supported by e.g. Gold. ARM recommends to remove it from BFD ld as well (see https://sourceware.org/ml/binutils/2014-02/msg00086.html).
Created attachment 7408 [details] Proposed patch Attaching proposed patch which removes any mentions of HASENTRY from ld and readelf. I see no regressions on build tests (haven't checked runtime tests though).
The master branch has been updated by Jiong Wang <jiwang@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a5721eddd18f4ba11adbc9bef0c6cb49a0cb69b4 commit a5721eddd18f4ba11adbc9bef0c6cb49a0cb69b4 Author: Jiong Wang <jiong.wang@arm.com> Date: Tue Mar 10 11:15:13 2015 +0000 [ARM] PR ld/16572: Remove EF_ARM_HASENTRY flag bfd/ 2015-03-10 Yuri Gribov <y.gribov@samsung.arm> PR ld/16572 * elf32-arm.c (elf32_arm_final_link_relocate): Remove support for ELF_ARM_HASENTRY. (elf32_arm_print_private_bfd_data): Likewise. binutils/ 2015-03-10 Yuri Gribov <y.gribov@samsung.arm> PR ld/16572 * readelf.c: Remove support for ELF_ARM_HASENTRY. include/ 2015-03-10 Matthew Wahab <matthew.wahab@arm.com> PR ld/16572 * elf/arm.h (EF_ARM_HASENTRY): Remove.
Should be fixed by Matthew's commit.