diff options
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | 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 2d55835..882fc65 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2006-02-23 H.J. Lu <hongjiu.lu@intel.com> + + * ld-pie/weakundef-data.c: Fix the typo. + 2006-02-22 H.J. Lu <hongjiu.lu@intel.com> * 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 0d0f162..af411bc 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) |