From: Han Shen Date: Thu, 16 Jul 2015 22:59:16 +0000 (-0700) Subject: Properly set arm-specific elf flags wrt hardfp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2bca03770d4d219b4e29d43754a9d95a4152255a;p=binutils-gdb.git Properly set arm-specific elf flags wrt hardfp. gold/ChangeLog: * arm.cc (Target_arm::do_adjust_elf_header): Set flags into view. --- 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.