diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2006-02-23 22:23:26 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2006-02-23 22:23:26 +0000 |
commit | 7dd61ce72a17979656ebd1897be2af86362744c0 (patch) | |
tree | 797a21a67deb98cd77625427d09f759b5d3da6d0 | |
parent | 59cf82fe74db7b9fdf47bcf089a4fd301b067ea5 (diff) | |
download | binutils-7dd61ce72a17979656ebd1897be2af86362744c0.zip binutils-7dd61ce72a17979656ebd1897be2af86362744c0.tar.gz binutils-7dd61ce72a17979656ebd1897be2af86362744c0.tar.bz2 |
2006-02-23 H.J. Lu <hongjiu.lu@intel.com>
* ld-pie/weakundef-data.c: Fix the typo.
-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) |