aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elfvers/vers21.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 49f516d..f95d0a8 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-03 H.J. Lu <hjl@gnu.org>
+
+ * ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc
+ 3.x.
+
2002-10-03 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be
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;