Bug 16572 - Remove HASENTRY flag from ld on ARM
Summary: Remove HASENTRY flag from ld on ARM
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.25
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-13 11:32 UTC by Yury Gribov
Modified: 2015-03-10 11:28 UTC (History)
4 users (show)

See Also:
Host:
Target: arm
Build:
Last reconfirmed:


Attachments
Proposed patch (865 bytes, patch)
2014-02-13 11:33 UTC, Yury Gribov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.