aboutsummaryrefslogtreecommitdiff
path: root/gold/object.h
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2013-05-21 20:56:13 +0000
committerCary Coutant <ccoutant@google.com>2013-05-21 20:56:13 +0000
commit60e8b3fccd5e6748c420c7ae5d78917af26345fc (patch)
treef3efcbbf25898d69c97a46c32e8119df8dd82959 /gold/object.h
parentc8c735b96348ead98a7ddeb25a5eed4912586396 (diff)
downloadgdb-60e8b3fccd5e6748c420c7ae5d78917af26345fc.zip
gdb-60e8b3fccd5e6748c420c7ae5d78917af26345fc.tar.gz
gdb-60e8b3fccd5e6748c420c7ae5d78917af26345fc.tar.bz2
gold/
* object.cc (Sized_relobj_file::get_symbol_location_info): Set type of enclosing symbol. (Relocate_info::location): Check symbol type when describing symbol. * object.h (Symbol_location_info): Remove unused line_number; add enclosing_symbol_type. * testsuite/debug_msg.sh: Adjust expected output.
Diffstat (limited to 'gold/object.h')
-rw-r--r--gold/object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/object.h b/gold/object.h
index a2baecc..c17c13d 100644
--- a/gold/object.h
+++ b/gold/object.h
@@ -1,6 +1,6 @@
// object.h -- support for an object file for linking in gold -*- C++ -*-
-// Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012
+// Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
// Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
@@ -103,7 +103,7 @@ struct Symbol_location_info
{
std::string source_file;
std::string enclosing_symbol_name;
- int line_number;
+ elfcpp::STT enclosing_symbol_type;
};
// Data about a single relocation section. This is read in