From 7dd61ce72a17979656ebd1897be2af86362744c0 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 23 Feb 2006 22:23:26 +0000 Subject: [PATCH] 2006-02-23 H.J. Lu * ld-pie/weakundef-data.c: Fix the typo. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-pie/weakundef-data.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 2d55835d465..882fc65cebb 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2006-02-23 H.J. Lu + + * ld-pie/weakundef-data.c: Fix the typo. + 2006-02-22 H.J. Lu * ld-pie/pie.c: New file. diff --git a/ld/testsuite/ld-pie/weakundef-data.c b/ld/testsuite/ld-pie/weakundef-data.c index 0d0f162e4c5..af411bccbfd 100644 --- a/ld/testsuite/ld-pie/weakundef-data.c +++ b/ld/testsuite/ld-pie/weakundef-data.c @@ -2,8 +2,8 @@ #pragma weak undef_data -extern int undef_data (void); -int (*ptr_to_data)(void) = undef_data; +extern int undef_data; +int *ptr_to_data = &undef_data; int main (void) -- 2.30.2