aboutsummaryrefslogtreecommitdiff
path: root/gold/output.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2012-07-10 14:54:29 +0000
committerIan Lance Taylor <ian@airs.com>2012-07-10 14:54:29 +0000
commit81c82a68dc3bb09bd3b5b4101ed9737814023f1a (patch)
tree31f433029323c903f3cb215064e5f10ed627dc2b /gold/output.h
parent686f09d02169f2e74f4465ed61f5be6f6664749b (diff)
downloadgdb-81c82a68dc3bb09bd3b5b4101ed9737814023f1a.zip
gdb-81c82a68dc3bb09bd3b5b4101ed9737814023f1a.tar.gz
gdb-81c82a68dc3bb09bd3b5b4101ed9737814023f1a.tar.bz2
PR gold/14309
* configure.ac: Test whether std::tr1::hash<off_t> works. * gold.h: Add a specialization for std::tr1::hash<off_t> if needed. * output.h (class Output_fill): Add virtual destructor. * configure, config.in: Rebuild.
Diffstat (limited to 'gold/output.h')
-rw-r--r--gold/output.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/output.h b/gold/output.h
index 3796e91..170f0ff 100644
--- a/gold/output.h
+++ b/gold/output.h
@@ -2819,6 +2819,10 @@ class Output_fill
: is_big_endian_(parameters->target().is_big_endian())
{ }
+ virtual
+ ~Output_fill()
+ { }
+
// Return the smallest size chunk of free space that can be
// filled with a dummy compilation unit.
size_t