aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2004-03-01 17:33:36 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2004-03-01 17:33:36 +0000
commitcc2f008e43252e8b1330fa37e7ffc5baa0002d69 (patch)
tree1a70dc87cc7ac2de3762cec5e8ba464e6e8af564 /ld
parent676a64f422161303f6d57fca0d244400a1cdd576 (diff)
downloadgdb-cc2f008e43252e8b1330fa37e7ffc5baa0002d69.zip
gdb-cc2f008e43252e8b1330fa37e7ffc5baa0002d69.tar.gz
gdb-cc2f008e43252e8b1330fa37e7ffc5baa0002d69.tar.bz2
* ld.texinfo (Options): Fix example for --wrap.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ld.texinfo4
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f777254..81ebfa1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-01 Andreas Schwab <schwab@suse.de>
+
+ * ld.texinfo (Options): Fix example for --wrap.
+
2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
* pe-dll.c (fill_edata): Check that exported_symbol_sections is
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 55f861e..9710f4f 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1702,9 +1702,9 @@ Here is a trivial example:
@smallexample
void *
-__wrap_malloc (int c)
+__wrap_malloc (size_t c)
@{
- printf ("malloc called with %ld\n", c);
+ printf ("malloc called with %zu\n", c);
return __real_malloc (c);
@}
@end smallexample