Bug 16572

Summary: Remove HASENTRY flag from ld on ARM
Product: binutils Reporter: Yury Gribov <y.gribov>
Component: ldAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: jsm28, rearnsha, v.garbuzov, y.gribov
Priority: P2    
Version: 2.25   
Target Milestone: ---   
Host: Target: arm
Build: Last reconfirmed:
Attachments: Proposed patch

Description Yury Gribov 2014-02-13 11:32:39 UTC
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).
Comment 1 Yury Gribov 2014-02-13 11:33:50 UTC
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).
Comment 2 Sourceware Commits 2015-03-10 11:17:04 UTC
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.
Comment 3 Yury Gribov 2015-03-10 11:28:08 UTC
Should be fixed by Matthew's commit.