aboutsummaryrefslogtreecommitdiff
path: root/gold/output.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-12-20 01:29:04 +0000
committerIan Lance Taylor <iant@google.com>2007-12-20 01:29:04 +0000
commit8f00aeb8a6c1aa281ec1697f1d4fe8c7054273e7 (patch)
tree85c6ae022b67ee83b104c01deb91404be291836d /gold/output.cc
parent007fb11822f5edae45133afb47d9e2ae5e6f5163 (diff)
downloadgdb-8f00aeb8a6c1aa281ec1697f1d4fe8c7054273e7.zip
gdb-8f00aeb8a6c1aa281ec1697f1d4fe8c7054273e7.tar.gz
gdb-8f00aeb8a6c1aa281ec1697f1d4fe8c7054273e7.tar.bz2
Make functions on hot path inline. Remove a mistaken virtual
declaration.
Diffstat (limited to 'gold/output.cc')
-rw-r--r--gold/output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/output.cc b/gold/output.cc
index c7fb32d..fa2bff0 100644
--- a/gold/output.cc
+++ b/gold/output.cc
@@ -1349,7 +1349,7 @@ Output_section::Input_section::finalize_data_size()
// Try to turn an input offset into an output offset.
-bool
+inline bool
Output_section::Input_section::output_offset(
const Relobj* object,
unsigned int shndx,