aboutsummaryrefslogtreecommitdiff
path: root/gold/version.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-01-28 20:09:18 +0000
committerIan Lance Taylor <ian@airs.com>2009-01-28 20:09:18 +0000
commite0ebcf42c2dfc4e486eb73807806ee813a9a0f50 (patch)
tree30bb2d0be9fc41217341f6fe2686a6ca4ade3ff0 /gold/version.cc
parent528aeb629fb4b25a56e0a523a3cbc2c5366fa6b0 (diff)
downloadgdb-e0ebcf42c2dfc4e486eb73807806ee813a9a0f50.zip
gdb-e0ebcf42c2dfc4e486eb73807806ee813a9a0f50.tar.gz
gdb-e0ebcf42c2dfc4e486eb73807806ee813a9a0f50.tar.bz2
* gold.h: Include <cstring> and <stdint.h>.
* version.cc: Include <cstdio>. * object.cc (Sized_relobj::do_layout): Initialize gc_sd to avoid a warning. * reduced_debug_output.cc (insert_into_vector): Rename from Insert_into_vector; change all callers. Use Swap_unaligned to avoid aliasing issue; remove union since it is unnecessary.
Diffstat (limited to 'gold/version.cc')
-rw-r--r--gold/version.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/version.cc b/gold/version.cc
index 2e4b777..71d163b 100644
--- a/gold/version.cc
+++ b/gold/version.cc
@@ -23,6 +23,7 @@
#include "gold.h"
#include <string>
+#include <cstdio>
#include "../bfd/bfdver.h"