aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-10-11 21:59:46 +0000
committerRoland McGrath <roland@gnu.org>2013-10-11 21:59:46 +0000
commit52f66a2c4d1200cac1e57c1a38f95c8485e9a72d (patch)
treec004f308feb97899fbb3d898712c9bc3c22ad77f /gold
parent2b64b5511a0d0814eb3938cff986edf493a7b362 (diff)
downloadgdb-52f66a2c4d1200cac1e57c1a38f95c8485e9a72d.zip
gdb-52f66a2c4d1200cac1e57c1a38f95c8485e9a72d.tar.gz
gdb-52f66a2c4d1200cac1e57c1a38f95c8485e9a72d.tar.bz2
gold/
* testsuite/undef_symbol.cc (Foo::get_a): New method.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog2
-rw-r--r--gold/testsuite/undef_symbol.cc4
2 files changed, 5 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index a44313b..d960201 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,7 @@
2013-10-11 Roland McGrath <mcgrathr@google.com>
+ * testsuite/undef_symbol.cc (Foo::get_a): New method.
+
* configure.ac (MERGE_CONSTANTS_FLAG): New check.
* configure: Regenerate.
* Makefile.in: Regenerate.
diff --git a/gold/testsuite/undef_symbol.cc b/gold/testsuite/undef_symbol.cc
index 75f17d3..e35b2b2 100644
--- a/gold/testsuite/undef_symbol.cc
+++ b/gold/testsuite/undef_symbol.cc
@@ -1,6 +1,6 @@
// undef_symbol.cc -- a test case for undefined references
-// Copyright 2007, 2008 Free Software Foundation, Inc.
+// Copyright 2007, 2008, 2013 Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
@@ -31,6 +31,8 @@ class Foo
Foo()
: a_(a)
{ }
+ int get_a()
+ { return a_; }
private:
int a_;
};