aboutsummaryrefslogtreecommitdiff
path: root/gold/x86_64.cc
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2009-11-09 23:07:30 +0000
committerDoug Kwan <dougkwan@google.com>2009-11-09 23:07:30 +0000
commitac33a407acc5d00aa5a8617d4272b6a2ad01c480 (patch)
tree550c3d6e9a7e1a933b8f9713a5cd0b91efc365f3 /gold/x86_64.cc
parent3ec0c9a0ca9de67c395255f9173e0e545e791811 (diff)
downloadgdb-ac33a407acc5d00aa5a8617d4272b6a2ad01c480.zip
gdb-ac33a407acc5d00aa5a8617d4272b6a2ad01c480.tar.gz
gdb-ac33a407acc5d00aa5a8617d4272b6a2ad01c480.tar.bz2
2009-11-10 Doug Kwan <dougkwan@google.com>
* i386.cc (Target_i386::do_calls_non_split): Add a cast to avoid a format warning. * incremental.cc (open_incremental_binary): Initialized local variables to avoid warnings. * object.cc (make_elf_object): Ditto. * x86_64.cc (Target_x86_64::do_calls_non_split): Add a cast to avoid a format warning.
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r--gold/x86_64.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index cbc45be..5526f6f 100644
--- a/gold/x86_64.cc
+++ b/gold/x86_64.cc
@@ -2705,7 +2705,7 @@ Target_x86_64::do_calls_non_split(Relobj* object, unsigned int shndx,
if (!object->has_no_split_stack())
object->error(_("failed to match split-stack sequence at "
"section %u offset %0zx"),
- shndx, fnoffset);
+ shndx, static_cast<size_t>(fnoffset));
return;
}