2006-02-23 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 23 Feb 2006 22:23:26 +0000 (22:23 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 23 Feb 2006 22:23:26 +0000 (22:23 +0000)
* ld-pie/weakundef-data.c: Fix the typo.

ld/testsuite/ChangeLog
ld/testsuite/ld-pie/weakundef-data.c

index 2d55835..882fc65 100644 (file)
@@ -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.
index 0d0f162..af411bc 100644 (file)
@@ -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)