aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2004-05-07 15:21:27 +0000
committerJoern Rennecke <joern.rennecke@embecosm.com>2004-05-07 15:21:27 +0000
commit5f9b892013f7eacc96a3915f14005c59b5a1d3c5 (patch)
treee23b013534ce02f7bb1ac7f3d008f4f1deb4a0e2
parent26d2d8a262f6d6248ec4a76dbcca532a42af2130 (diff)
downloadgdb-5f9b892013f7eacc96a3915f14005c59b5a1d3c5.zip
gdb-5f9b892013f7eacc96a3915f14005c59b5a1d3c5.tar.gz
gdb-5f9b892013f7eacc96a3915f14005c59b5a1d3c5.tar.bz2
* ldlang.c (print_padding_statement): Cast size_t to bfd_vma
before printing it with %W.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ldlang.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 20222ff..9b79668 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
+
+ * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
+ before printing it with %W.
+
2004-05-07 Brian Ford <ford@vss.fsi.com>
DJ Delorie <dj@redhat.com>
diff --git a/ld/ldlang.c b/ld/ldlang.c
index d2b5fed..40feeb3 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -2490,7 +2490,7 @@ print_padding_statement (lang_padding_statement_type *s)
addr = s->output_offset;
if (s->output_section != NULL)
addr += s->output_section->vma;
- minfo ("0x%V %W ", addr, s->size);
+ minfo ("0x%V %W ", addr, (bfd_vma) s->size);
if (s->fill->size != 0)
{