summaryrefslogtreecommitdiffstats
path: root/binutils-2.22/gold/target.cc
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2012-11-01 14:19:35 -0700
committerBen Cheng <bccheng@google.com>2012-11-01 14:27:04 -0700
commit6d5ce99288a663253fd2cde30516257f754cc776 (patch)
treed57b8b65cf7b807324908da748ba1845b8e2941a /binutils-2.22/gold/target.cc
parent6b95f5ef54a29597409e24d7fe6670238d58ff04 (diff)
downloadtoolchain_binutils-6d5ce99288a663253fd2cde30516257f754cc776.zip
toolchain_binutils-6d5ce99288a663253fd2cde30516257f754cc776.tar.gz
toolchain_binutils-6d5ce99288a663253fd2cde30516257f754cc776.tar.bz2
Refresh binutils to 2.22.90.
Missing local patches will be added after. Change-Id: I7e5f7529f165a48db48a07f08b85f36c2faa8d4a
Diffstat (limited to 'binutils-2.22/gold/target.cc')
-rw-r--r--binutils-2.22/gold/target.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils-2.22/gold/target.cc b/binutils-2.22/gold/target.cc
index 091f9d3..a47d74f 100644
--- a/binutils-2.22/gold/target.cc
+++ b/binutils-2.22/gold/target.cc
@@ -217,13 +217,13 @@ Sized_target<size, big_endian>::do_adjust_elf_header(unsigned char* view,
{
gold_assert(len == elfcpp::Elf_sizes<size>::ehdr_size);
- elfcpp::Ehdr<size, false> ehdr(view);
+ elfcpp::Ehdr<size, big_endian> ehdr(view);
unsigned char e_ident[elfcpp::EI_NIDENT];
memcpy(e_ident, ehdr.get_e_ident(), elfcpp::EI_NIDENT);
e_ident[elfcpp::EI_OSABI] = osabi;
- elfcpp::Ehdr_write<size, false> oehdr(view);
+ elfcpp::Ehdr_write<size, big_endian> oehdr(view);
oehdr.put_e_ident(e_ident);
}
}