]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gold/symtab.h
* symtab.cc (Symbol::versioned_name): New function.
[thirdparty/binutils-gdb.git] / gold / symtab.h
index 51c31d52d6c5b6cd072c5aad44507f44b19c125e..9ba9c08fc3887ee21e78e5ecf3e5e8d94ea9c505 100644 (file)
@@ -1,6 +1,6 @@
 // symtab.h -- the gold symbol table   -*- C++ -*-
 
-// Copyright 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+// Copyright 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -136,6 +136,10 @@ class Symbol
   set_is_default()
   { this->is_def_ = true; }
 
+  // Return the symbol's name as name@version (or name@@version).
+  std::string
+  versioned_name() const;
+
   // Return the symbol source.
   Source
   source() const