aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorHan Shen <shenhan@google.com>2015-07-16 15:59:16 -0700
committerHan Shen <shenhan@google.com>2015-07-20 11:50:10 -0700
commit2bca03770d4d219b4e29d43754a9d95a4152255a (patch)
tree5b45c8b267b93220276309955f974881e4d5766a /gold
parentf54f5e31ce1270a1e9441348d6f2ea2426352478 (diff)
downloadgdb-2bca03770d4d219b4e29d43754a9d95a4152255a.zip
gdb-2bca03770d4d219b4e29d43754a9d95a4152255a.tar.gz
gdb-2bca03770d4d219b4e29d43754a9d95a4152255a.tar.bz2
Properly set arm-specific elf flags wrt hardfp.
gold/ChangeLog: * arm.cc (Target_arm::do_adjust_elf_header): Set flags into view.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog6
-rw-r--r--gold/arm.cc1
2 files changed, 7 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 596c1d7..41e32da 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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
diff --git a/gold/arm.cc b/gold/arm.cc
index ec8b89d..621b28e 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -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.