From 8b0eebb0b03407c3a304222ca63d7a94a7802a1b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 4 Oct 2002 07:40:42 +0000 Subject: [PATCH] 2002-10-03 H.J. Lu * ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc 3.x. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-elfvers/vers21.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 49f516d9274..f95d0a859b1 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-10-03 H.J. Lu + + * ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc + 3.x. + 2002-10-03 Chris Demetriou * 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 23382af1509..2879c7f0e3d 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; -- 2.30.2