diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-09 21:37:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-09 21:37:55 +0000 |
commit | 4f211c8bffeed1574606aeb4a3018611f3db3a21 (patch) | |
tree | 4ac241124efbbd1ce75b32a2f33169c8680f6599 /gold/version.cc | |
parent | 304fe2552d6e0821e8fdb7575f8e7ba6607a076d (diff) | |
download | gdb-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.cc | 8 |
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. |