aboutsummaryrefslogtreecommitdiff
path: root/gold/arm.cc
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/arm.cc
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/arm.cc')
-rw-r--r--gold/arm.cc1
1 files changed, 1 insertions, 0 deletions
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.