aboutsummaryrefslogtreecommitdiff
path: root/gold/version.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-09 21:37:55 +0000
committerIan Lance Taylor <iant@google.com>2007-10-09 21:37:55 +0000
commit4f211c8bffeed1574606aeb4a3018611f3db3a21 (patch)
tree4ac241124efbbd1ce75b32a2f33169c8680f6599 /gold/version.cc
parent304fe2552d6e0821e8fdb7575f8e7ba6607a076d (diff)
downloadgdb-4f211c8bffeed1574606aeb4a3018611f3db3a21.zip
gdb-4f211c8bffeed1574606aeb4a3018611f3db3a21.tar.gz
gdb-4f211c8bffeed1574606aeb4a3018611f3db3a21.tar.bz2
Create a note section with the version of gold.
Diffstat (limited to 'gold/version.cc')
-rw-r--r--gold/version.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/version.cc b/gold/version.cc
index d7ad19c..dda3d7e 100644
--- a/gold/version.cc
+++ b/gold/version.cc
@@ -55,4 +55,12 @@ This program has absolutely no warranty.\n"));
}
}
+// Return the version string.
+
+const char*
+get_version_string()
+{
+ return version_string;
+}
+
} // End namespace gold.