aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/ver_test.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-07-18 07:03:27 +0000
committerIan Lance Taylor <ian@airs.com>2008-07-18 07:03:27 +0000
commita18f591e924ea296bbf8f7fbdff40cbb07e98b21 (patch)
treedfe2cb1fa941e891d819cb07d57859093fde7159 /gold/testsuite/ver_test.h
parentc6e3f6ed8e0a050b7b49c1a82102eae736f595fd (diff)
downloadgdb-a18f591e924ea296bbf8f7fbdff40cbb07e98b21.zip
gdb-a18f591e924ea296bbf8f7fbdff40cbb07e98b21.tar.gz
gdb-a18f591e924ea296bbf8f7fbdff40cbb07e98b21.tar.bz2
* symtab.cc (Symbol_table::add_from_object): Rewrite the case
where we see NAME/NULL and NAME/VERSION as separate symbols. * testsuite/ver_test_main.cc (main): Call t4. (t4, t4_2a): Define. * testsuite/ver_test_2.cc (t4_2): Define. * testsuite/ver_test_2.script: Put t4_2a in VER2. * testsuite/ver_test_4.cc (t4_2a): Define. * testsuite/ver_test_4.script: Put t4_2a in VER2. * testsuite/ver_test.h (t4, t4_2, t4_2a): Declare.
Diffstat (limited to 'gold/testsuite/ver_test.h')
-rw-r--r--gold/testsuite/ver_test.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/testsuite/ver_test.h b/gold/testsuite/ver_test.h
index 48dbf41..0b1aea8 100644
--- a/gold/testsuite/ver_test.h
+++ b/gold/testsuite/ver_test.h
@@ -30,11 +30,14 @@
extern bool t1();
extern bool t2();
extern bool t3();
+extern bool t4();
extern "C" {
extern int t1_2();
extern int t2_2();
extern int t3_2();
+extern int t4_2();
+extern int t4_2a();
}