]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 2d55835d4652cc75d439662fa8e66ded61cd22a3..882fc65cebbbb2fc4e125706466cc15f65897e1d 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 0d0f162e4c5d9f72cc4e1274b38265d780058e95..af411bccbfdb37e17e228f3701a7a6e3e63f388e 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)