Properly set arm-specific elf flags wrt hardfp.

gold/ChangeLog:
	* arm.cc (Target_arm::do_adjust_elf_header): Set flags into view.
This commit is contained in:
Han Shen 2015-07-16 15:59:16 -07:00
parent f54f5e31ce
commit 2bca03770d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2015-07-20 Han Shen <shenhan@google.com>
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 <hongjiu.lu@intel.com>
PR gold/18689

View File

@ -10556,6 +10556,7 @@ Target_arm<big_endian>::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.