aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-10-04 07:40:42 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-10-04 07:40:42 +0000
commit8b0eebb0b03407c3a304222ca63d7a94a7802a1b (patch)
tree1131054d425de92240c3ff83d82e7c617aca3dc3 /ld/testsuite/ld-elfvers
parent7248f48e57794f11383d2b5b0b1bbf716bcf93fa (diff)
downloadgdb-8b0eebb0b03407c3a304222ca63d7a94a7802a1b.zip
gdb-8b0eebb0b03407c3a304222ca63d7a94a7802a1b.tar.gz
gdb-8b0eebb0b03407c3a304222ca63d7a94a7802a1b.tar.bz2
2002-10-03 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc 3.x.
Diffstat (limited to 'ld/testsuite/ld-elfvers')
-rw-r--r--ld/testsuite/ld-elfvers/vers21.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elfvers/vers21.c b/ld/testsuite/ld-elfvers/vers21.c
index 23382af..2879c7f 100644
--- a/ld/testsuite/ld-elfvers/vers21.c
+++ b/ld/testsuite/ld-elfvers/vers21.c
@@ -27,6 +27,6 @@ _old_foo ()
return foo ();
}
-int _old_foobar = 0;
+int _old_foobar = -1;
int foobar = 1;