diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a370597bac..a6fbe59294 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2015-03-10 Yuri Gribov + + PR ld/16572 + * elf32-arm.c (elf32_arm_final_link_relocate): Remove support for + ELF_ARM_HASENTRY. + (elf32_arm_print_private_bfd_data): Likewise. + 2015-03-06 Nick Clifton PR binutils/17765 diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index c9e314eafe..113f4ebe84 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -8234,18 +8234,6 @@ elf32_arm_final_link_relocate (reloc_howto_type * howto, if (r_type != howto->type) howto = elf32_arm_howto_from_type (r_type); - /* If the start address has been set, then set the EF_ARM_HASENTRY - flag. Setting this more than once is redundant, but the cost is - not too high, and it keeps the code simple. - - The test is done here, rather than somewhere else, because the - start address is only set just before the final link commences. - - Note - if the user deliberately sets a start address of 0, the - flag will not be set. */ - if (bfd_get_start_address (output_bfd) != 0) - elf_elfheader (output_bfd)->e_flags |= EF_ARM_HASENTRY; - eh = (struct elf32_arm_link_hash_entry *) h; sgot = globals->root.sgot; local_got_offsets = elf_local_got_offsets (input_bfd); @@ -12394,10 +12382,7 @@ elf32_arm_print_private_bfd_data (bfd *abfd, void * ptr) if (flags & EF_ARM_RELEXEC) fprintf (file, _(" [relocatable executable]")); - if (flags & EF_ARM_HASENTRY) - fprintf (file, _(" [has entry point]")); - - flags &= ~ (EF_ARM_RELEXEC | EF_ARM_HASENTRY); + flags &= ~EF_ARM_RELEXEC; if (flags) fprintf (file, _("")); diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1124122722..d10dd2370e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2015-03-10 Yuri Gribov + + PR ld/16572 + * readelf.c: Remove support for ELF_ARM_HASENTRY. + 2015-03-05 Nick Clifton PR binutils/18064 diff --git a/binutils/readelf.c b/binutils/readelf.c index 06fa8d5ad3..d0b66aedf4 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2280,12 +2280,6 @@ decode_ARM_machine_flags (unsigned e_flags, char buf[]) e_flags &= ~ EF_ARM_RELEXEC; } - if (e_flags & EF_ARM_HASENTRY) - { - strcat (buf, ", has entry point"); - e_flags &= ~ EF_ARM_HASENTRY; - } - /* Now handle EABI specific flags. */ switch (eabi) { diff --git a/include/ChangeLog b/include/ChangeLog index cdce0a8f6c..35da01586e 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2015-03-10 Matthew Wahab + + PR ld/16572 + * elf/arm.h (EF_ARM_HASENTRY): Remove. + 2015-02-19 Pedro Alves * floatformat.h [__cplusplus]: Wrap in extern "C". diff --git a/include/elf/arm.h b/include/elf/arm.h index 7c025c1d43..c64e7886e9 100644 --- a/include/elf/arm.h +++ b/include/elf/arm.h @@ -24,7 +24,6 @@ /* Processor specific flags for the ELF header e_flags field. */ #define EF_ARM_RELEXEC 0x01 -#define EF_ARM_HASENTRY 0x02 #define EF_ARM_INTERWORK 0x04 #define EF_ARM_APCS_26 0x08 #define EF_ARM_APCS_FLOAT 0x10