From 2bca03770d4d219b4e29d43754a9d95a4152255a Mon Sep 17 00:00:00 2001 From: Han Shen Date: Thu, 16 Jul 2015 15:59:16 -0700 Subject: [PATCH] Properly set arm-specific elf flags wrt hardfp. gold/ChangeLog: * arm.cc (Target_arm::do_adjust_elf_header): Set flags into view. --- gold/ChangeLog | 6 ++++++ gold/arm.cc | 1 + 2 files changed, 7 insertions(+) diff --git a/gold/ChangeLog b/gold/ChangeLog index 596c1d7a942..41e32da3357 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2015-07-20 Han Shen + + Fix arm elf header flags wrt hardfp bit. + + * arm.cc (Target_arm::do_adjust_elf_header): Set flags into view. + 2015-07-20 H.J. Lu PR gold/18689 diff --git a/gold/arm.cc b/gold/arm.cc index ec8b89d2f30..621b28e4c26 100644 --- a/gold/arm.cc +++ b/gold/arm.cc @@ -10556,6 +10556,7 @@ Target_arm::do_adjust_elf_header( } elfcpp::Ehdr_write<32, big_endian> oehdr(view); oehdr.put_e_ident(e_ident); + oehdr.put_e_flags(this->processor_specific_flags()); } // do_make_elf_object to override the same function in the base class. -- 2.30.2